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

Unified Diff: build/linux/sysroot_scripts/sysroot-creator-precise.sh

Issue 2567123002: Sysroot: Add build_and_upload.py (Closed)
Patch Set: Return non-zero exit code if any sysroot builds failed Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: build/linux/sysroot_scripts/sysroot-creator-precise.sh
diff --git a/build/linux/sysroot_scripts/sysroot-creator-precise.sh b/build/linux/sysroot_scripts/sysroot-creator-precise.sh
index 0556b595a226fa4ceedb0eef697cf0089e27abf1..4aab5db389c229f427c5ba6487dd8b6d34316341 100755
--- a/build/linux/sysroot_scripts/sysroot-creator-precise.sh
+++ b/build/linux/sysroot_scripts/sysroot-creator-precise.sh
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-SCRIPT_DIR=$(dirname $0)
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DISTRO=ubuntu
DIST=precise
@@ -16,8 +16,10 @@ APT_REPO_ARM64=http://ports.ubuntu.com
KEYRING_FILE=/usr/share/keyrings/ubuntu-archive-keyring.gpg
HAS_ARCH_AMD64=1
-HAS_ARCH_I386=1
-HAS_ARCH_ARM=1
+
+# Precise supports these architectures but they are not needed by chrome.
+# HAS_ARCH_I386=1
+# HAS_ARCH_ARM=1
# Sysroot packages: these are the packages needed to build chrome.
# NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated
@@ -202,4 +204,4 @@ DEBIAN_PACKAGES="\
DEBIAN_PACKAGES_X86="libquadmath0"
DEBIAN_PACKAGES_ARM="libdrm-omap1"
-. ${SCRIPT_DIR}/sysroot-creator.sh
+. "${SCRIPT_DIR}/sysroot-creator.sh"
« no previous file with comments | « build/linux/sysroot_scripts/sysroot-creator-jessie.sh ('k') | build/linux/sysroot_scripts/sysroot-creator-test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698