Index: test/msvs/external_builder/msbuild_rule.py |
diff --git a/test/self-dependency/self_dependency.gyp b/test/msvs/external_builder/msbuild_rule.py |
similarity index 53% |
copy from test/self-dependency/self_dependency.gyp |
copy to test/msvs/external_builder/msbuild_rule.py |
index 0ca76c669b6a686bf686c5b9a4be5e9ebc2b2c41..0d6e315775f7644da9f39466ae4f51a525ebca6b 100644 |
--- a/test/self-dependency/self_dependency.gyp |
+++ b/test/msvs/external_builder/msbuild_rule.py |
@@ -2,14 +2,10 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-{ |
- 'includes': [ |
- 'common.gypi', |
- ], |
- 'targets': [ |
- { |
- 'target_name': 'a', |
- 'type': 'none', |
- }, |
- ], |
-} |
+import sys, os.path |
+ |
+sys.argv[1] = os.path.basename(sys.argv[1]) |
+ |
+with open('msbuild_rule.out', 'w') as f: |
+ f.write(' '.join(sys.argv)) |
+ |