commit | 75d711270053226fea61534cac871d8967adb744 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Wed Oct 09 22:20:41 2024 +0000 |
committer | Matthew Maurer <mmaurer@google.com> | Thu Oct 24 23:44:14 2024 +0000 |
tree | b6f5176aea6d6d846e7a68a9e8bc71b298c4702b | |
parent | cf0037d817cac194007461e60a744186e3f672b8 [diff] [blame] |
rust: Bind to NDK subset of libbinder Test: cargo build --target aarch64-linux-android Bug: 368303574 Change-Id: Id4db842d5dff195393e1ce563479c58b91e3e879
diff --git a/libs/binder/rust/build.rs b/libs/binder/rust/build.rs new file mode 100644 index 0000000..f3e6b53 --- /dev/null +++ b/libs/binder/rust/build.rs
@@ -0,0 +1,4 @@ +fn main() { + // Anything with cargo is NDK only. If you want to access anything else, use Soong. + println!("cargo::rustc-cfg=android_ndk"); +}