diff options
author | 2021-01-06 18:08:07 +0000 | |
---|---|---|
committer | 2021-01-06 18:08:07 +0000 | |
commit | 659f11fcfcc55f97b5d6ca6e75668fecbeaa01c3 (patch) | |
tree | 114ba80c3c6fa81ee49de3c25df1da1b054d6730 /bpf/bpf.go | |
parent | 5542859c312bac47097a116d5d439727fefa24a1 (diff) | |
parent | 13351b2c7d181f6d100001e86ca3faa6cabb92eb (diff) |
Merge changes from topic "metalics"
* changes:
Define the standard license_kind rules.
Export soong license data to make.
Add ability to declare licenses in soong.
Diffstat (limited to 'bpf/bpf.go')
-rw-r--r-- | bpf/bpf.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index 297e13a4f..8142f10a5 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -120,6 +120,7 @@ func (bpf *bpf) AndroidMk() android.AndroidMkData { names = append(names, objName) fmt.Fprintln(w, "include $(CLEAR_VARS)") fmt.Fprintln(w, "LOCAL_MODULE := ", objName) + data.Entries.WriteLicenseVariables(w) fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", obj.String()) fmt.Fprintln(w, "LOCAL_MODULE_STEM :=", obj.Base()) fmt.Fprintln(w, "LOCAL_MODULE_CLASS := ETC") @@ -129,6 +130,7 @@ func (bpf *bpf) AndroidMk() android.AndroidMkData { } fmt.Fprintln(w, "include $(CLEAR_VARS)") fmt.Fprintln(w, "LOCAL_MODULE := ", name) + data.Entries.WriteLicenseVariables(w) fmt.Fprintln(w, "LOCAL_REQUIRED_MODULES :=", strings.Join(names, " ")) fmt.Fprintln(w, "include $(BUILD_PHONY_PACKAGE)") }, |