Home | History | Annotate | Download | only in vs-macros
      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.
      4 
      5 {
      6  'targets': [
      7     {
      8       'target_name': 'test_expansions',
      9       'msvs_cygwin_shell': 0,
     10       'type': 'none',
     11       'rules': [
     12         {
     13           'rule_name': 'generate_file',
     14           'extension': 'blah',
     15           'inputs': [
     16             'do_stuff.py',
     17           ],
     18           'outputs': [
     19             '$(OutDir)\\<(RULE_INPUT_NAME).something',
     20           ],
     21           'action': ['python',
     22                      'do_stuff.py',
     23                      '<(RULE_INPUT_PATH)',
     24                      '$(OutDir)\\<(RULE_INPUT_NAME).something',],
     25         },
     26       ],
     27       'sources': [
     28         'stuff.blah',
     29       ],
     30     },
     31   ]
     32 }
     33