summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joe Onorato <joeo@google.com> 2023-08-19 21:42:14 -0700
committer Joe Onorato <joeo@google.com> 2023-08-20 07:41:31 -0700
commit9e3716caea4b550c2a9d5eeef098117721d24cdc (patch)
treeec191ddbd9e4a58a841194bb4f18e7f2db45e6d8
parentffac9be887356c97d31db62993b1905ce3e2b2f5 (diff)
Allow generated java libs to specify libraries.
Not having them before was just being conservative, and now libs at least is needed. Bug: 293195086 Test: m Change-Id: Ieaa66d11fc983751fd302a21e17802748a535fa7
-rw-r--r--java/generated_java_library.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/java/generated_java_library.go b/java/generated_java_library.go
index f9baa85e4..1cab6acc4 100644
--- a/java/generated_java_library.go
+++ b/java/generated_java_library.go
@@ -78,11 +78,6 @@ func (module *GeneratedJavaLibraryModule) GenerateAndroidBuildActions(ctx androi
checkPropertyEmpty(ctx, module, "exclude_srcs", module.Library.properties.Exclude_srcs)
checkPropertyEmpty(ctx, module, "java_resource_dirs", module.Library.properties.Java_resource_dirs)
checkPropertyEmpty(ctx, module, "exclude_java_resource_dirs", module.Library.properties.Exclude_java_resource_dirs)
- // No additional libraries. The generator should add anything necessary automatically
- // by returning something from ____ (TODO: Additional libraries aren't needed now, so
- // these are just blocked).
- checkPropertyEmpty(ctx, module, "libs", module.Library.properties.Libs)
- checkPropertyEmpty(ctx, module, "static_libs", module.Library.properties.Static_libs)
// Restrict these for no good reason other than to limit the surface area. If there's a
// good use case put them back.
checkPropertyEmpty(ctx, module, "plugins", module.Library.properties.Plugins)