summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-01-21 18:20:43 +0000
committer Paul Duffin <paulduffin@google.com> 2020-01-21 18:37:58 +0000
commit29f5576357b3627a2a7bf7eada40cd6152fa63b5 (patch)
tree97fa32d3cd77057a71693809113df2dbde216ea8 /java/sdk_library.go
parent515f043a6bc2a8c3fdc3f0b388fe66ae68ae3d04 (diff)
Remove unused java_sdk_library_import properties
The properties are just passed through to the java_import module that it creates to import the stubs so could be used if set. However, none of the current usages of java_sdk_library_import actually set them and it is not clear why the following would ever be set on java_sdk_library_import: * installable * exclude_files * exclude_dirs The above properties look as though they were simply copied from the ImportProperties struct. The libs property is also unused but it seems as though it should be used to improve compatibility with the source module. e.g. the source module for android.test.runner has android.test.base and android.test.mock in its libs. However, the prebuilt version of it does not. Bug: 148080325 Test: m nothing Change-Id: I710e3962b2e34b2b0cc81685d07d4948cef4e6ad
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 9b30e2ca4..72c4a7c63 100644
--- a/java/sdk_library.go
+++ b/java/sdk_library.go
@@ -838,16 +838,8 @@ type sdkLibraryImportProperties struct {
Sdk_version *string
- Installable *bool
-
// List of shared java libs that this module has dependencies to
Libs []string
-
- // List of files to remove from the jar file(s)
- Exclude_files []string
-
- // List of directories to remove from the jar file(s)
- Exclude_dirs []string
}
type sdkLibraryImport struct {