Songyue Han | 130053e | 2024-04-25 22:04:38 +0000 | [diff] [blame^] | 1 | cc_test { |
| 2 | name: "CodecCapabilitiesTest", |
| 3 | team: "trendy_team_media_codec_framework", |
| 4 | |
| 5 | test_suites: [ |
| 6 | "general-tests", |
| 7 | ], |
| 8 | gtest: true, |
| 9 | |
| 10 | srcs: [ |
| 11 | "CodecCapabilitiesTest.cpp", |
| 12 | ], |
| 13 | |
| 14 | shared_libs: [ |
| 15 | "libbinder", |
| 16 | "liblog", |
| 17 | "libmedia_codeclist", // available >= R |
| 18 | "libmedia_codeclist_capabilities", |
| 19 | "libstagefright", |
| 20 | "libstagefright_foundation", |
| 21 | "libutils", |
| 22 | ], |
| 23 | |
| 24 | cflags: [ |
| 25 | "-Werror", |
| 26 | "-Wall", |
| 27 | ], |
| 28 | |
| 29 | sanitize: { |
| 30 | cfi: true, |
| 31 | misc_undefined: [ |
| 32 | "unsigned-integer-overflow", |
| 33 | "signed-integer-overflow", |
| 34 | ], |
| 35 | }, |
| 36 | } |