sanitize-rule-names.gyp 705 B

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