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