diff options
author | Spandan Das <spandandas@google.com> | 2024-02-21 09:29:01 +0000 |
---|---|---|
committer | Spandan Das <spandandas@google.com> | 2024-02-21 09:29:01 +0000 |
commit | 4cb72e21e9f1aa905ce239f61b3b6b8314e5b815 (patch) | |
tree | 095ae97ff873c3cbedce63a811349c827e246627 | |
parent | d737c3ed06f9aef6d68456288a5250c3893a8ca5 (diff) | |
download | aidl-4cb72e21e9f1aa905ce239f61b3b6b8314e5b815.tar.gz |
Drop platform_apis from the internal java_library of aidl_interface
platform_apis is a no-op for java_library module type. Drop this
property from the java_library dynamically created by aidl_interface
Test: m nothing
Bug: 215379393
Change-Id: Ia6b5defe78d475eb5f48825a3b26465afc64fe69
-rw-r--r-- | build/aidl_interface_backends.go | 1 | ||||
-rw-r--r-- | build/properties.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/build/aidl_interface_backends.go b/build/aidl_interface_backends.go index 8f515aa7..941d6961 100644 --- a/build/aidl_interface_backends.go +++ b/build/aidl_interface_backends.go @@ -355,7 +355,6 @@ func addJavaLibrary(mctx android.DefaultableHookContext, i *aidlInterface, versi Installable: proptools.BoolPtr(true), Defaults: []string{"aidl-java-module-defaults"}, Sdk_version: sdkVersion, - Platform_apis: i.properties.Backend.Java.Platform_apis, Srcs: []string{":" + javaSourceGen}, Apex_available: i.properties.Backend.Java.Apex_available, Min_sdk_version: i.minSdkVersion(langJava), diff --git a/build/properties.go b/build/properties.go index 1cc78604..e858948f 100644 --- a/build/properties.go +++ b/build/properties.go @@ -84,7 +84,6 @@ type javaProperties struct { Defaults []string Installable *bool Sdk_version *string - Platform_apis *bool Srcs []string Static_libs []string Apex_available []string |