Anton Hansson | 88598f1 | 2020-07-09 18:49:38 +0100 | [diff] [blame] | 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 | |
Bob Badour | be5b707 | 2021-02-12 14:50:30 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Anton Hansson | 88598f1 | 2020-07-09 18:49:38 +0100 | [diff] [blame] | 19 | java_test_host { |
| 20 | name: "sdkextensions_e2e_tests", |
| 21 | srcs: ["test-src/**/*.java"], |
| 22 | libs: ["tradefed"], |
Anton Hansson | cd8df6c | 2020-11-18 19:39:14 +0000 | [diff] [blame] | 23 | static_libs: [ |
| 24 | "cts-install-lib-host", |
| 25 | "frameworks-base-hostutils", |
| 26 | ], |
Anton Hansson | 88598f1 | 2020-07-09 18:49:38 +0100 | [diff] [blame] | 27 | data: [ |
| 28 | ":sdkextensions_e2e_test_app", |
Anton Hansson | dfa3469 | 2021-02-24 11:21:30 +0000 | [diff] [blame^] | 29 | ":sdkextensions_e2e_test_app_req_r12", |
| 30 | ":sdkextensions_e2e_test_app_req_r45", |
Anton Hansson | 88598f1 | 2020-07-09 18:49:38 +0100 | [diff] [blame] | 31 | ":test_com.android.media", |
| 32 | ":test_com.android.sdkext", |
| 33 | ], |
| 34 | test_config: "sdkextensions-e2e-tests.xml", |
| 35 | test_suites: ["device-tests"], |
| 36 | } |
| 37 | |
| 38 | android_app { |
| 39 | name: "sdkextensions_e2e_test_app", |
| 40 | srcs: ["app-src/**/*.java"], |
| 41 | libs: ["test_framework-sdkextensions-stubs"], |
| 42 | sdk_version: "system_current", |
| 43 | } |