summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp
blob: 184253e966df36a1bd634db76e11492697fe29fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 's_test',
      'type': 'executable',
      'rules': [
        {
          # Make sure this rule name doesn't cause an invalid ninja file.
          'rule_name': 'rule name with odd characters ()/',
          'extension': 'S',
          'outputs': ['outfile'],
          'msvs_cygwin_shell': 0,
          'msvs_quote_cmd': 0,
          'action': ['python', 'script.py', '<(RULE_INPUT_PATH)', 'outfile'],
        },
      ],
      'sources': [
        'blah.S',
        'hello.cc',
      ],
    },
  ],
}