From 458d11627b4301f0ff64f671795fe5d3ffb2dd14 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Thu, 10 Jun 2021 09:54:19 -0700 Subject: 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 --- Android.bp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Android.bp') 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, + }, + }, } -- cgit v1.2.3