aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2020-07-07 13:20:14 -0700
committerJoel Galenson <jgalenson@google.com>2020-07-07 13:38:23 -0700
commite5254a5accf1ff6cd9c937bebe51ce335c6df106 (patch)
tree6b2905c58e268e2fd7bc0ba58ba35c581c0d5106 /Android.bp
parent424f1b4adc264bae70d5fe95e74a87437315ed01 (diff)
downloadgetrandom-e5254a5accf1ff6cd9c937bebe51ce335c6df106.tar.gz
Add Android.bp
Change-Id: I951949c24133b92f897b9c977cadca3502ac4222
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ce8ff31
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,13 @@
+// This file is generated by cargo2android.py --device --run.
+
+rust_library {
+ name: "libgetrandom",
+ host_supported: true,
+ crate_name: "getrandom",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libcfg_if",
+ "liblibc",
+ ],
+}