diff options
author | 2021-01-20 17:44:53 +0000 | |
---|---|---|
committer | 2021-01-21 16:49:34 +0000 | |
commit | 1ab6186e91f2e8d9620ebf1557ab503c7719cd3e (patch) | |
tree | e73fc8d791f0805cd46515e93d84b6ec8804737a /java/testing.go | |
parent | 9f04524673e84f9be7f06e2e13266d8fda2f151f (diff) |
Switch dex_bootjars to a singleton module
The main difference between a singleton and a singleton module that
affects this change is that the latter requires a module to be defined
in order for the singleton to be instantiated. This change defines the
module in both the tests and the standard build.
Bug: 177892522
Test: m droid
Change-Id: Id6669835cf3a2ab7359fa53047eb9042992a9362
Diffstat (limited to 'java/testing.go')
-rw-r--r-- | java/testing.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go index 0327963ae..0b1e2eb74 100644 --- a/java/testing.go +++ b/java/testing.go @@ -204,6 +204,13 @@ func GatherRequiredDepsForTest() string { `, extra) } + // Make sure that the dex_bootjars singleton module is instantiated for the tests. + bp += ` + dex_bootjars { + name: "dex_bootjars", + } +` + return bp } |