Revert "Remove compilation actions from java sdk library"
Revert submission 3070882-sdk_lib_remove_compilation Reason for revert: Potential culprit for build breakage of barbet-ap2a-userdebug in git_main Reverted changes: /q/submissionid:3070882-sdk_lib_remove_compilation Change-Id: I5135760e13e0152480c68fe91a3c88564e9bc7cb
This commit is contained in:
committed by
Gerrit Code Review
parent
d831af4267
commit
8f25d296b5
@@ -150,10 +150,6 @@ func isModuleInConfiguredList(ctx android.BaseModuleContext, module android.Modu
|
||||
// Strip a prebuilt_ prefix so that this can match a prebuilt module that has not been renamed.
|
||||
name = android.RemoveOptionalPrebuiltPrefix(name)
|
||||
|
||||
// Strip the ".impl" suffix, so that the implementation library of the java_sdk_library is
|
||||
// treated identical to the top level java_sdk_library.
|
||||
name = strings.TrimSuffix(name, ".impl")
|
||||
|
||||
// Ignore any module that is not listed in the boot image configuration.
|
||||
index := configuredBootJars.IndexOfJar(name)
|
||||
if index == -1 {
|
||||
|
Reference in New Issue
Block a user