diff options
author | Ivan Lozano <ivanlozano@google.com> | 2024-05-01 17:53:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-05-01 17:53:47 +0000 |
commit | ec6dc938c9ddb4e75bc91ae9894cc8a9934a8595 (patch) | |
tree | 279781488b65c25f6b4ff9f648b74435ab99fffd | |
parent | 9a988c4f5bf3d1b26bcbee898340bda756ecad86 (diff) | |
parent | 07fd7e32fd3ab47ebd02c3014ed2bdff7d59e613 (diff) | |
download | soong-ec6dc938c9ddb4e75bc91ae9894cc8a9934a8595.tar.gz |
Merge "rust: Add a default cfg indicating an AOSP build" into main
-rw-r--r-- | rust/config/global.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/config/global.go b/rust/config/global.go index ba085600b..03333b80c 100644 --- a/rust/config/global.go +++ b/rust/config/global.go @@ -53,6 +53,9 @@ var ( "--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{ |