diff options
author | 2022-12-08 10:41:33 -0800 | |
---|---|---|
committer | 2022-12-12 18:06:49 -0800 | |
commit | dcb61292695c740d1fac37a8e06ddfc763cebe83 (patch) | |
tree | cdff191ec04182118b0f9ee23c26b9995d92ddb4 /bpf/bpf.go | |
parent | 18ac53b4d0dac5183eeb9ce7ebc76c76388c32e2 (diff) |
Streamline AndroidMk generation
Add AndroidMkEmitAssignList to emit a line to assign the items from
the given list of string arrays.
Test: treehugger
Change-Id: Id5acbef38ea4e91349bd2461f226db352d4b8123
Diffstat (limited to 'bpf/bpf.go')
-rw-r--r-- | bpf/bpf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index d91180b91..45009c1e7 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -240,7 +240,7 @@ func (bpf *bpf) AndroidMk() android.AndroidMkData { fmt.Fprintln(w, "include $(CLEAR_VARS)", " # bpf.bpf") fmt.Fprintln(w, "LOCAL_MODULE := ", name) data.Entries.WriteLicenseVariables(w) - fmt.Fprintln(w, "LOCAL_REQUIRED_MODULES :=", strings.Join(names, " ")) + android.AndroidMkEmitAssignList(w, "LOCAL_REQUIRED_MODULES", names) fmt.Fprintln(w, "include $(BUILD_PHONY_PACKAGE)") }, } |