Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env bash | |
| 2 # | |
| 3 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | |
| 4 # for details. All rights reserved. Use of this source code is governed by a | |
| 5 # BSD-style license that can be found in the LICENSE file. | |
| 6 | |
| 7 # Downloads the ia32 and x64 Debian wheezy sysroot that chromium uses, | |
| 8 # Only tested and used on Ubuntu trusty linux. Used to keep glibc version low. | |
| 9 # Creates directories called "build" and "tools" in the current directory. | |
| 10 # After running this, source set_ia32_sysroot.sh or set_x64_sysroot.sh, in | |
| 11 # the same working directory, to set the compilation environment variables. | |
| 12 # Sourcing a script means running the script with a '.', so that it runs | |
| 13 # in the current shell, not a subshell, as in: | |
| 14 # . sdk/tools/set_ia32_sysroot.sh | |
| 15 | |
| 16 git clone https://chromium.googlesource.com/chromium/src/build | |
|
Søren Gjesse
2016/08/10 13:44:00
Do we want to pin this at a specific Git hash, to
Bill Hesse
2016/08/10 14:04:26
I don't think so. I think we should expect change
| |
| 17 mkdir tools | |
| 18 cd tools | |
| 19 git clone https://chromium.googlesource.com/external/gyp | |
| 20 cd .. | |
| 21 | |
| 22 build/linux/sysroot_scripts/install-sysroot.py --arch i386 | |
| 23 build/linux/sysroot_scripts/install-sysroot.py --arch amd64 | |
| OLD | NEW |