diff options
author | Steven Moreland <smoreland@google.com> | 2024-02-08 22:09:14 +0000 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2024-02-09 22:05:00 +0000 |
commit | 3da33aa4cc54381917b29c6afbd603078bc828ea (patch) | |
tree | 93cf9565a1061bfddee87bcbc62823b72c2a8a4c | |
parent | 2eed130607109075ddf07df83eb82361e295360a (diff) | |
download | aidl-3da33aa4cc54381917b29c6afbd603078bc828ea.tar.gz |
Reland "AIDL: Rust by default."
This reverts commit c3a78bb439e78a62f313774f4662e52535dc91ec.
Reason for revert: b/321267339
Change-Id: I5072c9beedb7f9063601162caf823d3da3c93a0e
-rw-r--r-- | build/aidl_interface.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/aidl_interface.go b/build/aidl_interface.go index 9b3affa7..71c4cc1a 100644 --- a/build/aidl_interface.go +++ b/build/aidl_interface.go @@ -498,7 +498,8 @@ func (i *aidlInterface) shouldGenerateAppNdkBackend() bool { } func (i *aidlInterface) shouldGenerateRustBackend() bool { - return i.properties.Backend.Rust.Enabled != nil && *i.properties.Backend.Rust.Enabled + // explicitly true if not specified to give early warning to devs + return proptools.BoolDefault(i.properties.Backend.Rust.Enabled, true) } func (i *aidlInterface) useUnfrozen(ctx android.EarlyModuleContext) bool { |