summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-12-02 10:36:07 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-12-02 10:36:07 +0000
commita36589c4ca8580f9c13f52713d4a8a06d910ad7b (patch)
tree363a5ec99387c384a93acd6262d80678b069da01 /java
parent8ec23f846d81d1ccfb7105f85e55e4cc0e579a18 (diff)
parent4cbe83ad5e9208b6634803c4d4c453d191d18b63 (diff)
Merge changes Ia4016240,Iba586155
* changes: Allow choosing which soong_build invocations to run in the debugger Show module type in a module section of the Android-TARGET.mk
Diffstat (limited to 'java')
-rw-r--r--java/robolectric.go2
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, " "))