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

Unified Diff: test/same-target-name-different-directory/src/touch.py

Issue 10447063: Fix make and ninja backends to sensibly handle duplicate target names in different directories (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: Created 8 years, 7 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
Index: test/same-target-name-different-directory/src/touch.py
diff --git a/test/same-target-name-different-directory/src/touch.py b/test/same-target-name-different-directory/src/touch.py
new file mode 100644
index 0000000000000000000000000000000000000000..4247dac6e996bdc7bbf7ab206753c55687ebe9fc
--- /dev/null
+++ b/test/same-target-name-different-directory/src/touch.py
@@ -0,0 +1,15 @@
+#!/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 shlex
+import sys
+
+# Trim quotes
+sys.argv[1], = shlex.split(sys.argv[1])
+
+f = open(sys.argv[1], 'w+')
+f.write('Hello from touch.py\n')
+f.close()
« pylib/gyp/generator/ninja.py ('K') | « test/same-target-name-different-directory/src/subdirs.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698