blob: 75b3744e15dec5366d4b4bebbcdbe1dce6eb7d91 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Downloads the ia32 and x64 Debian wheezy sysroot that chromium uses,
# Only tested and used on Ubuntu trusty linux. Used to keep glibc version low.
# Creates directories called "build" and "tools" in the current directory.
# After running this, source or, in
# the same working directory, to set the compilation environment variables.
# Sourcing a script means running the script with a '.', so that it runs
# in the current shell, not a subshell, as in:
# . sdk/tools/
git clone
mkdir tools
cd tools
git clone
cd ..
build/linux/sysroot_scripts/ --arch i386
build/linux/sysroot_scripts/ --arch amd64