hkuang | 26587cb | 2020-01-16 10:36:08 -0800 | [diff] [blame^] | 1 | // Build the unit tests for libmediatranscoding. |
| 2 | cc_defaults { |
| 3 | name: "libmediatranscoding_test_defaults", |
| 4 | |
| 5 | header_libs: [ |
| 6 | "libbase_headers", |
| 7 | "libmedia_headers", |
| 8 | ], |
| 9 | |
| 10 | shared_libs: [ |
| 11 | "libbinder_ndk", |
| 12 | "libcutils", |
| 13 | "liblog", |
| 14 | "libutils", |
| 15 | "libmediatranscoding" |
| 16 | ], |
| 17 | |
| 18 | static_libs: [ |
| 19 | "mediatranscoding_aidl_interface-ndk_platform", |
| 20 | ], |
| 21 | |
| 22 | cflags: [ |
| 23 | "-Werror", |
| 24 | "-Wall", |
| 25 | ], |
| 26 | |
| 27 | test_suites: ["device-tests"], |
| 28 | } |
| 29 | |
| 30 | // |
| 31 | // TranscodingClientManager unit test |
| 32 | // |
| 33 | cc_test { |
| 34 | name: "TranscodingClientManager_tests", |
| 35 | defaults: ["libmediatranscoding_test_defaults"], |
| 36 | |
| 37 | srcs: ["TranscodingClientManager_tests.cpp"], |
| 38 | } |