1package { 2 default_team: "trendy_team_media_framework_audio", 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "frameworks_base_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["frameworks_base_license"], 9} 10 11// TODO audio build defaults 12java_library { 13 name: "mediatestutils_host", 14 host_supported: true, 15 srcs: [ 16 "java/com/android/media/mediatestutils/CancelAllFuturesRule.java", 17 ], 18 static_libs: [ 19 "junit", 20 ], 21 visibility: [ 22 ":__subpackages__", 23 ], 24} 25 26java_library { 27 name: "mediatestutils", 28 srcs: [ 29 "java/com/android/media/mediatestutils/TestUtils.java", 30 ], 31 static_libs: [ 32 "androidx.concurrent_concurrent-futures", 33 "guava", 34 "mediatestutils_host", 35 ], 36 visibility: [ 37 "//cts/tests/tests/media:__subpackages__", 38 ":__subpackages__", 39 ], 40} 41 42java_test_host { 43 name: "mediatestutilshosttests", 44 srcs: ["javatests/**/*.java"], 45 static_libs: [ 46 "mediatestutils_host", 47 "junit", 48 "truth", 49 ], 50 test_suites: ["general-tests"], 51 test_options: { 52 unit_test: true, 53 }, 54} 55