| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_av_media_libstagefright_foundation_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: [ |
| "frameworks_av_media_libstagefright_foundation_license", |
| ], |
| } |
| |
| cc_test { |
| name: "sf_foundation_test", |
| test_suites: ["device-tests"], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| |
| shared_libs: [ |
| "liblog", |
| "libutils", |
| ], |
| |
| static_libs: [ |
| "libstagefright_foundation", |
| "libgmock", |
| ], |
| |
| srcs: [ |
| "AData_test.cpp", |
| "AMessage_test.cpp", |
| "Base64_test.cpp", |
| "Flagged_test.cpp", |
| "TypeTraits_test.cpp", |
| "Utils_test.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "MetaDataBaseUnitTest", |
| test_suites: ["device-tests"], |
| gtest: true, |
| |
| srcs: [ |
| "MetaDataBaseUnitTest.cpp", |
| ], |
| |
| shared_libs: [ |
| "libutils", |
| "liblog", |
| ], |
| |
| static_libs: [ |
| "libstagefright", |
| "libstagefright_foundation", |
| ], |
| |
| header_libs: [ |
| "libmedia_headers", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |