naiveproxy/tools/gyp/test/win/vs-macros/input-output-macros.gyp
2018-12-09 21:59:24 -05:00

33 lines
781 B
Python

# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'test_expansions',
'msvs_cygwin_shell': 0,
'type': 'none',
'rules': [
{
'rule_name': 'generate_file',
'extension': 'blah',
'inputs': [
'do_stuff.py',
],
'outputs': [
'$(OutDir)\\<(RULE_INPUT_NAME).something',
],
'action': ['python',
'do_stuff.py',
'<(RULE_INPUT_PATH)',
'$(OutDir)\\<(RULE_INPUT_NAME).something',],
},
],
'sources': [
'stuff.blah',
],
},
]
}