Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 1 | cc_binary { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 2 | name: "codec2play", |
| 3 | defaults: ["libcodec2-impl-defaults"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 4 | |
| 5 | srcs: [ |
| 6 | "codec2.cpp", |
| 7 | ], |
| 8 | |
| 9 | include_dirs: [ |
| 10 | ], |
| 11 | |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 12 | header_libs: [ |
| 13 | "libmediadrm_headers", |
| 14 | ], |
| 15 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 16 | shared_libs: [ |
| 17 | "libbase", |
| 18 | "libbinder", |
| 19 | "libcutils", |
Marco Nelissen | 42057ce | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 20 | "libdatasource", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 21 | "libgui", |
| 22 | "liblog", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 23 | "libstagefright", |
| 24 | "libstagefright_foundation", |
| 25 | "libui", |
| 26 | "libutils", |
| 27 | ], |
| 28 | |
| 29 | cflags: [ |
| 30 | "-Werror", |
| 31 | "-Wall", |
| 32 | ], |
| 33 | |
| 34 | sanitize: { |
| 35 | cfi: true, |
| 36 | misc_undefined: [ |
| 37 | "unsigned-integer-overflow", |
| 38 | "signed-integer-overflow", |
| 39 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 40 | }, |
| 41 | } |