I am trying to build chromium from source code following instructions at https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md

I have successfully built and tested chromium for amd device, Now I am trying to cross-compile it for arm device, However when I set the flag

target_cpu = "arm"


gn gen out/Debug --args='target_cpu="arm"'

I get the following error

ERROR at //build/config/linux/atk/BUILD.gn:13:1 (//build/toolchain/linux:clang_x86_v8_arm): Assertion failed.
assert(current_toolchain == default_toolchain)
See //ui/accessibility/BUILD.gn:294:20: which caused the file to be included.
      configs += [ "//build/config/linux/atk" ]

Any leads would be appreciated


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.