diff options
author | Paul Duffin <paulduffin@google.com> | 2019-12-16 17:43:48 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2019-12-31 15:08:59 +0000 |
commit | e602918294cdfdb50dd2e9f246808adae932b5ce (patch) | |
tree | 44323e23685ac774986b42dc3e88bce5c19d27ab /java/java.go | |
parent | 28aa5448843923619cc1295065869477dab5a323 (diff) |
Restrict SdkMemberTypes that can be used with sdk/sdk_snapshot
By default SdkMemberTypes are only supported on module_exports module
type. Support for sdk module type has to be explicitly specified.
The java_header_libs, native_shared_libs and stubs_sources are
supported on sdk. The latter is required to provide the stubs source
for an API specified in java_header_libs as they should be kept in
sync.
Bug: 146341462
Test: m nothing
Change-Id: I19b9e60792780a797458d4a9e489506602b13144
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index d0bf9d731..27f69b848 100644 --- a/java/java.go +++ b/java/java.go @@ -41,6 +41,7 @@ func init() { librarySdkMemberType{ android.SdkMemberTypeBase{ PropertyName: "java_header_libs", + SupportsSdk: true, }, }, }) |