Enable native_bridge_support for libutils

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 libutils which is a
greylisted library (available for apps targeting Android version < N).

Bug: http://b/77159578
Test: make
Change-Id: I58667558d2a673fc0d882cf623b7a1b6f6f305ec
This commit is contained in:
dimitry 2019-05-16 13:48:17 +02:00
parent 3c94eaad5f
commit 454ba7ec88
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ cc_library_headers {
vendor_available: true,
recovery_available: true,
host_supported: true,
native_bridge_supported: true,
header_libs: [
"liblog_headers",
@ -121,6 +122,7 @@ cc_defaults {
cc_library {
name: "libutils",
defaults: ["libutils_defaults"],
native_bridge_supported: true,
srcs: [
"FileMap.cpp",