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 |