hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 1 | // Build the unit tests for MediaTranscodingService |
| 2 | |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 3 | package { |
| 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "frameworks_av_services_mediatranscoding_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: [ |
| 10 | "frameworks_av_services_mediatranscoding_license", |
| 11 | ], |
| 12 | } |
| 13 | |
hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 14 | cc_defaults { |
| 15 | name: "mediatranscodingservice_test_defaults", |
| 16 | |
| 17 | cflags: [ |
| 18 | "-Wall", |
| 19 | "-Werror", |
| 20 | "-Wextra", |
| 21 | ], |
| 22 | |
| 23 | include_dirs: [ |
| 24 | "frameworks/av/services/mediatranscoding", |
| 25 | ], |
| 26 | |
| 27 | shared_libs: [ |
Steven Moreland | 190aa93 | 2021-04-05 23:18:44 +0000 | [diff] [blame] | 28 | "libactivitymanager_aidl", |
hkuang | 9c04b8d | 2020-01-22 10:03:21 -0800 | [diff] [blame] | 29 | "libbinder", |
| 30 | "libbinder_ndk", |
| 31 | "liblog", |
| 32 | "libutils", |
| 33 | "libmediatranscodingservice", |
| 34 | ], |
| 35 | |
| 36 | static_libs: [ |
| 37 | "mediatranscoding_aidl_interface-ndk_platform", |
| 38 | ], |
| 39 | } |
| 40 | |
| 41 | // MediaTranscodingService unit test |
| 42 | cc_test { |
| 43 | name: "mediatranscodingservice_tests", |
| 44 | defaults: ["mediatranscodingservice_test_defaults"], |
| 45 | |
| 46 | srcs: ["mediatranscodingservice_tests.cpp"], |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 47 | } |