diff options
| author | 2020-02-07 17:57:08 +0000 | |
|---|---|---|
| committer | 2020-02-07 17:57:08 +0000 | |
| commit | 568a82a36e53d2b61ff82bc30fd768c2c0d54725 (patch) | |
| tree | 68f2ee5c2c61a4fbaa7d47176b49c2fac6c75e2f /java/java.go | |
| parent | 7be78869604801de69a675669504b3b84c2f0e44 (diff) | |
| parent | 7b81f5e9d76d1db684b0cf6691f04833c628c7e4 (diff) | |
Merge "Add java_system_modules to sdk/module_exports"
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/java/java.go b/java/java.go index c94ea8293..dd44d06aa 100644 --- a/java/java.go +++ b/java/java.go @@ -37,14 +37,7 @@ func init() { RegisterJavaBuildComponents(android.InitRegistrationContext) // Register sdk member types. - android.RegisterSdkMemberType(&headerLibrarySdkMemberType{ - librarySdkMemberType{ - android.SdkMemberTypeBase{ - PropertyName: "java_header_libs", - SupportsSdk: true, - }, - }, - }) + android.RegisterSdkMemberType(javaHeaderLibsSdkMemberType) android.RegisterSdkMemberType(&implLibrarySdkMemberType{ librarySdkMemberType{ @@ -1849,6 +1842,15 @@ func (mt *librarySdkMemberType) buildSnapshot( module.AddProperty("jars", []string{snapshotRelativeJavaLibPath}) } +var javaHeaderLibsSdkMemberType android.SdkMemberType = &headerLibrarySdkMemberType{ + librarySdkMemberType{ + android.SdkMemberTypeBase{ + PropertyName: "java_header_libs", + SupportsSdk: true, + }, + }, +} + type headerLibrarySdkMemberType struct { librarySdkMemberType } |