diff options
author | Ivan Lozano <ivanlozano@google.com> | 2019-09-09 14:45:30 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-09 14:45:30 -0700 |
commit | dd695639b1352268e10c49455230f208b52b39ab (patch) | |
tree | dc339373c79bd859efbba8a6c55b3bbdec1409e2 | |
parent | 2388957a87c59b37a99c4dac528850ce36b00834 (diff) | |
parent | da7b119f437d3f03221feb7171de8e0242e95fdc (diff) | |
download | libc-dd695639b1352268e10c49455230f208b52b39ab.tar.gz |
Add libc (rust) build file.
am: da7b119f43
Change-Id: I362ea65ae761a6b97d66b0d92d8a8bd1ff1486d3
-rw-r--r-- | Android.bp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..83153598 --- /dev/null +++ b/Android.bp @@ -0,0 +1,20 @@ +rust_library_rlib { + name: "libc_rust", + crate_name: "libc", + edition: "2015", + stem: "liblibc", + srcs: ["src/lib.rs"], + host_supported: true, + + features: [ + "std", + "default", + ], + flags: [ + "--cfg libc_priv_mod_use", + "--cfg libc_union", + "--cfg libc_const_size_of", + "--cfg libc_align", + "--cfg libc_core_cvoid", + ], +} |