Chromium Code Reviews| Index: build/download_nacl_toolchains.py |
| =================================================================== |
| --- build/download_nacl_toolchains.py (revision 98186) |
| +++ build/download_nacl_toolchains.py (working copy) |
| @@ -10,6 +10,17 @@ |
| def Main(): |
| + # Handle chromeos=1 specially (until its building its own toolchain). |
|
noelallen_use_chromium
2011/08/26 21:05:35
Wow, that is one ugly hack. :(
I assume the real
|
| + if 'chromeos=1' in os.environ.get('GYP_DEFINES', ''): |
| + sys.argv = [ |
| + sys.argv[0], |
| + '--nacl-newlib-only', |
| + '--file-hash', 'linux_x86_newlib', |
| + '8337d5ec327d857a49b500723ec9b792f4973abc', |
| + '--base-url', ('https://commondatastorage.googleapis.com/' |
| + 'nativeclient-archive2/special_chromeos'), |
| + '--x86-version', '6561', |
| + ] |
| script_dir = os.path.dirname(os.path.abspath(__file__)) |
| src_dir = os.path.dirname(script_dir) |
| nacl_dir = os.path.join(src_dir, 'native_client') |