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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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