diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-11-27 10:28:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-11-27 10:28:27 +0000 |
commit | d0951e49ee26ea05021f373e555666b61963c249 (patch) | |
tree | 92671ffe16c29fca20e0772351d41ac6799666d4 | |
parent | b57bbdeeae6ccff55c643c07892f3c0be47e3934 (diff) | |
parent | f9558d33aa771fd38a16d585b137cba6aa4eed57 (diff) | |
download | boringssl-d0951e49ee26ea05021f373e555666b61963c249.tar.gz |
Merge "Sandbox libbssl_sys_src_nostd" into main
-rw-r--r-- | Android.bp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -817,9 +817,10 @@ cc_library_host_static { } // Replace the upstream CMake placeholder with a re-export of all of the local bindgen output. -gensrcs { +genrule { name: "libbssl_sys_src", srcs: ["src/rust/bssl-sys/src/lib.rs"], + out: ["lib.rs"], cmd: "sed 's@^include!(env!(\"BINDGEN_RS_FILE\"));@pub use bssl_sys_raw::*;@' $(in) > $(out)", } @@ -861,9 +862,10 @@ rust_library_host_rlib { ], } -gensrcs { +genrule { name: "libbssl_sys_src_nostd", srcs: [":libbssl_sys_src"], + out: ["lib.rs"], cmd: "(echo '#![no_std]' && cat $(in)) > $(out)", } |