Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame^] | 1 | cc_binary { |
| 2 | name: "codec2", |
| 3 | defaults: ["libstagefright_codec2-impl-defaults"], |
| 4 | |
| 5 | srcs: [ |
| 6 | "codec2.cpp", |
| 7 | ], |
| 8 | |
| 9 | include_dirs: [ |
| 10 | ], |
| 11 | |
| 12 | shared_libs: [ |
| 13 | "libbase", |
| 14 | "libbinder", |
| 15 | "libcutils", |
| 16 | "libgui", |
| 17 | "liblog", |
| 18 | "libmediaextractor", |
| 19 | "libstagefright", |
| 20 | "libstagefright_foundation", |
| 21 | "libui", |
| 22 | "libutils", |
| 23 | ], |
| 24 | |
| 25 | cflags: [ |
| 26 | "-Werror", |
| 27 | "-Wall", |
| 28 | ], |
| 29 | |
| 30 | sanitize: { |
| 31 | cfi: true, |
| 32 | misc_undefined: [ |
| 33 | "unsigned-integer-overflow", |
| 34 | "signed-integer-overflow", |
| 35 | ], |
| 36 | diag: { |
| 37 | cfi: true, |
| 38 | }, |
| 39 | }, |
| 40 | } |