1LOCAL_PATH:= $(call my-dir)
2
3ifneq ($(BOARD_USE_CUSTOM_MEDIASERVEREXTENSIONS),true)
4include $(CLEAR_VARS)
5LOCAL_SRC_FILES := register.cpp
6LOCAL_MODULE := libregistermsext
7LOCAL_MODULE_TAGS := optional
8include $(BUILD_STATIC_LIBRARY)
9endif
10
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES:= \
14	main_mediaserver.cpp
15
16LOCAL_SHARED_LIBRARIES := \
17	libaudioflinger \
18	libaudiopolicyservice \
19	libcamera_metadata\
20	libcameraservice \
21	libicuuc \
22	libmedialogservice \
23	libresourcemanagerservice \
24	libcutils \
25	libnbaio \
26	libmedia \
27	libmediaplayerservice \
28	libutils \
29	liblog \
30	libbinder \
31	libsoundtriggerservice \
32	libradioservice
33
34LOCAL_STATIC_LIBRARIES := \
35        libicuandroid_utils \
36        libregistermsext
37
38LOCAL_C_INCLUDES := \
39    frameworks/av/media/libmediaplayerservice \
40    frameworks/av/services/medialog \
41    frameworks/av/services/audioflinger \
42    frameworks/av/services/audiopolicy \
43    frameworks/av/services/audiopolicy/common/managerdefinitions/include \
44    frameworks/av/services/audiopolicy/common/include \
45    frameworks/av/services/audiopolicy/engine/interface \
46    frameworks/av/services/camera/libcameraservice \
47    frameworks/av/services/mediaresourcemanager \
48    $(call include-path-for, audio-utils) \
49    frameworks/av/services/soundtrigger \
50    frameworks/av/services/radio \
51    external/sonic
52
53LOCAL_MODULE:= mediaserver
54LOCAL_32_BIT_ONLY := true
55
56include $(BUILD_EXECUTABLE)
57