jarjar_rules: accept file-group
This allows a jarjar rule to be shared among multiple targets in
different directories.
Bug: 86259915
Test: use filegroup jarjar_rules
Change-Id: I3fa476c4e87e2460ab9fabfb34229f471c80e6b0
diff --git a/java/jdeps_test.go b/java/jdeps_test.go
index ca8a3cd..874d1d7 100644
--- a/java/jdeps_test.go
+++ b/java/jdeps_test.go
@@ -76,7 +76,7 @@
func TestCollectJavaLibraryPropertiesAddJarjarRules(t *testing.T) {
expected := "Jarjar_rules.txt"
module := LibraryFactory().(*Library)
- module.properties.Jarjar_rules = &expected
+ module.expandJarjarRules = android.PathForTesting(expected)
dpInfo := &android.IdeInfo{}
module.IDEInfo(dpInfo)