commit | 556200fff78b4278f15a2d0bf9bd6ddce926a873 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 06 23:28:32 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 06 23:28:32 2011 |
tree | 69600b1799f94b3287f3aed989db65ce25f964ba | |
parent | b5c911a01f9183799cca2b0d8a17732294597086 [diff] [blame] |
Don't download the NaCl toolchain if GYP_DEFINES contains disable_nacl=1 BUG=none TEST=manual Review URL: http://codereview.chromium.org/8820022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113279 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/download_nacl_toolchains.py b/build/download_nacl_toolchains.py index 580f410..46c7879 100755 --- a/build/download_nacl_toolchains.py +++ b/build/download_nacl_toolchains.py
@@ -10,6 +10,9 @@ def Main(args): + # Exit early if disable_nacl=1. + if 'disable_nacl=1' in os.environ.get('GYP_DEFINES', ''): + return 0 # Handle chromeos=1 specially (until its building its own toolchain). if 'chromeos=1' in os.environ.get('GYP_DEFINES', ''): args = [