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 'rules': [ 9 { 10 'rule_name': 'assembler (gnu-compatible)', 11 'msvs_cygwin_shell': 0, 12 'msvs_quote_cmd': 0, 13 'extension': 'S', 14 'inputs': [ 15 'as.bat', 16 '$(InputPath)' 17 ], 18 'outputs': [ 19 '$(IntDir)/$(InputName).obj', 20 ], 21 'action': [ 22 'as.bat', 23 '$(InputPath)', 24 '$(IntDir)/$(InputName).obj', 25 ], 26 'message': 'Building assembly language file $(InputPath)', 27 'process_outputs_as_sources': 1, 28 }, 29 ], 30 'target_name': 'test', 31 'type': 'static_library', 32 'sources': [ 'an_asm.S' ], 33 }, 34 ], 35 } 36