Change-Id: I86f9197ba5325d8ae1c85bd010befd86d84ebe50
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
+
+# Shim
+TARGET_LD_SHIM_LIBS += \
+ /system/bin/mediaserver|/vendor/lib/libstagefright_shim.so
+++ /dev/null
-service media /system/bin/mediaserver
- class main
- user media
- group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm
- ioprio rt 4
- writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
- setenv LD_PRELOAD "/vendor/lib/libstagefright_shim.so"
\ No newline at end of file
wpa_supplicant.conf \
android.hardware.wifi@1.0-service.legacy
-# Overriden service definition
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/init/mediaserver.rc:$(TARGET_COPY_OUT_SYSTEM)/etc/init/mediaserver.rc
-
# Properties
-include $(LOCAL_PATH)/system_prop.mk