| // Build the unit tests. |
| |
| package { |
| default_applicable_licenses: [ |
| "frameworks_av_media_libstagefright_tests_license", |
| ], |
| } |
| |
| // Added automatically by a large-scale-change |
| // See: http://go/android-license-faq |
| license { |
| name: "frameworks_av_media_libstagefright_tests_license", |
| visibility: [":__subpackages__"], |
| license_kinds: [ |
| "SPDX-license-identifier-Apache-2.0", |
| ], |
| license_text: [ |
| "NOTICE", |
| ], |
| } |
| |
| cc_test { |
| name: "MediaCodecListOverrides_test", |
| |
| srcs: ["MediaCodecListOverrides_test.cpp"], |
| |
| shared_libs: [ |
| "libmedia", |
| "libstagefright", |
| "libstagefright_foundation", |
| "libutils", |
| "liblog", |
| ], |
| |
| include_dirs: [ |
| "frameworks/av/media/libstagefright", |
| "frameworks/av/media/libstagefright/include", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |
| |
| cc_test { |
| name: "BatteryChecker_test", |
| srcs: ["BatteryChecker_test.cpp"], |
| test_suites: ["device-tests"], |
| |
| shared_libs: [ |
| "libstagefright", |
| "libstagefright_foundation", |
| "libutils", |
| "liblog", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |