Merge "Export soong license data to make."

This commit is contained in:
Bob Badour 2021-01-06 18:08:06 +00:00 committed by Gerrit Code Review
commit c182ed7f74

View file

@ -231,6 +231,7 @@ func (m *selinuxContextsModule) AndroidMk() android.AndroidMkData {
fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)") fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)")
fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir) fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir)
fmt.Fprintln(w, "LOCAL_MODULE :=", name+nameSuffix) fmt.Fprintln(w, "LOCAL_MODULE :=", name+nameSuffix)
data.Entries.WriteLicenseVariables(w)
fmt.Fprintln(w, "LOCAL_MODULE_CLASS := ETC") fmt.Fprintln(w, "LOCAL_MODULE_CLASS := ETC")
if m.Owner() != "" { if m.Owner() != "" {
fmt.Fprintln(w, "LOCAL_MODULE_OWNER :=", m.Owner()) fmt.Fprintln(w, "LOCAL_MODULE_OWNER :=", m.Owner())