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