Revert "Revert "Add filegroup support to notice property.""
am: e5f17d6c0a

Change-Id: I35523e1f145ef7a8bed8fee5525be464a1f23376
diff --git a/arm/Android.bp b/arm/Android.bp
index 1bc7040..3fb0f65 100644
--- a/arm/Android.bp
+++ b/arm/Android.bp
@@ -1338,7 +1338,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libaudioroute.so.txt",
+    notice: ":vndk-v27-libaudioroute-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libaudioroute.so"],
@@ -1403,7 +1403,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcap.so.txt",
+    notice: ":vndk-v27-libcap-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcap.so"],
@@ -1420,7 +1420,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcrypto.so.txt",
+    notice: ":vndk-v27-libcrypto-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcrypto.so"],
@@ -1453,7 +1453,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcurl.so.txt",
+    notice: ":vndk-v27-libcurl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcurl.so"],
@@ -1502,7 +1502,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libevent.so.txt",
+    notice: ":vndk-v27-libevent-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libevent.so"],
@@ -1519,7 +1519,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexif.so.txt",
+    notice: ":vndk-v27-libexif-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libexif.so"],
@@ -1536,7 +1536,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexpat.so.txt",
+    notice: ":vndk-v27-libexpat-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libexpat.so"],
@@ -1601,7 +1601,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware_legacy.so.txt",
+    notice: ":vndk-v27-libhardware_legacy-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libhardware_legacy.so"],
@@ -1634,7 +1634,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_messages.so.txt",
+    notice: ":vndk-v27-libkeymaster_messages-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_messages.so"],
@@ -1651,7 +1651,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_portable.so.txt",
+    notice: ":vndk-v27-libkeymaster_portable-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_portable.so"],
@@ -1668,7 +1668,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_staging.so.txt",
+    notice: ":vndk-v27-libkeymaster_staging-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_staging.so"],
@@ -1685,7 +1685,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_abr.so.txt",
+    notice: ":vndk-v27-libldacBT_abr-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libldacBT_abr.so"],
@@ -1702,7 +1702,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_enc.so.txt",
+    notice: ":vndk-v27-libldacBT_enc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libldacBT_enc.so"],
@@ -1719,7 +1719,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/liblz4.so.txt",
+    notice: ":vndk-v27-liblz4-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/liblz4.so"],
@@ -1736,7 +1736,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_helper.so.txt",
+    notice: ":vndk-v27-libmedia_helper-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libmedia_helper.so"],
@@ -1753,7 +1753,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_omx.so.txt",
+    notice: ":vndk-v27-libmedia_omx-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libmedia_omx.so"],
@@ -1786,7 +1786,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnetutils.so.txt",
+    notice: ":vndk-v27-libnetutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libnetutils.so"],
@@ -1803,7 +1803,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnl.so.txt",
+    notice: ":vndk-v27-libnl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libnl.so"],
@@ -1820,7 +1820,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libopus.so.txt",
+    notice: ":vndk-v27-libopus-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libopus.so"],
@@ -1837,7 +1837,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpagemap.so.txt",
+    notice: ":vndk-v27-libpagemap-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpagemap.so"],
@@ -1854,7 +1854,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpcre2.so.txt",
+    notice: ":vndk-v27-libpcre2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpcre2.so"],
@@ -1871,7 +1871,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpiex.so.txt",
+    notice: ":vndk-v27-libpiex-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpiex.so"],
@@ -1904,7 +1904,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpower.so.txt",
+    notice: ":vndk-v27-libpower-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpower.so"],
@@ -1937,7 +1937,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-full.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-full-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-full.so"],
@@ -1954,7 +1954,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-lite.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-lite-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-lite.so"],
@@ -1987,7 +1987,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsoftkeymasterdevice.so.txt",
+    notice: ":vndk-v27-libsoftkeymasterdevice-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libsoftkeymasterdevice.so"],
@@ -2004,7 +2004,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libspeexresampler.so.txt",
+    notice: ":vndk-v27-libspeexresampler-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libspeexresampler.so"],
@@ -2021,7 +2021,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsqlite.so.txt",
+    notice: ":vndk-v27-libsqlite-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libsqlite.so"],
@@ -2038,7 +2038,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libssl.so.txt",
+    notice: ":vndk-v27-libssl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libssl.so"],
@@ -2055,7 +2055,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_amrnb_common.so.txt",
+    notice: ":vndk-v27-libstagefright_amrnb_common-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_amrnb_common.so"],
@@ -2072,7 +2072,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_enc_common.so.txt",
+    notice: ":vndk-v27-libstagefright_enc_common-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_enc_common.so"],
@@ -2089,7 +2089,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_flacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_flacdec.so"],
@@ -2106,7 +2106,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_foundation.so.txt",
+    notice: ":vndk-v27-libstagefright_foundation-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_foundation.so"],
@@ -2123,7 +2123,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx.so.txt",
+    notice: ":vndk-v27-libstagefright_omx-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_omx.so"],
@@ -2140,7 +2140,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx_utils.so.txt",
+    notice: ":vndk-v27-libstagefright_omx_utils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_omx_utils.so"],
@@ -2157,7 +2157,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_aacdec.so"],
@@ -2174,7 +2174,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_aacenc.so"],
@@ -2191,7 +2191,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrdec.so"],
@@ -2208,7 +2208,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrnbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrnbenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrnbenc.so"],
@@ -2225,7 +2225,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrwbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrwbenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrwbenc.so"],
@@ -2274,7 +2274,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_flacdec.so"],
@@ -2291,7 +2291,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_flacenc.so"],
@@ -2308,7 +2308,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_g711dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_g711dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_g711dec.so"],
@@ -2325,7 +2325,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_gsmdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_gsmdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_gsmdec.so"],
@@ -2358,7 +2358,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mp3dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mp3dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mp3dec.so"],
@@ -2391,7 +2391,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mpeg4dec.so"],
@@ -2408,7 +2408,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4enc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4enc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mpeg4enc.so"],
@@ -2441,7 +2441,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_rawdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_rawdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_rawdec.so"],
@@ -2458,7 +2458,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vorbisdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vorbisdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vorbisdec.so"],
@@ -2475,7 +2475,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vpxdec.so"],
@@ -2492,7 +2492,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vpxenc.so"],
@@ -2557,7 +2557,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyalsa.so.txt",
+    notice: ":vndk-v27-libtinyalsa-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libtinyalsa.so"],
@@ -2574,7 +2574,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyxml2.so.txt",
+    notice: ":vndk-v27-libtinyxml2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libtinyxml2.so"],
@@ -2591,7 +2591,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libui.so.txt",
+    notice: ":vndk-v27-libui-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libui.so"],
@@ -2656,7 +2656,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libvorbisidec.so.txt",
+    notice: ":vndk-v27-libvorbisidec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libvorbisidec.so"],
@@ -2689,7 +2689,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libxml2.so.txt",
+    notice: ":vndk-v27-libxml2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libxml2.so"],
@@ -2976,7 +2976,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libblas.so.txt",
+    notice: ":vndk-v27-libblas-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libblas.so"],
@@ -2994,7 +2994,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libc++.so.txt",
+    notice: ":vndk-v27-libc++-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libc++.so"],
@@ -3012,7 +3012,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcompiler_rt.so.txt",
+    notice: ":vndk-v27-libcompiler_rt-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libcompiler_rt.so"],
@@ -3030,7 +3030,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcutils.so.txt",
+    notice: ":vndk-v27-libcutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libcutils.so"],
@@ -3048,7 +3048,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware.so.txt",
+    notice: ":vndk-v27-libhardware-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libhardware.so"],
@@ -3117,7 +3117,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhwbinder.so.txt",
+    notice: ":vndk-v27-libhwbinder-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libhwbinder.so"],
@@ -3169,7 +3169,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libunwind.so.txt",
+    notice: ":vndk-v27-libunwind-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libunwind.so"],
@@ -3187,7 +3187,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libutils.so.txt",
+    notice: ":vndk-v27-libutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libutils.so"],
@@ -3205,7 +3205,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libz.so.txt",
+    notice: ":vndk-v27-libz-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libz.so"],
diff --git a/arm64/Android.bp b/arm64/Android.bp
index 0fc8f81..e7bb750 100644
--- a/arm64/Android.bp
+++ b/arm64/Android.bp
@@ -1481,7 +1481,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libaudioroute.so.txt",
+    notice: ":vndk-v27-libaudioroute-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libaudioroute.so"],
@@ -1554,7 +1554,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcap.so.txt",
+    notice: ":vndk-v27-libcap-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcap.so"],
@@ -1573,7 +1573,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcrypto.so.txt",
+    notice: ":vndk-v27-libcrypto-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcrypto.so"],
@@ -1610,7 +1610,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcurl.so.txt",
+    notice: ":vndk-v27-libcurl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libcurl.so"],
@@ -1665,7 +1665,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libevent.so.txt",
+    notice: ":vndk-v27-libevent-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libevent.so"],
@@ -1684,7 +1684,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexif.so.txt",
+    notice: ":vndk-v27-libexif-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libexif.so"],
@@ -1703,7 +1703,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexpat.so.txt",
+    notice: ":vndk-v27-libexpat-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libexpat.so"],
@@ -1776,7 +1776,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware_legacy.so.txt",
+    notice: ":vndk-v27-libhardware_legacy-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libhardware_legacy.so"],
@@ -1813,7 +1813,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_messages.so.txt",
+    notice: ":vndk-v27-libkeymaster_messages-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_messages.so"],
@@ -1832,7 +1832,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_portable.so.txt",
+    notice: ":vndk-v27-libkeymaster_portable-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_portable.so"],
@@ -1851,7 +1851,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_staging.so.txt",
+    notice: ":vndk-v27-libkeymaster_staging-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libkeymaster_staging.so"],
@@ -1870,7 +1870,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_abr.so.txt",
+    notice: ":vndk-v27-libldacBT_abr-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libldacBT_abr.so"],
@@ -1889,7 +1889,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_enc.so.txt",
+    notice: ":vndk-v27-libldacBT_enc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libldacBT_enc.so"],
@@ -1908,7 +1908,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/liblz4.so.txt",
+    notice: ":vndk-v27-liblz4-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/liblz4.so"],
@@ -1927,7 +1927,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_helper.so.txt",
+    notice: ":vndk-v27-libmedia_helper-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libmedia_helper.so"],
@@ -1946,7 +1946,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_omx.so.txt",
+    notice: ":vndk-v27-libmedia_omx-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libmedia_omx.so"],
@@ -1983,7 +1983,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnetutils.so.txt",
+    notice: ":vndk-v27-libnetutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libnetutils.so"],
@@ -2002,7 +2002,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnl.so.txt",
+    notice: ":vndk-v27-libnl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libnl.so"],
@@ -2021,7 +2021,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libopus.so.txt",
+    notice: ":vndk-v27-libopus-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libopus.so"],
@@ -2040,7 +2040,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpagemap.so.txt",
+    notice: ":vndk-v27-libpagemap-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpagemap.so"],
@@ -2059,7 +2059,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpcre2.so.txt",
+    notice: ":vndk-v27-libpcre2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpcre2.so"],
@@ -2078,7 +2078,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpiex.so.txt",
+    notice: ":vndk-v27-libpiex-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpiex.so"],
@@ -2115,7 +2115,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpower.so.txt",
+    notice: ":vndk-v27-libpower-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libpower.so"],
@@ -2152,7 +2152,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-full.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-full-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-full.so"],
@@ -2171,7 +2171,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-lite.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-lite-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-lite.so"],
@@ -2208,7 +2208,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsoftkeymasterdevice.so.txt",
+    notice: ":vndk-v27-libsoftkeymasterdevice-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libsoftkeymasterdevice.so"],
@@ -2227,7 +2227,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libspeexresampler.so.txt",
+    notice: ":vndk-v27-libspeexresampler-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libspeexresampler.so"],
@@ -2246,7 +2246,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsqlite.so.txt",
+    notice: ":vndk-v27-libsqlite-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libsqlite.so"],
@@ -2265,7 +2265,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libssl.so.txt",
+    notice: ":vndk-v27-libssl-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libssl.so"],
@@ -2284,7 +2284,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_amrnb_common.so.txt",
+    notice: ":vndk-v27-libstagefright_amrnb_common-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_amrnb_common.so"],
@@ -2303,7 +2303,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_enc_common.so.txt",
+    notice: ":vndk-v27-libstagefright_enc_common-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_enc_common.so"],
@@ -2322,7 +2322,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_flacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_flacdec.so"],
@@ -2341,7 +2341,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_foundation.so.txt",
+    notice: ":vndk-v27-libstagefright_foundation-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_foundation.so"],
@@ -2360,7 +2360,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx.so.txt",
+    notice: ":vndk-v27-libstagefright_omx-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_omx.so"],
@@ -2379,7 +2379,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx_utils.so.txt",
+    notice: ":vndk-v27-libstagefright_omx_utils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_omx_utils.so"],
@@ -2398,7 +2398,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_aacdec.so"],
@@ -2414,7 +2414,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_aacenc.so"],
@@ -2430,7 +2430,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrdec.so"],
@@ -2446,7 +2446,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrnbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrnbenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrnbenc.so"],
@@ -2462,7 +2462,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrwbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrwbenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_amrwbenc.so"],
@@ -2508,7 +2508,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_flacdec.so"],
@@ -2524,7 +2524,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_flacenc.so"],
@@ -2540,7 +2540,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_g711dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_g711dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_g711dec.so"],
@@ -2556,7 +2556,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_gsmdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_gsmdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_gsmdec.so"],
@@ -2587,7 +2587,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mp3dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mp3dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mp3dec.so"],
@@ -2618,7 +2618,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4dec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mpeg4dec.so"],
@@ -2634,7 +2634,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4enc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4enc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_mpeg4enc.so"],
@@ -2665,7 +2665,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_rawdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_rawdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_rawdec.so"],
@@ -2681,7 +2681,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vorbisdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vorbisdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vorbisdec.so"],
@@ -2697,7 +2697,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxdec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vpxdec.so"],
@@ -2713,7 +2713,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxenc-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libstagefright_soft_vpxenc.so"],
@@ -2783,7 +2783,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyalsa.so.txt",
+    notice: ":vndk-v27-libtinyalsa-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libtinyalsa.so"],
@@ -2802,7 +2802,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyxml2.so.txt",
+    notice: ":vndk-v27-libtinyxml2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libtinyxml2.so"],
@@ -2821,7 +2821,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libui.so.txt",
+    notice: ":vndk-v27-libui-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libui.so"],
@@ -2894,7 +2894,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libvorbisidec.so.txt",
+    notice: ":vndk-v27-libvorbisidec-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libvorbisidec.so"],
@@ -2931,7 +2931,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libxml2.so.txt",
+    notice: ":vndk-v27-libxml2-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-core/libxml2.so"],
@@ -3276,7 +3276,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libblas.so.txt",
+    notice: ":vndk-v27-libblas-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libblas.so"],
@@ -3296,7 +3296,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libc++.so.txt",
+    notice: ":vndk-v27-libc++-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libc++.so"],
@@ -3316,7 +3316,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcompiler_rt.so.txt",
+    notice: ":vndk-v27-libcompiler_rt-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libcompiler_rt.so"],
@@ -3336,7 +3336,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcutils.so.txt",
+    notice: ":vndk-v27-libcutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libcutils.so"],
@@ -3356,7 +3356,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware.so.txt",
+    notice: ":vndk-v27-libhardware-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libhardware.so"],
@@ -3433,7 +3433,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhwbinder.so.txt",
+    notice: ":vndk-v27-libhwbinder-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libhwbinder.so"],
@@ -3491,7 +3491,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libunwind.so.txt",
+    notice: ":vndk-v27-libunwind-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libunwind.so"],
@@ -3511,7 +3511,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libutils.so.txt",
+    notice: ":vndk-v27-libutils-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libutils.so"],
@@ -3531,7 +3531,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libz.so.txt",
+    notice: ":vndk-v27-libz-notice",
     arch: {
         arm: {
             srcs: ["arch-arm-armv7-a-neon/shared/vndk-sp/libz.so"],
diff --git a/common/Android.bp b/common/Android.bp
new file mode 100644
index 0000000..25e72bb
--- /dev/null
+++ b/common/Android.bp
@@ -0,0 +1,325 @@
+filegroup {
+    name: "vndk-v27-libaudioroute-notice",
+    srcs: ["NOTICE_FILES/libaudioroute.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libcap-notice",
+    srcs: ["NOTICE_FILES/libcap.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libcrypto-notice",
+    srcs: ["NOTICE_FILES/libcrypto.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libcurl-notice",
+    srcs: ["NOTICE_FILES/libcurl.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libevent-notice",
+    srcs: ["NOTICE_FILES/libevent.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libexif-notice",
+    srcs: ["NOTICE_FILES/libexif.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libexpat-notice",
+    srcs: ["NOTICE_FILES/libexpat.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libhardware_legacy-notice",
+    srcs: ["NOTICE_FILES/libhardware_legacy.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libkeymaster_messages-notice",
+    srcs: ["NOTICE_FILES/libkeymaster_messages.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libkeymaster_portable-notice",
+    srcs: ["NOTICE_FILES/libkeymaster_portable.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libkeymaster_staging-notice",
+    srcs: ["NOTICE_FILES/libkeymaster_staging.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libldacBT_abr-notice",
+    srcs: ["NOTICE_FILES/libldacBT_abr.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libldacBT_enc-notice",
+    srcs: ["NOTICE_FILES/libldacBT_enc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-liblz4-notice",
+    srcs: ["NOTICE_FILES/liblz4.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libmedia_helper-notice",
+    srcs: ["NOTICE_FILES/libmedia_helper.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libmedia_omx-notice",
+    srcs: ["NOTICE_FILES/libmedia_omx.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libnetutils-notice",
+    srcs: ["NOTICE_FILES/libnetutils.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libnl-notice",
+    srcs: ["NOTICE_FILES/libnl.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libopus-notice",
+    srcs: ["NOTICE_FILES/libopus.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libpagemap-notice",
+    srcs: ["NOTICE_FILES/libpagemap.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libpcre2-notice",
+    srcs: ["NOTICE_FILES/libpcre2.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libpiex-notice",
+    srcs: ["NOTICE_FILES/libpiex.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libpower-notice",
+    srcs: ["NOTICE_FILES/libpower.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libprotobuf-cpp-full-notice",
+    srcs: ["NOTICE_FILES/libprotobuf-cpp-full.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libprotobuf-cpp-lite-notice",
+    srcs: ["NOTICE_FILES/libprotobuf-cpp-lite.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libsoftkeymasterdevice-notice",
+    srcs: ["NOTICE_FILES/libsoftkeymasterdevice.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libspeexresampler-notice",
+    srcs: ["NOTICE_FILES/libspeexresampler.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libsqlite-notice",
+    srcs: ["NOTICE_FILES/libsqlite.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libssl-notice",
+    srcs: ["NOTICE_FILES/libssl.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_amrnb_common-notice",
+    srcs: ["NOTICE_FILES/libstagefright_amrnb_common.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_enc_common-notice",
+    srcs: ["NOTICE_FILES/libstagefright_enc_common.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_flacdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_flacdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_foundation-notice",
+    srcs: ["NOTICE_FILES/libstagefright_foundation.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_omx-notice",
+    srcs: ["NOTICE_FILES/libstagefright_omx.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_omx_utils-notice",
+    srcs: ["NOTICE_FILES/libstagefright_omx_utils.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_aacdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_aacdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_aacenc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_aacenc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_amrdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_amrdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_amrnbenc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_amrnbenc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_amrwbenc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_amrwbenc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_flacdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_flacdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_flacenc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_flacenc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_g711dec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_g711dec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_gsmdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_gsmdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_mp3dec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_mp3dec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_mpeg4dec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_mpeg4dec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_mpeg4enc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_mpeg4enc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_rawdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_rawdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_vorbisdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_vorbisdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_vpxdec-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_vpxdec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libstagefright_soft_vpxenc-notice",
+    srcs: ["NOTICE_FILES/libstagefright_soft_vpxenc.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libtinyalsa-notice",
+    srcs: ["NOTICE_FILES/libtinyalsa.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libtinyxml2-notice",
+    srcs: ["NOTICE_FILES/libtinyxml2.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libui-notice",
+    srcs: ["NOTICE_FILES/libui.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libvorbisidec-notice",
+    srcs: ["NOTICE_FILES/libvorbisidec.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libxml2-notice",
+    srcs: ["NOTICE_FILES/libxml2.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libblas-notice",
+    srcs: ["NOTICE_FILES/libblas.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libc++-notice",
+    srcs: ["NOTICE_FILES/libc++.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libcompiler_rt-notice",
+    srcs: ["NOTICE_FILES/libcompiler_rt.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libcutils-notice",
+    srcs: ["NOTICE_FILES/libcutils.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libhardware-notice",
+    srcs: ["NOTICE_FILES/libhardware.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libhwbinder-notice",
+    srcs: ["NOTICE_FILES/libhwbinder.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libunwind-notice",
+    srcs: ["NOTICE_FILES/libunwind.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libutils-notice",
+    srcs: ["NOTICE_FILES/libutils.so.txt"],
+}
+
+filegroup {
+    name: "vndk-v27-libz-notice",
+    srcs: ["NOTICE_FILES/libz.so.txt"],
+}
+
diff --git a/x86/Android.bp b/x86/Android.bp
index 631662f..0ca09e6 100644
--- a/x86/Android.bp
+++ b/x86/Android.bp
@@ -1338,7 +1338,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libaudioroute.so.txt",
+    notice: ":vndk-v27-libaudioroute-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libaudioroute.so"],
@@ -1403,7 +1403,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcap.so.txt",
+    notice: ":vndk-v27-libcap-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libcap.so"],
@@ -1420,7 +1420,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcrypto.so.txt",
+    notice: ":vndk-v27-libcrypto-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libcrypto.so"],
@@ -1453,7 +1453,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcurl.so.txt",
+    notice: ":vndk-v27-libcurl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libcurl.so"],
@@ -1502,7 +1502,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libevent.so.txt",
+    notice: ":vndk-v27-libevent-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libevent.so"],
@@ -1519,7 +1519,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexif.so.txt",
+    notice: ":vndk-v27-libexif-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libexif.so"],
@@ -1536,7 +1536,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexpat.so.txt",
+    notice: ":vndk-v27-libexpat-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libexpat.so"],
@@ -1601,7 +1601,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware_legacy.so.txt",
+    notice: ":vndk-v27-libhardware_legacy-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libhardware_legacy.so"],
@@ -1634,7 +1634,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_messages.so.txt",
+    notice: ":vndk-v27-libkeymaster_messages-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libkeymaster_messages.so"],
@@ -1651,7 +1651,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_portable.so.txt",
+    notice: ":vndk-v27-libkeymaster_portable-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libkeymaster_portable.so"],
@@ -1668,7 +1668,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_staging.so.txt",
+    notice: ":vndk-v27-libkeymaster_staging-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libkeymaster_staging.so"],
@@ -1685,7 +1685,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_abr.so.txt",
+    notice: ":vndk-v27-libldacBT_abr-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libldacBT_abr.so"],
@@ -1702,7 +1702,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_enc.so.txt",
+    notice: ":vndk-v27-libldacBT_enc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libldacBT_enc.so"],
@@ -1719,7 +1719,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/liblz4.so.txt",
+    notice: ":vndk-v27-liblz4-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/liblz4.so"],
@@ -1736,7 +1736,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_helper.so.txt",
+    notice: ":vndk-v27-libmedia_helper-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libmedia_helper.so"],
@@ -1753,7 +1753,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_omx.so.txt",
+    notice: ":vndk-v27-libmedia_omx-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libmedia_omx.so"],
@@ -1786,7 +1786,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnetutils.so.txt",
+    notice: ":vndk-v27-libnetutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libnetutils.so"],
@@ -1803,7 +1803,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnl.so.txt",
+    notice: ":vndk-v27-libnl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libnl.so"],
@@ -1820,7 +1820,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libopus.so.txt",
+    notice: ":vndk-v27-libopus-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libopus.so"],
@@ -1837,7 +1837,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpagemap.so.txt",
+    notice: ":vndk-v27-libpagemap-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libpagemap.so"],
@@ -1854,7 +1854,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpcre2.so.txt",
+    notice: ":vndk-v27-libpcre2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libpcre2.so"],
@@ -1871,7 +1871,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpiex.so.txt",
+    notice: ":vndk-v27-libpiex-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libpiex.so"],
@@ -1904,7 +1904,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpower.so.txt",
+    notice: ":vndk-v27-libpower-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libpower.so"],
@@ -1937,7 +1937,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-full.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-full-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libprotobuf-cpp-full.so"],
@@ -1954,7 +1954,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-lite.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-lite-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libprotobuf-cpp-lite.so"],
@@ -1987,7 +1987,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsoftkeymasterdevice.so.txt",
+    notice: ":vndk-v27-libsoftkeymasterdevice-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libsoftkeymasterdevice.so"],
@@ -2004,7 +2004,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libspeexresampler.so.txt",
+    notice: ":vndk-v27-libspeexresampler-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libspeexresampler.so"],
@@ -2021,7 +2021,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsqlite.so.txt",
+    notice: ":vndk-v27-libsqlite-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libsqlite.so"],
@@ -2038,7 +2038,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libssl.so.txt",
+    notice: ":vndk-v27-libssl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libssl.so"],
@@ -2055,7 +2055,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_amrnb_common.so.txt",
+    notice: ":vndk-v27-libstagefright_amrnb_common-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_amrnb_common.so"],
@@ -2072,7 +2072,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_enc_common.so.txt",
+    notice: ":vndk-v27-libstagefright_enc_common-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_enc_common.so"],
@@ -2089,7 +2089,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_flacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_flacdec.so"],
@@ -2106,7 +2106,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_foundation.so.txt",
+    notice: ":vndk-v27-libstagefright_foundation-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_foundation.so"],
@@ -2123,7 +2123,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx.so.txt",
+    notice: ":vndk-v27-libstagefright_omx-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_omx.so"],
@@ -2140,7 +2140,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx_utils.so.txt",
+    notice: ":vndk-v27-libstagefright_omx_utils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_omx_utils.so"],
@@ -2157,7 +2157,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_aacdec.so"],
@@ -2174,7 +2174,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_aacenc.so"],
@@ -2191,7 +2191,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_amrdec.so"],
@@ -2208,7 +2208,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrnbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrnbenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_amrnbenc.so"],
@@ -2225,7 +2225,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrwbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrwbenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_amrwbenc.so"],
@@ -2274,7 +2274,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_flacdec.so"],
@@ -2291,7 +2291,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_flacenc.so"],
@@ -2308,7 +2308,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_g711dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_g711dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_g711dec.so"],
@@ -2325,7 +2325,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_gsmdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_gsmdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_gsmdec.so"],
@@ -2358,7 +2358,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mp3dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mp3dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_mp3dec.so"],
@@ -2391,7 +2391,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_mpeg4dec.so"],
@@ -2408,7 +2408,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4enc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4enc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_mpeg4enc.so"],
@@ -2441,7 +2441,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_rawdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_rawdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_rawdec.so"],
@@ -2458,7 +2458,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vorbisdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vorbisdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_vorbisdec.so"],
@@ -2475,7 +2475,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_vpxdec.so"],
@@ -2492,7 +2492,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libstagefright_soft_vpxenc.so"],
@@ -2557,7 +2557,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyalsa.so.txt",
+    notice: ":vndk-v27-libtinyalsa-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libtinyalsa.so"],
@@ -2574,7 +2574,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyxml2.so.txt",
+    notice: ":vndk-v27-libtinyxml2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libtinyxml2.so"],
@@ -2591,7 +2591,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libui.so.txt",
+    notice: ":vndk-v27-libui-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libui.so"],
@@ -2656,7 +2656,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libvorbisidec.so.txt",
+    notice: ":vndk-v27-libvorbisidec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libvorbisidec.so"],
@@ -2689,7 +2689,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libxml2.so.txt",
+    notice: ":vndk-v27-libxml2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-core/libxml2.so"],
@@ -2976,7 +2976,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libblas.so.txt",
+    notice: ":vndk-v27-libblas-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libblas.so"],
@@ -2994,7 +2994,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libc++.so.txt",
+    notice: ":vndk-v27-libc++-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libc++.so"],
@@ -3012,7 +3012,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcompiler_rt.so.txt",
+    notice: ":vndk-v27-libcompiler_rt-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libcompiler_rt.so"],
@@ -3030,7 +3030,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcutils.so.txt",
+    notice: ":vndk-v27-libcutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libcutils.so"],
@@ -3048,7 +3048,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware.so.txt",
+    notice: ":vndk-v27-libhardware-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libhardware.so"],
@@ -3117,7 +3117,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhwbinder.so.txt",
+    notice: ":vndk-v27-libhwbinder-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libhwbinder.so"],
@@ -3169,7 +3169,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libunwind.so.txt",
+    notice: ":vndk-v27-libunwind-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libunwind.so"],
@@ -3187,7 +3187,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libutils.so.txt",
+    notice: ":vndk-v27-libutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libutils.so"],
@@ -3205,7 +3205,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libz.so.txt",
+    notice: ":vndk-v27-libz-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86/shared/vndk-sp/libz.so"],
diff --git a/x86_64/Android.bp b/x86_64/Android.bp
index 56db0c3..7830f0f 100644
--- a/x86_64/Android.bp
+++ b/x86_64/Android.bp
@@ -1481,7 +1481,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libaudioroute.so.txt",
+    notice: ":vndk-v27-libaudioroute-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libaudioroute.so"],
@@ -1554,7 +1554,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcap.so.txt",
+    notice: ":vndk-v27-libcap-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libcap.so"],
@@ -1573,7 +1573,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcrypto.so.txt",
+    notice: ":vndk-v27-libcrypto-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libcrypto.so"],
@@ -1610,7 +1610,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libcurl.so.txt",
+    notice: ":vndk-v27-libcurl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libcurl.so"],
@@ -1665,7 +1665,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libevent.so.txt",
+    notice: ":vndk-v27-libevent-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libevent.so"],
@@ -1684,7 +1684,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexif.so.txt",
+    notice: ":vndk-v27-libexif-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libexif.so"],
@@ -1703,7 +1703,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libexpat.so.txt",
+    notice: ":vndk-v27-libexpat-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libexpat.so"],
@@ -1776,7 +1776,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware_legacy.so.txt",
+    notice: ":vndk-v27-libhardware_legacy-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libhardware_legacy.so"],
@@ -1813,7 +1813,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_messages.so.txt",
+    notice: ":vndk-v27-libkeymaster_messages-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libkeymaster_messages.so"],
@@ -1832,7 +1832,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_portable.so.txt",
+    notice: ":vndk-v27-libkeymaster_portable-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libkeymaster_portable.so"],
@@ -1851,7 +1851,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libkeymaster_staging.so.txt",
+    notice: ":vndk-v27-libkeymaster_staging-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libkeymaster_staging.so"],
@@ -1870,7 +1870,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_abr.so.txt",
+    notice: ":vndk-v27-libldacBT_abr-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libldacBT_abr.so"],
@@ -1889,7 +1889,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libldacBT_enc.so.txt",
+    notice: ":vndk-v27-libldacBT_enc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libldacBT_enc.so"],
@@ -1908,7 +1908,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/liblz4.so.txt",
+    notice: ":vndk-v27-liblz4-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/liblz4.so"],
@@ -1927,7 +1927,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_helper.so.txt",
+    notice: ":vndk-v27-libmedia_helper-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libmedia_helper.so"],
@@ -1946,7 +1946,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libmedia_omx.so.txt",
+    notice: ":vndk-v27-libmedia_omx-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libmedia_omx.so"],
@@ -1983,7 +1983,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnetutils.so.txt",
+    notice: ":vndk-v27-libnetutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libnetutils.so"],
@@ -2002,7 +2002,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libnl.so.txt",
+    notice: ":vndk-v27-libnl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libnl.so"],
@@ -2021,7 +2021,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libopus.so.txt",
+    notice: ":vndk-v27-libopus-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libopus.so"],
@@ -2040,7 +2040,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpagemap.so.txt",
+    notice: ":vndk-v27-libpagemap-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libpagemap.so"],
@@ -2059,7 +2059,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpcre2.so.txt",
+    notice: ":vndk-v27-libpcre2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libpcre2.so"],
@@ -2078,7 +2078,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpiex.so.txt",
+    notice: ":vndk-v27-libpiex-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libpiex.so"],
@@ -2115,7 +2115,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libpower.so.txt",
+    notice: ":vndk-v27-libpower-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libpower.so"],
@@ -2152,7 +2152,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-full.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-full-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libprotobuf-cpp-full.so"],
@@ -2171,7 +2171,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libprotobuf-cpp-lite.so.txt",
+    notice: ":vndk-v27-libprotobuf-cpp-lite-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libprotobuf-cpp-lite.so"],
@@ -2208,7 +2208,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsoftkeymasterdevice.so.txt",
+    notice: ":vndk-v27-libsoftkeymasterdevice-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libsoftkeymasterdevice.so"],
@@ -2227,7 +2227,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libspeexresampler.so.txt",
+    notice: ":vndk-v27-libspeexresampler-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libspeexresampler.so"],
@@ -2246,7 +2246,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libsqlite.so.txt",
+    notice: ":vndk-v27-libsqlite-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libsqlite.so"],
@@ -2265,7 +2265,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libssl.so.txt",
+    notice: ":vndk-v27-libssl-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libssl.so"],
@@ -2284,7 +2284,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_amrnb_common.so.txt",
+    notice: ":vndk-v27-libstagefright_amrnb_common-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_amrnb_common.so"],
@@ -2303,7 +2303,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_enc_common.so.txt",
+    notice: ":vndk-v27-libstagefright_enc_common-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_enc_common.so"],
@@ -2322,7 +2322,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_flacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_flacdec.so"],
@@ -2341,7 +2341,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_foundation.so.txt",
+    notice: ":vndk-v27-libstagefright_foundation-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_foundation.so"],
@@ -2360,7 +2360,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx.so.txt",
+    notice: ":vndk-v27-libstagefright_omx-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_omx.so"],
@@ -2379,7 +2379,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_omx_utils.so.txt",
+    notice: ":vndk-v27-libstagefright_omx_utils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_omx_utils.so"],
@@ -2398,7 +2398,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_aacdec.so"],
@@ -2414,7 +2414,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_aacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_aacenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_aacenc.so"],
@@ -2430,7 +2430,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_amrdec.so"],
@@ -2446,7 +2446,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrnbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrnbenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_amrnbenc.so"],
@@ -2462,7 +2462,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_amrwbenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_amrwbenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_amrwbenc.so"],
@@ -2508,7 +2508,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_flacdec.so"],
@@ -2524,7 +2524,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_flacenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_flacenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_flacenc.so"],
@@ -2540,7 +2540,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_g711dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_g711dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_g711dec.so"],
@@ -2556,7 +2556,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_gsmdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_gsmdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_gsmdec.so"],
@@ -2587,7 +2587,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mp3dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mp3dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_mp3dec.so"],
@@ -2618,7 +2618,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4dec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4dec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_mpeg4dec.so"],
@@ -2634,7 +2634,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_mpeg4enc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_mpeg4enc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_mpeg4enc.so"],
@@ -2665,7 +2665,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_rawdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_rawdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_rawdec.so"],
@@ -2681,7 +2681,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vorbisdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vorbisdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_vorbisdec.so"],
@@ -2697,7 +2697,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxdec.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxdec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_vpxdec.so"],
@@ -2713,7 +2713,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libstagefright_soft_vpxenc.so.txt",
+    notice: ":vndk-v27-libstagefright_soft_vpxenc-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libstagefright_soft_vpxenc.so"],
@@ -2783,7 +2783,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyalsa.so.txt",
+    notice: ":vndk-v27-libtinyalsa-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libtinyalsa.so"],
@@ -2802,7 +2802,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libtinyxml2.so.txt",
+    notice: ":vndk-v27-libtinyxml2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libtinyxml2.so"],
@@ -2821,7 +2821,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libui.so.txt",
+    notice: ":vndk-v27-libui-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libui.so"],
@@ -2894,7 +2894,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libvorbisidec.so.txt",
+    notice: ":vndk-v27-libvorbisidec-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libvorbisidec.so"],
@@ -2931,7 +2931,7 @@
     vndk: {
         enabled: true,
     },
