axolotl: import public.libraries.txt for defining native lib namespaces
See: https://source.android.com/docs/core/permissions/namespaces_libraries?hl=en
Change-Id: Ib4634427835441a03af5a7113d5fb72f89044477
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/device.mk b/device.mk
index 0e1db0a..02d993a 100644
--- a/device.mk
+++ b/device.mk
@@ -358,6 +358,14 @@
$(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
$(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
+# Namespaces - Native Libraries
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
+
+# Namespaces - Soong
+PRODUCT_SOONG_NAMESPACES += \
+ $(LOCAL_PATH) \
+
# Net
PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor \
@@ -433,10 +441,6 @@
android.hardware.sensors@2.0.vendor \
libsensorndkbridge \
-# Soong namespaces
-PRODUCT_SOONG_NAMESPACES += \
- $(LOCAL_PATH) \
-
# Telephony
PRODUCT_PACKAGES += \
ims-ext-common \