hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 1 | // Build the unit tests for MediaTranscodingService |
| 2 | |
| 3 | cc_defaults { |
| 4 | name: "mediatranscodingservice_test_defaults", |
| 5 | |
| 6 | cflags: [ |
| 7 | "-Wall", |
| 8 | "-Werror", |
| 9 | "-Wextra", |
| 10 | ], |
| 11 | |
| 12 | include_dirs: [ |
| 13 | "frameworks/av/services/mediatranscoding", |
| 14 | ], |
| 15 | |
| 16 | shared_libs: [ |
| 17 | "libbinder", |
| 18 | "libbinder_ndk", |
| 19 | "liblog", |
| 20 | "libutils", |
| 21 | "libmediatranscodingservice", |
Chong Zhang | 7522218 | 2020-04-29 14:43:42 -0700 | [diff] [blame^] | 22 | "libcutils", |
hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 23 | ], |
| 24 | |
| 25 | static_libs: [ |
| 26 | "mediatranscoding_aidl_interface-ndk_platform", |
| 27 | ], |
| 28 | } |
| 29 | |
| 30 | // MediaTranscodingService unit test |
| 31 | cc_test { |
| 32 | name: "mediatranscodingservice_tests", |
| 33 | defaults: ["mediatranscodingservice_test_defaults"], |
| 34 | |
| 35 | srcs: ["mediatranscodingservice_tests.cpp"], |
Chong Zhang | 7522218 | 2020-04-29 14:43:42 -0700 | [diff] [blame^] | 36 | |
| 37 | required: [ |
| 38 | ":TranscodingUidPolicy_TestAppA", |
| 39 | ":TranscodingUidPolicy_TestAppB", |
| 40 | ":TranscodingUidPolicy_TestAppC", |
| 41 | ], |
hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 42 | } |