summaryrefslogtreecommitdiff
path: root/phony
diff options
context:
space:
mode:
author Sasha Smundak <asmundak@google.com> 2022-12-01 10:49:23 -0800
committer Sasha Smundak <asmundak@google.com> 2022-12-01 21:12:11 -0800
commit5c4729df937924426ffac330531b64f409ceec29 (patch)
treebae5c95353fa30da5a270f2b817fd466927596f6 /phony
parent62ed3dd5f89db9a7deeb31a60be82345eaa248fd (diff)
Show module type in a module section of the Android-TARGET.mk
The first line of each section will be ``` include $(CLEAR_VARS) # <module type> ... ``` Bug: 257037252 Test: treehugger Change-Id: Iba586155b682fe4e1e5817d8397eda8f9d9c8789
Diffstat (limited to 'phony')
-rw-r--r--phony/phony.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/phony/phony.go b/phony/phony.go
index a31d402af..760b79b8a 100644
--- a/phony/phony.go
+++ b/phony/phony.go
@@ -49,7 +49,7 @@ func (p *phony) GenerateAndroidBuildActions(ctx android.ModuleContext) {
func (p *phony) AndroidMk() android.AndroidMkData {
return android.AndroidMkData{
Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) {
- fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)")
+ fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)", " # phony.phony")
fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir)
fmt.Fprintln(w, "LOCAL_MODULE :=", name)
data.Entries.WriteLicenseVariables(w)