java_library support for building headers-only
Flag for java_library modules to build just the Turbine headers and skip building an impl jar. Test: m framework-minus-apex-headers Bug: 289776578 Ignore-AOSP-First: Change stacked with changes in internal repos Change-Id: If8b4033462d39c689cba0ed38cc343e4786ea280
This commit is contained in:
@@ -692,6 +692,7 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
}
|
||||
|
||||
j.checkSdkVersions(ctx)
|
||||
j.checkHeadersOnly(ctx)
|
||||
if ctx.Device() {
|
||||
j.dexpreopter.installPath = j.dexpreopter.getInstallPath(
|
||||
ctx, android.PathForModuleInstall(ctx, "framework", j.Stem()+".jar"))
|
||||
|
Reference in New Issue
Block a user