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

Unified Diff: build/gyp_chromium.py

Issue 11066021: add wrapper to make GYP_PARALLEL=1 work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium.py
diff --git a/build/gyp_chromium.py b/build/gyp_chromium.py
new file mode 100644
index 0000000000000000000000000000000000000000..29bac98c9253f29d0ad7af25d7f29bc9227c3623
--- /dev/null
+++ b/build/gyp_chromium.py
@@ -0,0 +1,9 @@
+# Copyright 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This is a workaround for multiprocessing on Windows. Importing in Python on
+# Windows doesn't search for imports that don't end in .py (and aren't
+# directories with an __init__.py). So, add this wrapper to avoid having
+# people change their command line to add a .py when running gyp_chromium.
+__import__('gyp_chromium')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698