Hi Michael, All patches to support Chrome on arm64 and armhf have been upstreamed. The attached patch against debian packages build and runs chromium on my test machines (samsung chromebook for armhf and Dragonboard 410c).
I understand if you feel the arm builds are a burden of extra work for you. The churn of code in chromium and the rapidly rolling security updates certainly made it challenge for me to keep building up-to-date arm packages manually. So I'm certainly ready to stay around to watch and fix any arm-related issues the chromium debian packages might encounter. Riku
diff -Nru chromium-browser-53.0.2785.143/debian/control chromium-browser-53.0.2785.143/debian/control --- chromium-browser-53.0.2785.143/debian/control 2016-09-06 02:31:04.000000000 +0000 +++ chromium-browser-53.0.2785.143/debian/control 2016-10-04 08:50:15.000000000 +0000 @@ -86,7 +86,7 @@ Standards-Version: 3.9.8 Package: chromium -Architecture: i386 amd64 +Architecture: i386 amd64 armhf arm64 Built-Using: ${Built-Using} Depends: ${misc:Depends}, @@ -125,7 +125,7 @@ ro, ru, sk, sl, sr, sv, sw, ta, te, th, tr, uk, vi, zh-CN, zh-TW Package: chromedriver -Architecture: i386 amd64 +Architecture: i386 amd64 armhf arm64 Depends: ${misc:Depends}, ${shlibs:Depends}, diff -Nru chromium-browser-53.0.2785.143/debian/rules chromium-browser-53.0.2785.143/debian/rules --- chromium-browser-53.0.2785.143/debian/rules 2016-09-11 15:11:19.000000000 +0000 +++ chromium-browser-53.0.2785.143/debian/rules 2016-10-04 08:50:15.000000000 +0000 @@ -5,6 +5,7 @@ # enable all build hardening flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) # linker flags to avoid memory allocation issues on i386 export LDFLAGS+=-Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--hash-size=7919 @@ -23,6 +24,22 @@ # treat all warnings as errors defines=werror= +ifeq (arm64,$(DEB_HOST_ARCH)) +defines += \ + target_arch=arm64 +endif + +ifeq (armhf,$(DEB_HOST_ARCH)) +defines += \ + arm_neon=0 \ + arm_use_neon=0 \ + v8_use_arm_eabi_hardfloat=true \ + arm_float_abi=hard \ + arm_thumb=1 \ + armv7=1 \ + arm_version=7 +endif + # build with gcc instead of clang defines+=clang=0 defines+=clang_use_chrome_plugins= diff -Nru chromium-browser-53.0.2785.143/debian/scripts/chromium chromium-browser-53.0.2785.143/debian/scripts/chromium --- chromium-browser-53.0.2785.143/debian/scripts/chromium 2016-09-06 05:01:31.000000000 +0000 +++ chromium-browser-53.0.2785.143/debian/scripts/chromium 2016-10-04 08:50:15.000000000 +0000 @@ -30,11 +30,15 @@ For more information, please read and possibly provide input to their bug tracking system at http://crbug.com/348761." -# Check whether this system supports sse2 -if test -z "$(grep sse2 /proc/cpuinfo)"; then - xmessage "$nosse2" - exit 1 -fi +case `uname -m` in + i386|i586|i686|x86_64) + # Check whether this system supports sse2 + if ! grep -q sse2 /proc/cpuinfo; then + xmessage "$nosse2" + exit 1 + fi + ;; +esac # Source additional settings for file in /etc/chromium.d/*; do
signature.asc
Description: Digital signature