Harish Mahendrakar | cb528e2 | 2021-03-03 21:30:35 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_av_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
| 10 | cc_defaults { |
| 11 | name: "C2SoftCodecTest-defaults", |
Lajos Molnar | 99d4d11 | 2022-01-28 12:42:05 -0800 | [diff] [blame] | 12 | defaults: [ "libcodec2-static-defaults" ], |
Harish Mahendrakar | cb528e2 | 2021-03-03 21:30:35 -0800 | [diff] [blame] | 13 | gtest: true, |
| 14 | host_supported: false, |
| 15 | srcs: [ |
| 16 | "C2SoftCodecTest.cpp", |
| 17 | ], |
| 18 | |
Harish Mahendrakar | cb528e2 | 2021-03-03 21:30:35 -0800 | [diff] [blame] | 19 | cflags: [ |
| 20 | "-Wall", |
| 21 | "-Werror", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | cc_test { |
| 26 | name: "C2SoftMpeg4DecTest", |
| 27 | defaults: ["C2SoftCodecTest-defaults"], |
| 28 | |
| 29 | static_libs: [ |
| 30 | "libstagefright_m4vh263dec", |
| 31 | "libcodec2_soft_mpeg4dec", |
| 32 | ], |
| 33 | |
| 34 | test_suites: [ |
| 35 | "general-tests", |
| 36 | ], |
| 37 | } |