aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-30 16:33:14 -0700
committerChih-Hung Hsieh <chh@google.com>2020-10-30 17:13:05 -0700
commit27ce6de4e80fe614f6f828fb503c44f510cf611f (patch)
tree2d6bfb6e190e39ffd849e8863bb973c2f9206f80 /Android.bp
parent99daf7ab45e2f51e4d6d1b7b7c73646d1fc27a02 (diff)
downloadandroid_log-sys-27ce6de4e80fe614f6f828fb503c44f510cf611f.tar.gz
Use cargo2android.py with a patch file.
* No need to manually fix the .bp file after a version upgrade. Bug: 172093078 Test: make and regenerate .bp Change-Id: I24e11307a4897e00e2fa8030fe108f168e1f2abe
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 82472e5..64302ac 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,11 +1,11 @@
-// This file is generated by cargo2android.py --run --dependencies --device --no-host.
+// This file is generated by cargo2android.py --run --dependencies --device --patch=patches/Android.bp.patch.
rust_library {
name: "libandroid_log_sys",
+ host_supported: true,
crate_name: "android_log_sys",
srcs: ["src/lib.rs"],
edition: "2015",
- host_supported: true,
target: {
linux_glibc: {
// liblog is not added as a dependency for linux_glibc target