Wei Jia | 4049f13 | 2018-01-22 10:37:31 -0800 | [diff] [blame] | 1 | cc_library { |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 2 | name: "libmediaextractor", |
Dongwon Kang | 661e699 | 2018-01-05 13:44:10 -0800 | [diff] [blame] | 3 | |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 4 | include_dirs: [ |
| 5 | "frameworks/av/include", |
| 6 | "frameworks/av/media/libmediaextractor/include", |
| 7 | ], |
| 8 | |
| 9 | export_include_dirs: ["include"], |
| 10 | |
| 11 | cflags: [ |
| 12 | "-Wno-multichar", |
| 13 | "-Werror", |
| 14 | "-Wall", |
| 15 | ], |
| 16 | |
Marco Nelissen | ff0508b | 2018-12-14 15:17:58 -0800 | [diff] [blame^] | 17 | static: { |
| 18 | cflags: [ |
| 19 | "-Wno-multichar", |
| 20 | "-Werror", |
| 21 | "-Wall", |
| 22 | "-DNO_IMEMORY", |
| 23 | ], |
| 24 | }, |
| 25 | |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 26 | shared_libs: [ |
Dongwon Kang | bc8f53b | 2018-01-25 17:01:44 -0800 | [diff] [blame] | 27 | "libbinder", |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 28 | "libstagefright_foundation", |
| 29 | "libutils", |
| 30 | "libcutils", |
| 31 | "liblog", |
| 32 | ], |
| 33 | |
Marco Nelissen | 5dcf85a | 2018-10-11 09:49:02 -0700 | [diff] [blame] | 34 | header_libs: [ |
| 35 | "media_ndk_headers", |
| 36 | ], |
| 37 | |
| 38 | export_header_lib_headers: [ |
| 39 | "media_ndk_headers", |
| 40 | ], |
| 41 | |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 42 | srcs: [ |
Marco Nelissen | 2a243f0 | 2018-01-30 08:29:57 -0800 | [diff] [blame] | 43 | "DataSourceBase.cpp", |
Dongwon Kang | bc8f53b | 2018-01-25 17:01:44 -0800 | [diff] [blame] | 44 | "MediaBuffer.cpp", |
Dongwon Kang | 1889c3e | 2018-02-01 13:44:57 -0800 | [diff] [blame] | 45 | "MediaBufferBase.cpp", |
Dongwon Kang | bc8f53b | 2018-01-25 17:01:44 -0800 | [diff] [blame] | 46 | "MediaBufferGroup.cpp", |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 47 | "MediaSource.cpp", |
Dongwon Kang | 7dc218e | 2018-01-29 08:59:33 -0800 | [diff] [blame] | 48 | "MetaData.cpp", |
Marco Nelissen | 3d21ae3 | 2018-02-16 08:24:08 -0800 | [diff] [blame] | 49 | "MetaDataBase.cpp", |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 50 | ], |
| 51 | |
| 52 | clang: true, |
| 53 | |
| 54 | sanitize: { |
| 55 | misc_undefined: [ |
| 56 | "unsigned-integer-overflow", |
| 57 | "signed-integer-overflow", |
| 58 | ], |
| 59 | cfi: true, |
Dongwon Kang | d91dc5a | 2017-10-10 00:07:09 -0700 | [diff] [blame] | 60 | }, |
| 61 | } |