| 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_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_av_license"], |
| } |
| |
| cc_test_library { |
| name: "libsharedtest", |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| sanitize:{ |
| address: true, |
| cfi: true, |
| integer_overflow: true, |
| memtag_heap: true, |
| }, |
| |
| shared_libs: [ |
| "liblog", |
| ], |
| |
| srcs: [ |
| "sharedtest.cpp", |
| ] |
| } |
| |
| cc_test { |
| name: "library_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| sanitize:{ |
| address: true, |
| cfi: true, |
| integer_overflow: true, |
| memtag_heap: true, |
| }, |
| |
| shared_libs: [ |
| "libbase", |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| data_libs: [ |
| "libsharedtest", |
| ], |
| |
| srcs: [ |
| "library_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "media_process_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "media_process_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "media_synchronization_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "media_synchronization_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "media_threadsnapshot_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "media_threadsnapshot_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "mediautils_fixedstring_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "mediautils_fixedstring_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "mediautils_scopedstatistics_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "mediautils_scopedstatistics_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "methodstatistics_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| shared_libs: [ |
| "libaudioutils", |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "methodstatistics_tests.cpp", |
| ], |
| } |
| |
| cc_test { |
| name: "timecheck_tests", |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wextra", |
| ], |
| |
| sanitize:{ |
| address: true, |
| cfi: true, |
| integer_overflow: true, |
| memtag_heap: true, |
| }, |
| |
| shared_libs: [ |
| "liblog", |
| "libmediautils", |
| "libutils", |
| ], |
| |
| srcs: [ |
| "timecheck_tests.cpp", |
| ], |
| } |