Merge "Remove SOONG_FRAMEWORK_SRCS"

am: 04815d0bed

Change-Id: I1d99dbc67b173d9efac2f738fe07cc3879a0b503
This commit is contained in:
Colin Cross
2019-06-17 19:20:13 -07:00
committed by android-build-merger

View File

@@ -97,14 +97,6 @@ func (library *Library) AndroidMk() android.AndroidMkData {
if library.proguardDictionary != nil { if library.proguardDictionary != nil {
fmt.Fprintln(w, "LOCAL_SOONG_PROGUARD_DICT :=", library.proguardDictionary.String()) fmt.Fprintln(w, "LOCAL_SOONG_PROGUARD_DICT :=", library.proguardDictionary.String())
} }
// Temporary hack: export sources used to compile framework.jar to Make
// to be used for droiddoc
// TODO(ccross): remove this once droiddoc is in soong
if (library.Name() == "framework") || (library.Name() == "framework-annotation-proc") {
fmt.Fprintln(w, "SOONG_FRAMEWORK_SRCS :=", strings.Join(library.compiledJavaSrcs.Strings(), " "))
fmt.Fprintln(w, "SOONG_FRAMEWORK_SRCJARS :=", strings.Join(library.compiledSrcJars.Strings(), " "))
}
}, },
}, },
Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) { Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) {