From 5c4729df937924426ffac330531b64f409ceec29 Mon Sep 17 00:00:00 2001 From: Sasha Smundak Date: Thu, 1 Dec 2022 10:49:23 -0800 Subject: Show module type in a module section of the Android-TARGET.mk The first line of each section will be ``` include $(CLEAR_VARS) # ... ``` Bug: 257037252 Test: treehugger Change-Id: Iba586155b682fe4e1e5817d8397eda8f9d9c8789 --- java/robolectric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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, " ")) -- cgit v1.2.3-59-g8ed1b