hkuang | 26587cb | 2020-01-16 10:36:08 -0800 | [diff] [blame] | 1 | // Build the unit tests for libmediatranscoding. |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame^] | 2 | package { |
| 3 | // See: http://go/android-license-faq |
| 4 | // A large-scale-change added 'default_applicable_licenses' to import |
| 5 | // all of the 'license_kinds' from "frameworks_av_license" |
| 6 | // to get the below license kinds: |
| 7 | // SPDX-license-identifier-Apache-2.0 |
| 8 | default_applicable_licenses: ["frameworks_av_license"], |
| 9 | } |
| 10 | |
hkuang | 26587cb | 2020-01-16 10:36:08 -0800 | [diff] [blame] | 11 | cc_defaults { |
| 12 | name: "libmediatranscoding_test_defaults", |
| 13 | |
| 14 | header_libs: [ |
| 15 | "libbase_headers", |
| 16 | "libmedia_headers", |
| 17 | ], |
| 18 | |
| 19 | shared_libs: [ |
| 20 | "libbinder_ndk", |
| 21 | "libcutils", |
| 22 | "liblog", |
| 23 | "libutils", |
| 24 | "libmediatranscoding" |
| 25 | ], |
| 26 | |
| 27 | static_libs: [ |
| 28 | "mediatranscoding_aidl_interface-ndk_platform", |
| 29 | ], |
| 30 | |
| 31 | cflags: [ |
| 32 | "-Werror", |
| 33 | "-Wall", |
| 34 | ], |
| 35 | |
| 36 | test_suites: ["device-tests"], |
| 37 | } |
| 38 | |
| 39 | // |
| 40 | // TranscodingClientManager unit test |
| 41 | // |
| 42 | cc_test { |
| 43 | name: "TranscodingClientManager_tests", |
| 44 | defaults: ["libmediatranscoding_test_defaults"], |
| 45 | |
| 46 | srcs: ["TranscodingClientManager_tests.cpp"], |
hkuang | 93fb84c | 2020-02-03 18:19:39 -0800 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | // |
| 50 | // AdjustableMaxPriorityQueue unit test |
| 51 | // |
| 52 | cc_test { |
| 53 | name: "AdjustableMaxPriorityQueue_tests", |
| 54 | defaults: ["libmediatranscoding_test_defaults"], |
| 55 | |
| 56 | srcs: ["AdjustableMaxPriorityQueue_tests.cpp"], |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame^] | 57 | } |