summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-07-31 16:42:33 -0700
committer Cole Faust <colefaust@google.com> 2024-07-31 16:42:33 -0700
commitd65add2253e883c28933ec90abe1ce9a5d8d0ab0 (patch)
treeed792681ba1f68b3e3f4144717ab7f2a2017ba2c /java
parentea6451a03abf35c622752fd5dfcb9fdabfa64ab0 (diff)
Tag resource_dirs as android:"path"
Resource_dirs is queried using PathsWithOptionalDefaultForModuleSrc, which includes all the infrastructure to resolve module references, but needs to be tagged android:"path" to be able to add the module references as dependencies. Test: Manually Change-Id: Ie3f75332c9a4cc0ee4b4c93268188440ff7ce249
Diffstat (limited to 'java')
-rw-r--r--java/aar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/aar.go b/java/aar.go
index b69b7c262..186289e02 100644
--- a/java/aar.go
+++ b/java/aar.go
@@ -76,7 +76,7 @@ type aaptProperties struct {
// list of directories relative to the Blueprints file containing
// Android resources. Defaults to ["res"] if a directory called res exists.
// Set to [] to disable the default.
- Resource_dirs []string
+ Resource_dirs []string `android:"path"`
// list of zip files containing Android resources.
Resource_zips []string `android:"path"`