1package { 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_media_libstagefright_foundation_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: [ 8 "frameworks_av_media_libstagefright_foundation_license", 9 ], 10} 11 12cc_test { 13 name: "sf_foundation_test", 14 test_suites: ["device-tests"], 15 16 cflags: [ 17 "-Werror", 18 "-Wall", 19 ], 20 21 shared_libs: [ 22 "liblog", 23 "libutils", 24 ], 25 26 static_libs: [ 27 "libstagefright_foundation", 28 "libgmock", 29 ], 30 31 srcs: [ 32 "AData_test.cpp", 33 "AMessage_test.cpp", 34 "Base64_test.cpp", 35 "Flagged_test.cpp", 36 "TypeTraits_test.cpp", 37 "Utils_test.cpp", 38 ], 39} 40 41cc_test { 42 name: "MetaDataBaseUnitTest", 43 test_suites: ["device-tests"], 44 gtest: true, 45 46 srcs: [ 47 "MetaDataBaseUnitTest.cpp", 48 ], 49 50 shared_libs: [ 51 "libutils", 52 "liblog", 53 ], 54 55 static_libs: [ 56 "libstagefright", 57 "libstagefright_foundation", 58 ], 59 60 header_libs: [ 61 "libmedia_headers", 62 ], 63 64 cflags: [ 65 "-Werror", 66 "-Wall", 67 ], 68} 69