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

Unified Diff: build/install-build-deps.sh

Issue 2553853002: install-build-deps: support debian armhf packages (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/install-build-deps.sh
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index cb37eb6dc70085fbc1c03a1717802b1fdeb34e20..9b9e6538143304870347778047614a4764ca6c77 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -152,9 +152,18 @@ fi
lib32_list="linux-libc-dev:i386"
# arm cross toolchain packages needed to build chrome on armhf
-arm_list="libc6-dev-armhf-cross
- linux-libc-dev-armhf-cross
- g++-arm-linux-gnueabihf"
+case $lsb_release in
+ jessie)
Dirk Pranke 2016/12/06 02:21:20 I think it might be more conventional to use "jess
Tom (Use chromium acct) 2016/12/07 18:29:54 Done.
+ arm_list="libc6-dev:armhf
+ linux-libc-dev:armhf
+ g++:armhf"
+ ;;
+ *)
+ arm_list="libc6-dev-armhf-cross
+ linux-libc-dev-armhf-cross
+ g++-arm-linux-gnueabihf"
+ ;;
+esac
# Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056
case $lsb_release in
@@ -404,6 +413,9 @@ if test "$do_inst_lib32" = "1" || test "$do_inst_nacl" = "1"; then
if [[ ! $lsb_release =~ (precise) ]]; then
sudo dpkg --add-architecture i386
fi
+ if [[ $lsb_release = jessie ]]; then
+ sudo dpkg --add-architecture armhf
+ fi
fi
sudo apt-get update
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698