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

Side by Side Diff: tools/download_chromium_sysroot.sh

Issue 2230083005: Add tools to build Dart with Chromium's sysroot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/set_ia32_sysroot.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « no previous file | tools/set_ia32_sysroot.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698