aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-06-10 09:54:19 -0700
committerJoel Galenson <jgalenson@google.com>2021-06-10 12:17:58 -0700
commit458d11627b4301f0ff64f671795fe5d3ffb2dd14 (patch)
treee1c05f9e09f6f4d727f8a235baf11625e1ad5e04 /Android.bp
parentcfd462706b84c9ea414d77a354eb8a11e3aeaefe (diff)
downloadandroid_log-sys-458d11627b4301f0ff64f671795fe5d3ffb2dd14.tar.gz
Remove patch.
Use a new cargo2android.py feature to insert a block into the Android.bp file to remove a patch. Test: Build Test: Run cargo2android.py Change-Id: I7348512c8056b0479470696bf0ca2b735ecea0ed
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 48ecfb4..5646c99 100644
--- a/Android.bp
+++ b/Android.bp
@@ -45,12 +45,6 @@ rust_library {
crate_name: "android_log_sys",
srcs: ["src/lib.rs"],
edition: "2015",
- target: {
- linux_glibc: {
- // liblog is not added as a dependency for linux_glibc target
- enabled: false,
- },
- },
apex_available: [
"//apex_available:platform",
"com.android.compos",
@@ -58,4 +52,10 @@ rust_library {
"com.android.virt",
],
min_sdk_version: "29",
+ target: {
+ linux_glibc: {
+ // liblog is not added as a dependency for linux_glibc target
+ enabled: false,
+ },
+ },
}