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_batch_depth', 9 'type': 'none', 10 'variables': { 11 # Taken from native_client/build/common.gypi. Seems unintentional (a 12 # string in a 1 element list)? But since it works on other generators, 13 # I guess it should work here too. 14 'filepath': [ 'call <(DEPTH)/../../../go.bat' ], 15 }, 16 'rules': [ 17 { 18 'rule_name': 'build_with_batch4', 19 'msvs_cygwin_shell': 0, 20 'extension': 'S', 21 'outputs': ['output4.obj'], 22 'action': ['<@(filepath)', '<(RULE_INPUT_PATH)', 'output4.obj'], 23 },], 24 'sources': ['<(DEPTH)\\..\\..\\..\\a.S'], 25 }, 26 ] 27 } 28