summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-11-20 18:34:16 +0000
committer Spandan Das <spandandas@google.com> 2024-12-02 18:25:20 +0000
commit71be42d93951aaaf95ba520281a9837f32bd738c (patch)
treedb0e8e09776e00dfd1d18ef4c57ce6a688ed31cb /java
parentf0eabbf94ffa8acf87e88822ec85c162f33b973e (diff)
Automatically add system and system_ext autogen RRO to vendor/product
This CL creates a dependency edge from vendor/product to system and system_ext. A post deps mutator will walk the transitive closure and add the corresponding autogenerated RROs to deps. Bug: 374371755 Bug: 375277835 Test: m soong_generated_vendor_filesystem_test NOTICE is the last diff Change-Id: Iffe64174a0d639dc224505a08eccd0a1dedc9f39
Diffstat (limited to 'java')
-rw-r--r--java/app.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/app.go b/java/app.go
index 7f80160a3..34a548e5a 100644
--- a/java/app.go
+++ b/java/app.go
@@ -1382,6 +1382,10 @@ func AndroidAppFactory() android.Module {
return module
}
+func AutogeneratedRroModuleName(ctx android.EarlyModuleContext, moduleName, partition string) string {
+ return fmt.Sprintf("%s__%s__auto_generated_rro_%s", moduleName, ctx.Config().DeviceProduct(), partition)
+}
+
// A dictionary of values to be overridden in the manifest.
type Manifest_values struct {
// Overrides the value of package_name in the manifest