add wrapper to make GYP_PARALLEL=1 work for build\gyp_chromium
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. R=dmazzoni@chromium.org Review URL: https://codereview.chromium.org/11066021 git-svn-id: http://src.chromium.org/svn/trunk/src/build@160151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
b5f1cf40a7
Коммит
b0681933a5
|
@ -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')
|
Загрузка…
Ссылка в новой задаче