1package { 2 default_team: "trendy_team_android_media_audio_framework", 3 // See: http://go/android-license-faq 4 default_applicable_licenses: ["Android-Apache-2.0"], 5} 6 7cc_defaults { 8 name: "libmedia_ecoservice_tests_defaults", 9 cflags: [ 10 "-Wall", 11 "-Werror", 12 ], 13 14 shared_libs: [ 15 "libbinder_ndk", 16 "libcutils", 17 "libutils", 18 "liblog", 19 "libmedia_ecoservice", 20 ], 21} 22 23cc_test { 24 name: "EcoDataTest", 25 defaults: ["libmedia_ecoservice_tests_defaults"], 26 srcs: ["EcoDataTest.cpp"], 27} 28 29cc_test { 30 name: "EcoSessionTest", 31 defaults: ["libmedia_ecoservice_tests_defaults"], 32 srcs: [ 33 "EcoSessionTest.cpp", 34 "FakeECOServiceStatsProvider.cpp", 35 "FakeECOServiceInfoListener.cpp", 36 ], 37} 38 39cc_test { 40 name: "EcoServiceTest", 41 vendor: true, 42 defaults: ["libmedia_ecoservice_tests_defaults"], 43 srcs: [ 44 "EcoServiceTest.cpp", 45 "FakeECOServiceStatsProvider.cpp", 46 "FakeECOServiceInfoListener.cpp", 47 ], 48} 49