Always use prebuilt version of core-lambda-stubs in build-tools
Bug: 237299698
Test: build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk TARGET_BUILD_VARIANT=userdebug sdk-repo-build-tools
# When ran before this change the resulting zip files contains
# a core-lambda-stubs.jar that is built from sources.
# When ran after this change the resulting zip files contains
# a core-lambda-stubs.jar that is built from prebuilts.
Change-Id: I9507eb785bca0fb929dbb587caf0b26455ec9480
This commit is contained in:
committed by
Chris Warrington
parent
591d513a8e
commit
e52040b4a0
@@ -161,7 +161,10 @@ genrule {
|
||||
java_device_for_host {
|
||||
name: "build-tools_core-lambda-stubs-device",
|
||||
visibility: ["//visibility:private"],
|
||||
libs: ["core-lambda-stubs"],
|
||||
// Use the prebuilt of the stubs irrespective of whether prebuilts are enabled
|
||||
// in this build configuration. This ensures that this non-host specific library
|
||||
// is treated consistently on all hosts.
|
||||
libs: ["prebuilt_core-lambda-stubs"],
|
||||
target: {
|
||||
windows: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user