Home | History | Annotate | Download | only in sanitize-rule-names
      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': 's_test',
      9       'type': 'executable',
     10       'rules': [
     11         {
     12           # Make sure this rule name doesn't cause an invalid ninja file.
     13           'rule_name': 'rule name with odd characters ()/',
     14           'extension': 'S',
     15           'outputs': ['outfile'],
     16           'msvs_cygwin_shell': 0,
     17           'msvs_quote_cmd': 0,
     18           'action': ['python', 'script.py', '<(RULE_INPUT_PATH)', 'outfile'],
     19         },
     20       ],
     21       'sources': [
     22         'blah.S',
     23         'hello.cc',
     24       ],
     25     },
     26   ],
     27 }
     28