From d65add2253e883c28933ec90abe1ce9a5d8d0ab0 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Wed, 31 Jul 2024 16:42:33 -0700 Subject: [PATCH] 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 --- java/aar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`