diff options
author | 2022-12-01 10:49:23 -0800 | |
---|---|---|
committer | 2022-12-01 21:12:11 -0800 | |
commit | 5c4729df937924426ffac330531b64f409ceec29 (patch) | |
tree | bae5c95353fa30da5a270f2b817fd466927596f6 /java/robolectric.go | |
parent | 62ed3dd5f89db9a7deeb31a60be82345eaa248fd (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 'java/robolectric.go')
-rw-r--r-- | java/robolectric.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/robolectric.go b/java/robolectric.go index 2cb07981e..1d567083d 100644 --- a/java/robolectric.go +++ b/java/robolectric.go @@ -327,7 +327,7 @@ func (r *robolectricTest) AndroidMkEntries() []android.AndroidMkEntries { func (r *robolectricTest) writeTestRunner(w io.Writer, module, name string, tests []string) { fmt.Fprintln(w, "") - fmt.Fprintln(w, "include $(CLEAR_VARS)") + fmt.Fprintln(w, "include $(CLEAR_VARS)", " # java.robolectricTest") fmt.Fprintln(w, "LOCAL_MODULE :=", name) fmt.Fprintln(w, "LOCAL_JAVA_LIBRARIES :=", module) fmt.Fprintln(w, "LOCAL_JAVA_LIBRARIES += ", strings.Join(r.libs, " ")) |