OSDN Git Service

Mark the module as VNDK or VNDK-SP in Android.bp
authorJustin Yun <justinyun@google.com>
Mon, 24 Jul 2017 06:19:44 +0000 (15:19 +0900)
committerJustin Yun <justinyun@google.com>
Mon, 7 Aug 2017 04:29:51 +0000 (04:29 +0000)
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.

For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.

For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: Iee7f2e14fea4635a64c4e5c5bb50f5d7e2691682

media/libmedia/Android.bp
media/libstagefright/foundation/Android.bp

index fb4fe4b..7abf09f 100644 (file)
@@ -15,6 +15,9 @@ cc_library_headers {
 cc_library {
     name: "libmedia_helper",
     vendor_available: true,
+    vndk: {
+        enabled: true,
+    },
     srcs: ["AudioParameter.cpp", "TypeConverter.cpp"],
     cflags: [
         "-Werror",
index 9108ce1..221af1d 100644 (file)
@@ -7,6 +7,9 @@ cc_library_headers {
 cc_library_shared {
     name: "libstagefright_foundation",
     vendor_available: true,
+    vndk: {
+        enabled: true,
+    },
     include_dirs: [
         "frameworks/av/include",
         "frameworks/native/include",