Revert^2 "Export soong license data to make."

61a55a0344

Change-Id: I5fb017c683df18bad42a8e27fb2d7c7c510514e5
This commit is contained in:
Bob Badour
2021-01-07 03:34:31 +00:00
parent 37af046002
commit b499922acc
6 changed files with 73 additions and 9 deletions

View File

@@ -307,6 +307,7 @@ func (m *syspropLibrary) AndroidMk() android.AndroidMkData {
// Actual implementation libraries are created on LoadHookMutator
fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)")
fmt.Fprintf(w, "LOCAL_MODULE := %s\n", m.Name())
data.Entries.WriteLicenseVariables(w)
fmt.Fprintf(w, "LOCAL_MODULE_CLASS := FAKE\n")
fmt.Fprintf(w, "LOCAL_MODULE_TAGS := optional\n")
fmt.Fprintf(w, "include $(BUILD_SYSTEM)/base_rules.mk\n\n")