diff options
author | 2023-11-21 15:27:17 -0800 | |
---|---|---|
committer | 2023-11-21 15:27:44 -0800 | |
commit | a16bd6b7141abfd639f62f9d0b971512adbc350e (patch) | |
tree | 4553f4f93e13e38138abc1abf022c555a74f4f81 /phony | |
parent | d442a0e882aa49edbb944e21eaca2fca20d61b98 (diff) |
Don't write license data to Android-${TARGET_PRODUCT}.mk
All the necessary license data is already propagated through the license
metadata file, and the entries in Android-${TARGET_PRODUCT}.mk are not
used. Remove them, which should both reduce the size and parsing cost
of the Android-${TARGET_PRODUCT}.mk file and also removes a variable
that changes when dependencies are added or removed, which will
eventually allow running kati less often.
Bug: 309006256
Test: No change to out/Android-aosp_cf_x86_64_phone.ninja
Change-Id: Idfeb6fd10d77497ca274f8e74fe8e994ce1cafe6
Diffstat (limited to 'phony')
-rw-r--r-- | phony/phony.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/phony/phony.go b/phony/phony.go index 760b79b8a..a8b651aa8 100644 --- a/phony/phony.go +++ b/phony/phony.go @@ -52,7 +52,6 @@ func (p *phony) AndroidMk() android.AndroidMkData { fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)", " # phony.phony") fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir) fmt.Fprintln(w, "LOCAL_MODULE :=", name) - data.Entries.WriteLicenseVariables(w) if p.Host() { fmt.Fprintln(w, "LOCAL_IS_HOST_MODULE := true") } |