Loading java/aar.go +11 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,17 @@ func (a *AndroidLibrary) GenerateAndroidBuildActions(ctx android.ModuleContext) } } func (a *AndroidLibrary) IDEInfo(dpInfo *android.IdeInfo) { a.Library.IDEInfo(dpInfo) a.aapt.IDEInfo(dpInfo) } func (a *aapt) IDEInfo(dpInfo *android.IdeInfo) { if a.useResourceProcessorBusyBox() { dpInfo.Jars = append(dpInfo.Jars, a.rJar.String()) } } // android_library builds and links sources into a `.jar` file for the device along with Android resources. // // An android_library has a single variant that produces a `.jar` file containing `.class` files that were Loading java/app.go +5 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,11 @@ func (a *AndroidApp) EnableCoverageIfNeeded() {} var _ cc.Coverage = (*AndroidApp)(nil) func (a *AndroidApp) IDEInfo(dpInfo *android.IdeInfo) { a.Library.IDEInfo(dpInfo) a.aapt.IDEInfo(dpInfo) } // android_app compiles sources and Android resources into an Android application package `.apk` file. func AndroidAppFactory() android.Module { module := &AndroidApp{} Loading Loading
java/aar.go +11 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,17 @@ func (a *AndroidLibrary) GenerateAndroidBuildActions(ctx android.ModuleContext) } } func (a *AndroidLibrary) IDEInfo(dpInfo *android.IdeInfo) { a.Library.IDEInfo(dpInfo) a.aapt.IDEInfo(dpInfo) } func (a *aapt) IDEInfo(dpInfo *android.IdeInfo) { if a.useResourceProcessorBusyBox() { dpInfo.Jars = append(dpInfo.Jars, a.rJar.String()) } } // android_library builds and links sources into a `.jar` file for the device along with Android resources. // // An android_library has a single variant that produces a `.jar` file containing `.class` files that were Loading
java/app.go +5 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,11 @@ func (a *AndroidApp) EnableCoverageIfNeeded() {} var _ cc.Coverage = (*AndroidApp)(nil) func (a *AndroidApp) IDEInfo(dpInfo *android.IdeInfo) { a.Library.IDEInfo(dpInfo) a.aapt.IDEInfo(dpInfo) } // android_app compiles sources and Android resources into an Android application package `.apk` file. func AndroidAppFactory() android.Module { module := &AndroidApp{} Loading