Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 1 | cc_library_static { |
| 2 | |
| 3 | srcs: [ |
| 4 | "AWakeLock.cpp", |
| 5 | "GenericSource.cpp", |
| 6 | "HTTPLiveSource.cpp", |
| 7 | "NuPlayer.cpp", |
| 8 | "NuPlayerCCDecoder.cpp", |
| 9 | "NuPlayerDecoder.cpp", |
| 10 | "NuPlayerDecoderBase.cpp", |
| 11 | "NuPlayerDecoderPassThrough.cpp", |
| 12 | "NuPlayerDriver.cpp", |
| 13 | "NuPlayerDrm.cpp", |
| 14 | "NuPlayerRenderer.cpp", |
| 15 | "NuPlayerStreamListener.cpp", |
| 16 | "RTSPSource.cpp", |
Byeongjo Park | d157b79 | 2019-01-24 20:56:37 +0900 | [diff] [blame] | 17 | "RTPSource.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 18 | "StreamingSource.cpp", |
| 19 | ], |
| 20 | |
| 21 | header_libs: [ |
Marco Nelissen | 55b259c | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 22 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 23 | "libmediametrics_headers", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 24 | "media_plugin_headers", |
| 25 | ], |
| 26 | |
| 27 | include_dirs: [ |
| 28 | "frameworks/av/media/libstagefright", |
| 29 | "frameworks/av/media/libstagefright/httplive", |
| 30 | "frameworks/av/media/libstagefright/include", |
| 31 | "frameworks/av/media/libstagefright/mpeg2ts", |
| 32 | "frameworks/av/media/libstagefright/rtsp", |
| 33 | "frameworks/av/media/libstagefright/timedtext", |
Byeongjo Park | 88068dc | 2019-03-29 15:04:10 +0900 | [diff] [blame] | 34 | "frameworks/native/include/android", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 35 | ], |
| 36 | |
| 37 | cflags: [ |
| 38 | "-Werror", |
| 39 | "-Wall", |
| 40 | ], |
| 41 | |
| 42 | product_variables: { |
| 43 | debuggable: { |
| 44 | cflags: [ |
| 45 | "-DENABLE_STAGEFRIGHT_EXPERIMENTS", |
| 46 | ], |
| 47 | } |
| 48 | }, |
| 49 | |
| 50 | shared_libs: [ |
Byeongjo Park | 88068dc | 2019-03-29 15:04:10 +0900 | [diff] [blame] | 51 | "libandroid", |
| 52 | "libandroid_net", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 53 | "libbinder", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 54 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 55 | "libui", |
| 56 | "libgui", |
| 57 | "libmedia", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 58 | "libmediadrm", |
| 59 | "libpowermanager", |
| 60 | ], |
| 61 | |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 62 | static_libs: [ |
| 63 | "libplayerservice_datasource", |
| 64 | ], |
| 65 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 66 | name: "libstagefright_nuplayer", |
| 67 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 68 | sanitize: { |
| 69 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 70 | }, |
| 71 | |
| 72 | } |