Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ca92458 authored by Justin Yun's avatar Justin Yun
Browse files

Mark the modules as VNDK-SP in Android.bp

As a VNDK-SP module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK-SP formated as follows:
vndk: {
    enabled: true,
    support_system_process: true,
},

VNDK-SP modules will be installed both in system/lib(64) as normal
and in system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I51fe0859f63ad58b7b91909e7d7d4206443228cd
Change-Id: I51fe0859f63ad58b7b91909e7d7d4206443228cd
(cherry picked from commit aeb68e86)
parent 7f16cad8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ cc_library {
    name: "libbase",
    vendor_available: true,
    host_supported: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    srcs: [
        "file.cpp",
        "logging.cpp",
+4 −0
Original line number Diff line number Diff line
@@ -66,6 +66,10 @@ cc_library_headers {
cc_library {
    name: "libbacktrace",
    vendor_available: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    defaults: ["libbacktrace_common"],
    host_supported: true,

+4 −0
Original line number Diff line number Diff line
@@ -50,6 +50,10 @@ cc_library_headers {
cc_library {
    name: "libcutils",
    vendor_available: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    host_supported: true,
    srcs: [
        "config_utils.c",
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@
cc_library {
    name: "libion",
    vendor_available: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    srcs: ["ion.c"],
    shared_libs: ["liblog"],
    local_include_dirs: [
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,10 @@ cc_library_headers {
cc_library {
    name: "libutils",
    vendor_available: true,
    vndk: {
        enabled: true,
        support_system_process: true,
    },
    host_supported: true,

    srcs: [