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", |
| 17 | "StreamingSource.cpp", |
| 18 | ], |
| 19 | |
| 20 | header_libs: [ |
Marco Nelissen | 55b259c | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 21 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 22 | "libmediametrics_headers", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 23 | "media_plugin_headers", |
| 24 | ], |
| 25 | |
| 26 | include_dirs: [ |
| 27 | "frameworks/av/media/libstagefright", |
| 28 | "frameworks/av/media/libstagefright/httplive", |
| 29 | "frameworks/av/media/libstagefright/include", |
| 30 | "frameworks/av/media/libstagefright/mpeg2ts", |
| 31 | "frameworks/av/media/libstagefright/rtsp", |
| 32 | "frameworks/av/media/libstagefright/timedtext", |
| 33 | ], |
| 34 | |
| 35 | cflags: [ |
| 36 | "-Werror", |
| 37 | "-Wall", |
| 38 | ], |
| 39 | |
| 40 | product_variables: { |
| 41 | debuggable: { |
| 42 | cflags: [ |
| 43 | "-DENABLE_STAGEFRIGHT_EXPERIMENTS", |
| 44 | ], |
| 45 | } |
| 46 | }, |
| 47 | |
| 48 | shared_libs: [ |
| 49 | "libbinder", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 50 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 51 | "libui", |
| 52 | "libgui", |
| 53 | "libmedia", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 54 | "libmediadrm", |
| 55 | "libpowermanager", |
| 56 | ], |
| 57 | |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 58 | static_libs: [ |
| 59 | "libplayerservice_datasource", |
| 60 | ], |
| 61 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 62 | name: "libstagefright_nuplayer", |
| 63 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 64 | sanitize: { |
| 65 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 66 | }, |
| 67 | |
| 68 | } |