Skip to content

Commit

Permalink
Linux: add the arm for build.sh
Browse files Browse the repository at this point in the history
As build the linux with arm for chrome, there is an ERROR
for building.

Log:
...
FAILED: chromium-browser-unstable_65.0.3317.0-1_arm.deb
python ../../build/gn_run_binary.py installer/debian/build.sh -a arm -b
. -c unstable -d chromium -o . -s
../../build/linux/debian_stretch_arm-sysroot -t linux

ERROR: Don't know how to build DEBs for 'arm'.

Bug: None

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I3e5cff16484259e3ace4349aff70cd0e2607cd63
Reviewed-on: https://chromium-review.googlesource.com/867182
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530056}
  • Loading branch information
Caesar-github authored and Commit Bot committed Jan 18, 2018
1 parent a694049 commit 521b128
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Bruno Roy <brusi_roy@hotmail.com>
Bryan Donlan <bdonlan@gmail.com>
Byoungkwon Ko <gogag2@gmail.com>
Byungwoo Lee <bw80.lee@samsung.com>
Caesar Wang <wxt@rock-chips.com>
Caio Marcelo de Oliveira Filho <caio.de.oliveira.filho@intel.com>
Caitlin Potter <caitpotter88@gmail.com>
Calvin Mei <calvimei@amazon.com>
Expand Down
3 changes: 3 additions & 0 deletions chrome/installer/linux/debian/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ COMMON_PREDEPS="dpkg (>= 1.14.0)"
cd "${OUTPUTDIR}"

case "$TARGETARCH" in
arm )
export ARCHITECTURE="armhf"
;;
ia32 )
export ARCHITECTURE="i386"
;;
Expand Down
3 changes: 3 additions & 0 deletions chrome/installer/linux/rpm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ export USR_BIN_SYMLINK_NAME="${PACKAGE}-${CHANNEL}"
cd "${OUTPUTDIR}"

case "$TARGETARCH" in
arm )
export ARCHITECTURE="armhf"
;;
ia32 )
export ARCHITECTURE="i386"
stage_install_rpm
Expand Down

0 comments on commit 521b128

Please sign in to comment.