summaryrefslogtreecommitdiff
path: root/java/hiddenapi_modular.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-09-22 10:18:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-09-22 10:18:36 +0000
commitcd439a27e4ddaa4f11b30f1714ea06b1af1bdfb1 (patch)
treec01f43686751f9e8eb66e624d64c88c435ec5bce /java/hiddenapi_modular.go
parent512ec3f4fefea91a29c730ad50ad8382aba1d188 (diff)
parent531d8fdc2a67b9eef12ff6b27952769b910052bf (diff)
Merge "Remove workaround for modules with missing BCP fragments, as they are present now."
Diffstat (limited to 'java/hiddenapi_modular.go')
-rw-r--r--java/hiddenapi_modular.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/hiddenapi_modular.go b/java/hiddenapi_modular.go
index 51cd50169..1c6fbac72 100644
--- a/java/hiddenapi_modular.go
+++ b/java/hiddenapi_modular.go
@@ -1194,13 +1194,6 @@ func retrieveClassesJarsFromModule(module android.Module) android.Paths {
// deferReportingMissingBootDexJar returns true if a missing boot dex jar should not be reported by
// Soong but should instead only be reported in ninja if the file is actually built.
func deferReportingMissingBootDexJar(ctx android.ModuleContext, module android.Module) bool {
- // TODO(b/179354495): Remove this workaround when it is unnecessary.
- // Prebuilt modules like framework-wifi do not yet provide dex implementation jars. So,
- // create a fake one that will cause a build error only if it is used.
- if ctx.Config().AlwaysUsePrebuiltSdks() {
- return true
- }
-
// Any missing dependency should be allowed.
if ctx.Config().AllowMissingDependencies() {
return true