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", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 22 | "media_plugin_headers", |
| 23 | ], |
| 24 | |
| 25 | include_dirs: [ |
| 26 | "frameworks/av/media/libstagefright", |
| 27 | "frameworks/av/media/libstagefright/httplive", |
| 28 | "frameworks/av/media/libstagefright/include", |
| 29 | "frameworks/av/media/libstagefright/mpeg2ts", |
| 30 | "frameworks/av/media/libstagefright/rtsp", |
| 31 | "frameworks/av/media/libstagefright/timedtext", |
| 32 | ], |
| 33 | |
| 34 | cflags: [ |
| 35 | "-Werror", |
| 36 | "-Wall", |
| 37 | ], |
| 38 | |
| 39 | product_variables: { |
| 40 | debuggable: { |
| 41 | cflags: [ |
| 42 | "-DENABLE_STAGEFRIGHT_EXPERIMENTS", |
| 43 | ], |
| 44 | } |
| 45 | }, |
| 46 | |
| 47 | shared_libs: [ |
| 48 | "libbinder", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame^] | 49 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 50 | "libui", |
| 51 | "libgui", |
| 52 | "libmedia", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 53 | "libmediadrm", |
| 54 | "libpowermanager", |
| 55 | ], |
| 56 | |
| 57 | name: "libstagefright_nuplayer", |
| 58 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 59 | sanitize: { |
| 60 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 61 | }, |
| 62 | |
| 63 | } |