blob: 47400e3f2618d5014bfbc1daf51ecdecf520559a [file] [log] [blame]
Anton Hansson88598f12020-07-09 18:49:38 +01001// 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
Bob Badourbe5b7072021-02-12 14:50:30 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Anton Hansson88598f12020-07-09 18:49:38 +010019java_test_host {
20 name: "sdkextensions_e2e_tests",
21 srcs: ["test-src/**/*.java"],
22 libs: ["tradefed"],
Anton Hanssoncd8df6c2020-11-18 19:39:14 +000023 static_libs: [
24 "cts-install-lib-host",
25 "frameworks-base-hostutils",
26 ],
Anton Hansson88598f12020-07-09 18:49:38 +010027 data: [
28 ":sdkextensions_e2e_test_app",
Anton Hanssondfa34692021-02-24 11:21:30 +000029 ":sdkextensions_e2e_test_app_req_r12",
30 ":sdkextensions_e2e_test_app_req_r45",
Anton Hansson88598f12020-07-09 18:49:38 +010031 ":test_com.android.media",
32 ":test_com.android.sdkext",
33 ],
34 test_config: "sdkextensions-e2e-tests.xml",
35 test_suites: ["device-tests"],
36}
37
38android_app {
39 name: "sdkextensions_e2e_test_app",
40 srcs: ["app-src/**/*.java"],
41 libs: ["test_framework-sdkextensions-stubs"],
42 sdk_version: "system_current",
43}