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
This commit is contained in:
@@ -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, " "))
|
||||
|
Reference in New Issue
Block a user