incremental_apk_by_default builds are broken |
||
Issue descriptionIt seems that https://crrev.com/3ff944eef introduced some changes which break the build when |incremental_apk_by_default| is set to true. The failure is pasted below, presumably indicating that the template fails to use |additional_apks| when incremental APKs are enabled. ==== ERROR at //chrome/android/BUILD.gn:1454:23: Assignment had no effect. additional_apks = [ "//net/android:net_test_support_apk" ] ^-------------------------------------- You set the variable "additional_apks" here and it was unused before it went out of scope. See //chrome/android/BUILD.gn:1444:3: whence it was called. instrumentation_test_apk("monochrome_public_test_ar_apk") { ^---------------------------------------------------------- See //BUILD.gn:328:9: which caused the file to be included. "//chrome/android:chrome_junit_tests", ^------------------------------------
,
Jul 12
I should be able to dig into this later today.
,
Jul 13
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/00327255fd1e880b009d34d0823684519431e650 commit 00327255fd1e880b009d34d0823684519431e650 Author: bsheedy <bsheedy@chromium.org> Date: Fri Jul 13 01:50:20 2018 Fix gn gen with incremental_apk_by_default Fixes gn gen failing on Android when incremental_apk_by_default is true due to not forwarding additional_apks for monochrome_public_test_ar_apk. Bug: 863102 Change-Id: If2c168e5e966f3464056131635be84ede8f568e3 Reviewed-on: https://chromium-review.googlesource.com/1135911 Commit-Queue: agrieve <agrieve@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#574813} [modify] https://crrev.com/00327255fd1e880b009d34d0823684519431e650/build/config/android/rules.gni
,
Jul 13
Should be fixed now. |
||
►
Sign in to add a comment |
||
Comment 1 by roc...@chromium.org
, Jul 12