Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: test/msvs/external_builder/msbuild_rule.py

Issue 13867004: Integrate ninja build with Visual Studio (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: with review comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/msvs/external_builder/msbuild_action.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
+
« no previous file with comments | « test/msvs/external_builder/msbuild_action.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698