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': 'assembler (gnu-compatible)', 14 'msvs_cygwin_shell': 0, 15 'msvs_quote_cmd': 0, 16 'extension': 'S', 17 'inputs': [ 18 'as.py', 19 ], 20 'outputs': [ 21 '$(IntDir)/$(InputName).obj', 22 ], 23 'action': 24 ['python', 25 'as.py', 26 '-a', '$(PlatformName)', 27 '-o', '$(IntDir)/$(InputName).obj', 28 '-p', '<(DEPTH)', 29 '$(InputPath)'], 30 'message': 'Building assembly language file $(InputPath)', 31 'process_outputs_as_sources': 1, 32 }, 33 ], 34 'sources': [ 35 'input.S', 36 ], 37 }, 38 ] 39 } 40