summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2024-08-21 16:39:27 +0000
committer Steven Moreland <smoreland@google.com> 2024-08-21 16:47:49 +0000
commit465baeed147d8ee85c53b966c583b61de5f9491b (patch)
treee66a799fa6271a5fb64722ded582afe2c08317bf /java/sdk.go
parent788f69722c2fb02bad642d7b5e4bb30a2fa6e86a (diff)
Guarantee frameworks.aidl stability.
Apps share these classes from the BCP, so even if they are changed, they stay in sync. Bug: 258850063 Test: build Change-Id: I50b6a928c29f5d9eca9496b91363a8fc5d397b00
Diffstat (limited to 'java/sdk.go')
-rw-r--r--java/sdk.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/sdk.go b/java/sdk.go
index 4ef4ee251..b8ea0670d 100644
--- a/java/sdk.go
+++ b/java/sdk.go
@@ -308,10 +308,12 @@ func createFrameworkAidl(stubsModules []string, path android.WritablePath, ctx a
rule.Command().
Text("rm -f").Output(aidl)
+
rule.Command().
BuiltTool("sdkparcelables").
Input(jar).
- Output(aidl)
+ Output(aidl).
+ Flag("--guarantee_stable")
aidls = append(aidls, aidl)
}