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 "hardware_google_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_google_av_license"], 8} 9 10cc_defaults{ 11 name : "libmedia_ecoservice_tests_defaults", 12 cflags : [ 13 "-Wall", 14 "-Werror", 15 ], 16} 17 18cc_test { 19 name: "EcoDataTest", 20 defaults: ["libmedia_ecoservice_tests_defaults"], 21 srcs: ["EcoDataTest.cpp"], 22 shared_libs: [ 23 "libbinder", 24 "libcutils", 25 "libutils", 26 "liblog", 27 "libmedia_ecoservice", 28 ], 29} 30 31cc_test { 32 name: "EcoSessionTest", 33 defaults: ["libmedia_ecoservice_tests_defaults"], 34 srcs: [ 35 "EcoSessionTest.cpp", 36 "FakeECOServiceStatsProvider.cpp", 37 "FakeECOServiceInfoListener.cpp", 38 ], 39 40 shared_libs: [ 41 "libbinder", 42 "libcutils", 43 "libutils", 44 "liblog", 45 "libmedia_ecoservice", 46 ], 47} 48 49cc_test { 50 name: "EcoServiceTest", 51 vendor: true, 52 defaults: ["libmedia_ecoservice_tests_defaults"], 53 srcs: [ 54 "EcoServiceTest.cpp", 55 "FakeECOServiceStatsProvider.cpp", 56 "FakeECOServiceInfoListener.cpp", 57 ], 58 59 shared_libs: [ 60 "libbinder", 61 "libcutils", 62 "libutils", 63 "liblog", 64 "libmedia_ecoservice", 65 ], 66} 67