diff options
Diffstat (limited to 'deps/gyp/test/sanitize-rule-names')
-rw-r--r-- | deps/gyp/test/sanitize-rule-names/blah.S | 0 | ||||
-rw-r--r-- | deps/gyp/test/sanitize-rule-names/gyptest-sanitize-rule-names.py | 17 | ||||
-rw-r--r-- | deps/gyp/test/sanitize-rule-names/hello.cc | 7 | ||||
-rw-r--r-- | deps/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp | 27 | ||||
-rw-r--r-- | deps/gyp/test/sanitize-rule-names/script.py | 10 |
5 files changed, 0 insertions, 61 deletions
diff --git a/deps/gyp/test/sanitize-rule-names/blah.S b/deps/gyp/test/sanitize-rule-names/blah.S deleted file mode 100644 index e69de29bb2..0000000000 --- a/deps/gyp/test/sanitize-rule-names/blah.S +++ /dev/null diff --git a/deps/gyp/test/sanitize-rule-names/gyptest-sanitize-rule-names.py b/deps/gyp/test/sanitize-rule-names/gyptest-sanitize-rule-names.py deleted file mode 100644 index 968a0ce5ce..0000000000 --- a/deps/gyp/test/sanitize-rule-names/gyptest-sanitize-rule-names.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env python - -# 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. - -""" -Make sure rule names with non-"normal" characters in them don't cause -broken build files. This test was originally causing broken .ninja files. -""" - -import TestGyp - -test = TestGyp.TestGyp() -test.run_gyp('sanitize-rule-names.gyp') -test.build('sanitize-rule-names.gyp', test.ALL) -test.pass_test() diff --git a/deps/gyp/test/sanitize-rule-names/hello.cc b/deps/gyp/test/sanitize-rule-names/hello.cc deleted file mode 100644 index 1711567ef5..0000000000 --- a/deps/gyp/test/sanitize-rule-names/hello.cc +++ /dev/null @@ -1,7 +0,0 @@ -// 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. - -int main() { - return 0; -} diff --git a/deps/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp b/deps/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp deleted file mode 100644 index 184253e966..0000000000 --- a/deps/gyp/test/sanitize-rule-names/sanitize-rule-names.gyp +++ /dev/null @@ -1,27 +0,0 @@ -# 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', - ], - }, - ], -} diff --git a/deps/gyp/test/sanitize-rule-names/script.py b/deps/gyp/test/sanitize-rule-names/script.py deleted file mode 100644 index ae2efa1df4..0000000000 --- a/deps/gyp/test/sanitize-rule-names/script.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -# 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. - -import shutil -import sys - -shutil.copyfile(*sys.argv[1:]) |