-    notice: "../common/NOTICE_FILES/libxml2.so.txt",
+    notice: ":vndk-v27-libxml2-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-core/libxml2.so"],
@@ -3276,7 +3276,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libblas.so.txt",
+    notice: ":vndk-v27-libblas-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libblas.so"],
@@ -3296,7 +3296,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libc++.so.txt",
+    notice: ":vndk-v27-libc++-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libc++.so"],
@@ -3316,7 +3316,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcompiler_rt.so.txt",
+    notice: ":vndk-v27-libcompiler_rt-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libcompiler_rt.so"],
@@ -3336,7 +3336,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libcutils.so.txt",
+    notice: ":vndk-v27-libcutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libcutils.so"],
@@ -3356,7 +3356,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhardware.so.txt",
+    notice: ":vndk-v27-libhardware-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libhardware.so"],
@@ -3433,7 +3433,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libhwbinder.so.txt",
+    notice: ":vndk-v27-libhwbinder-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libhwbinder.so"],
@@ -3491,7 +3491,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libunwind.so.txt",
+    notice: ":vndk-v27-libunwind-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libunwind.so"],
@@ -3511,7 +3511,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libutils.so.txt",
+    notice: ":vndk-v27-libutils-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libutils.so"],
@@ -3531,7 +3531,7 @@
         enabled: true,
         support_system_process: true,
     },
-    notice: "../common/NOTICE_FILES/libz.so.txt",
+    notice: ":vndk-v27-libz-notice",
     arch: {
         x86: {
             srcs: ["arch-x86-x86_64/shared/vndk-sp/libz.so"],