aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunyun Lin <linyuny@google.com>2024-02-08 21:42:27 +0000
committerPriyanka Advani <padvani@google.com>2024-02-08 21:46:58 +0000
commitc3a78bb439e78a62f313774f4662e52535dc91ec (patch)
tree6bf1bf975a6b746e43fdeea0e4bd35d7c5b02474
parenta146ff104d780ece54394e786e871d71c0c6eda7 (diff)
downloadaidl-c3a78bb439e78a62f313774f4662e52535dc91ec.tar.gz
Revert "AIDL: Rust by default."
This reverts commit a146ff104d780ece54394e786e871d71c0c6eda7. Reason for revert: Broken build 11426446 on aosp-main on aosp_arm64-trunk_food-userdebug b/324465367 Change-Id: I13d39471229e3ed176114248444031aaf449815d
-rw-r--r--build/aidl_interface.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/aidl_interface.go b/build/aidl_interface.go
index 71c4cc1a..9b3affa7 100644
--- a/build/aidl_interface.go
+++ b/build/aidl_interface.go
@@ -498,8 +498,7 @@ func (i *aidlInterface) shouldGenerateAppNdkBackend() bool {
}
func (i *aidlInterface) shouldGenerateRustBackend() bool {
- // explicitly true if not specified to give early warning to devs
- return proptools.BoolDefault(i.properties.Backend.Rust.Enabled, true)
+ return i.properties.Backend.Rust.Enabled != nil && *i.properties.Backend.Rust.Enabled
}
func (i *aidlInterface) useUnfrozen(ctx android.EarlyModuleContext) bool {