commit | ec6dc938c9ddb4e75bc91ae9894cc8a9934a8595 | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Wed May 01 17:53:47 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 01 17:53:47 2024 +0000 |
tree | 279781488b65c25f6b4ff9f648b74435ab99fffd | |
parent | 9a988c4f5bf3d1b26bcbee898340bda756ecad86 [diff] | |
parent | 07fd7e32fd3ab47ebd02c3014ed2bdff7d59e613 [diff] |
Merge "rust: Add a default cfg indicating an AOSP build" into main
diff --git a/rust/config/global.go b/rust/config/global.go index ba08560..03333b8 100644 --- a/rust/config/global.go +++ b/rust/config/global.go
@@ -53,6 +53,9 @@ "--color=always", "-Z dylib-lto", "-Z link-native-libraries=no", + + // cfg flag to indicate that we are building in AOSP with Soong + "--cfg soong", } LinuxHostGlobalLinkFlags = []string{