summaryrefslogtreecommitdiff
path: root/java/testing.go
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2022-09-27 16:53:11 -0700
committer Jared Duke <jdduke@google.com> 2022-09-28 09:46:35 -0700
commit51b0a10229e4e7e5ebb2854bafd8a7bf546a5275 (patch)
tree2840ed8a9e85bf2729ae435ea18783aad5b660c7 /java/testing.go
parent76832f5b102c90fddf16cb26be3a23fe23654de3 (diff)
Support testing for resource shrinking
Add a simple test and add necessary mock dependencies to allow future resoure shrinking use with platform targets. Test: m Bug: 202959019 Change-Id: Id2dd44d52ce5ea62c06784caab0af6276248cb3f
Diffstat (limited to 'java/testing.go')
-rw-r--r--java/testing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go
index 1f411913b..9cf5999f8 100644
--- a/java/testing.go
+++ b/java/testing.go
@@ -74,6 +74,7 @@ var prepareForTestWithFrameworkDeps = android.GroupFixturePreparers(
// Needed for R8 rules on apps
"build/make/core/proguard.flags": nil,
"build/make/core/proguard_basic_keeps.flags": nil,
+ "prebuilts/cmdline-tools/shrinker.xml": nil,
}.AddToFixture(),
)