Enable native_bridge_support for libprocessgroup

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 libprocessgroup modules
needed by libutils greylisted library (available for apps targeting
Android version < N).

Bug: http://b/77159578
Test: make
Change-Id: I8d6f33e95e9f7424f5fa12f6fbabafa1d6c37413
This commit is contained in:
dimitry 2019-05-16 14:19:09 +02:00
parent 051d5cba80
commit 49c1f6efea
3 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@ cc_library_headers {
vendor_available: true,
recovery_available: true,
host_supported: true,
native_bridge_supported: true,
export_include_dirs: ["include"],
target: {
linux_bionic: {
@ -25,6 +26,7 @@ cc_library {
host_supported: true,
recovery_available: true,
vendor_available: true,
native_bridge_supported: true,
vndk: {
enabled: true,
support_system_process: true,

View File

@ -21,6 +21,7 @@ cc_library {
// modules should use libprocessgroup which links to the LL-NDK library
// defined below. The static library is built for tests.
vendor_available: false,
native_bridge_supported: true,
srcs: [
"cgroup_controller.cpp",
"cgroup_file.cpp",
@ -55,6 +56,7 @@ cc_library {
llndk_library {
name: "libcgrouprc",
symbol_file: "libcgrouprc.map.txt",
native_bridge_supported: true,
export_include_dirs: [
"include",
],

View File

@ -16,6 +16,7 @@ cc_library_static {
name: "libcgrouprc_format",
host_supported: true,
recovery_available: true,
native_bridge_supported: true,
srcs: [
"cgroup_controller.cpp",
],