1cc_library_shared {
2
3    srcs: [
4        "ActivityManager.cpp",
5        "DeathNotifier.cpp",
6        "MediaPlayerFactory.cpp",
7        "MediaPlayerService.cpp",
8        "MediaRecorderClient.cpp",
9        "MetadataRetrieverClient.cpp",
10        "StagefrightRecorder.cpp",
11        "TestPlayerStub.cpp",
12    ],
13
14    shared_libs: [
15        "android.hardware.media.c2@1.0",
16        "android.hardware.media.omx@1.0",
17        "libbase",
18        "libaudioclient",
19        "libbinder",
20        "libcamera_client",
21        "libcodec2_client",
22        "libcrypto",
23        "libcutils",
24        "libdl",
25        "libgui",
26        "libhidlbase",
27        "liblog",
28        "libmedia",
29        "libmedia_omx",
30        "libmediadrm",
31        "libmediametrics",
32        "libmediautils",
33        "libmemunreachable",
34        "libnetd_client",
35        "libpowermanager",
36        "libstagefright",
37        "libstagefright_foundation",
38        "libstagefright_httplive",
39        "libutils",
40    ],
41
42    header_libs: [
43        "media_plugin_headers",
44    ],
45
46    static_libs: [
47        "libstagefright_nuplayer",
48        "libstagefright_rtsp",
49        "libstagefright_timedtext",
50    ],
51
52    export_shared_lib_headers: ["libmedia"],
53
54    include_dirs: [
55        "frameworks/av/media/libstagefright/rtsp",
56        "frameworks/av/media/libstagefright/webm",
57    ],
58
59    local_include_dirs: ["include"],
60
61    cflags: [
62        "-Werror",
63        "-Wno-error=deprecated-declarations",
64        "-Wall",
65    ],
66
67    name: "libmediaplayerservice",
68
69    sanitize: {
70        cfi: true,
71    },
72
73}
74
75