Home | History | Annotate | Download | only in src
      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': 'program',
      9       'type': 'executable',
     10       'sources': [
     11         'program.c',
     12         'override_asm.asm',
     13       ],
     14       'rules': [
     15       {
     16         # Test that if there's a specific .asm rule, it overrides the
     17         # built in one on Windows.
     18         'rule_name': 'assembler',
     19         'msvs_cygwin_shell': 0,
     20         'extension': 'asm',
     21         'inputs': [
     22           'as.bat',
     23         ],
     24         'outputs': [
     25           'output.obj',
     26         ],
     27         'action': ['as.bat', 'lib1.c', '<(_outputs)'],
     28         'message': 'Building assembly file <(RULE_INPUT_PATH)',
     29         'process_outputs_as_sources': 1,
     30         },
     31       ],
     32     },
     33   ],
     34 }
     35