media/webrtc/trunk/tools/gyp/test/rules-variables/src/variables.gyp

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) 2011 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   'target_defaults': {
     7     # This test shouldn't ever actually need to execute its rules: there's no
     8     # command line that generates any output anyway. However, there's something
     9     # slightly broken in either ninja or (maybe more likely?) on the win32 VM
    10     # gypbots that breaks dependency checking and causes this rule to want to
    11     # run. When it does run, the cygwin path is wrong, so the do-nothing step
    12     # fails.
    13     # TODO: Investigate and fix whatever's actually failing and remove this.
    14     'msvs_cygwin_dirs': ['../../../../../../<(DEPTH)/third_party/cygwin'],
    15   },
    16   'targets': [
    17     {
    18       'target_name': 'all_rule_variables',
    19       'type': 'executable',
    20       'sources': [
    21         'subdir/test.c',
    22       ],
    23       'rules': [
    24         {
    25           'rule_name': 'rule_variable',
    26           'extension': 'c',
    27           'outputs': [
    28             '<(RULE_INPUT_ROOT).input_root.c',
    29             '<(RULE_INPUT_DIRNAME)/input_dirname.c',
    30             'input_path/<(RULE_INPUT_PATH)',
    31             'input_ext<(RULE_INPUT_EXT)',
    32             'input_name/<(RULE_INPUT_NAME)',
    33           ],
    34           'action': [],
    35           'process_outputs_as_sources': 1,
    36         },
    37       ],
    38     },
    39   ],
    40 }

mercurial