1// Copyright (C) 2020 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15java_test_host { 16 name: "sdkextensions_e2e_tests", 17 srcs: ["test-src/**/*.java"], 18 libs: ["tradefed"], 19 static_libs: ["apex_e2e_base_test"], 20 data: [ 21 ":sdkextensions_e2e_test_app", 22 ":test_com.android.media", 23 ":test_com.android.sdkext", 24 ], 25 test_config: "sdkextensions-e2e-tests.xml", 26 test_suites: ["device-tests"], 27} 28 29android_app { 30 name: "sdkextensions_e2e_test_app", 31 srcs: ["app-src/**/*.java"], 32 libs: ["test_framework-sdkextensions-stubs"], 33 sdk_version: "system_current", 34} 35