From 051d5cba801ada2130159cbe6fa56104e76e1c8b Mon Sep 17 00:00:00 2001 From: dimitry Date: Thu, 16 May 2019 14:17:00 +0200 Subject: [PATCH] Enable native_bridge_support for libcutils Android build system added support for building translated binaries used on natively bridged targets (arm on x86 for example). However in order to avoid building unnecessary binaries and libraries for such architectures most modules do not support native bridge by default. All needed modules have to explicitly indicate if they may be used as part of translated binary build. This change enabled native bridge support for libcutils which is a greylisted library (available for apps targeting Android version < N). Bug: http://b/77159578 Test: make Change-Id: I56fe5e11a884d22714cfc4afb78bec0a352d6370 --- libcutils/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcutils/Android.bp b/libcutils/Android.bp index 619bc567a..319a73aba 100644 --- a/libcutils/Android.bp +++ b/libcutils/Android.bp @@ -34,6 +34,7 @@ cc_library_headers { vendor_available: true, recovery_available: true, host_supported: true, + native_bridge_supported: true, export_include_dirs: ["include"], target: { vendor: { @@ -57,6 +58,7 @@ cc_library { }, recovery_available: true, host_supported: true, + native_bridge_supported: true, srcs: [ "config_utils.cpp", "canned_fs_config.cpp",