media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-global-settings.gyp.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 # Copyright (c) 2012 Google Inc. All rights reserved.
     2 # Use of this source code is governed by a BSD-style license that can be
     3 # found in the LICENSE file.
     5 {
     6   # PYTHON and PWD are replaced by the test code before this
     7   # gyp file runs
     8   'make_global_settings': [
     9     ['CC', r'$PYTHON $PWD/my_cc.py FOO'],
    10     ['CXX', r'$PYTHON $PWD/my_cxx.py FOO'],
    11     ['CC.host', r'$PYTHON $PWD/my_cc.py BAR'],
    12     ['CXX.host', r'$PYTHON $PWD/my_cxx.py BAR'],
    14     ['LD', r'$PYTHON $PWD/my_ld.py FOO_LINK'],
    15     ['LD.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'],
    16     ['LINK', r'$PYTHON $PWD/my_ld.py FOO_LINK'],
    17     ['LINK.host', r'$PYTHON $PWD/my_ld.py BAR_LINK'],
    18   ],
    20   # The above global settings should mean that
    21   # that these targets are built using the fake
    22   # toolchain above.
    23   'targets': [
    24     {
    25       'toolset': '$TOOLSET',
    26       'target_name': 'hello',
    27       'type': 'executable',
    28       'sources': [
    29         'test.c',
    30         'cxxtest.cc',
    31       ],
    32     },
    33   ],
    34 }

mercurial