1 2cc_library_static { 3 name: "libregistermsext", 4 srcs: ["register.cpp"], 5 6 cflags: [ 7 "-Werror", 8 "-Wall", 9 ], 10} 11 12cc_binary { 13 name: "mediaserver", 14 15 srcs: ["main_mediaserver.cpp"], 16 17 shared_libs: [ 18 "android.hardware.media.omx@1.0", 19 "libandroidicu", 20 "libbinder", 21 "libhidlbase", 22 "liblog", 23 "libmediaplayerservice", 24 "libresourcemanagerservice", 25 "libutils", 26 ], 27 28 static_libs: [ 29 "libregistermsext", 30 ], 31 32 include_dirs: [ 33 "frameworks/av/media/libmediaplayerservice", 34 "frameworks/av/services/mediaresourcemanager", 35 ], 36 37 // back to 32-bit, b/126502613 38 compile_multilib: "32", 39 40 init_rc: ["mediaserver.rc"], 41 42 cflags: [ 43 "-Werror", 44 "-Wall", 45 ], 46 47 vintf_fragments: ["manifest_media_c2_software.xml"], 48} 49