Export app implementation and header jars to Make
App implementation and header jars are necessary for tests to run against apps. Test: m checkbuild Change-Id: Ia54ebf41f17346d3c59f3ec9512e68f195cdb67f
This commit is contained in:
@@ -156,6 +156,12 @@ func (app *AndroidApp) AndroidMk() android.AndroidMkData {
|
|||||||
if app.dexJarFile != nil {
|
if app.dexJarFile != nil {
|
||||||
fmt.Fprintln(w, "LOCAL_SOONG_DEX_JAR :=", app.dexJarFile.String())
|
fmt.Fprintln(w, "LOCAL_SOONG_DEX_JAR :=", app.dexJarFile.String())
|
||||||
}
|
}
|
||||||
|
if app.implementationJarFile != nil {
|
||||||
|
fmt.Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", app.implementationJarFile)
|
||||||
|
}
|
||||||
|
if app.headerJarFile != nil {
|
||||||
|
fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", app.headerJarFile.String())
|
||||||
|
}
|
||||||
if app.jacocoReportClassesFile != nil {
|
if app.jacocoReportClassesFile != nil {
|
||||||
fmt.Fprintln(w, "LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=", app.jacocoReportClassesFile.String())
|
fmt.Fprintln(w, "LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=", app.jacocoReportClassesFile.String())
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user