1// 2// Copyright (C) 2018 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "frameworks_base_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 default_applicable_licenses: ["frameworks_base_license"], 24} 25 26filegroup { 27 name: "FlickerTestsAppLaunchCommon-src", 28 srcs: ["src/**/common/*"], 29} 30 31filegroup { 32 name: "FlickerTestsAppLaunch1-src", 33 srcs: ["src/**/OpenAppFrom*"], 34} 35 36java_library { 37 name: "FlickerTestsAppLaunchCommon", 38 defaults: ["FlickerTestsDefault"], 39 srcs: [":FlickerTestsAppLaunchCommon-src"], 40 static_libs: ["FlickerTestsBase"], 41} 42 43android_test { 44 name: "FlickerTestsAppLaunch1", 45 defaults: ["FlickerTestsDefault"], 46 manifest: "AndroidManifest.xml", 47 test_config_template: "AndroidTestTemplate.xml", 48 srcs: [":FlickerTestsAppLaunch1-src"], 49 static_libs: [ 50 "FlickerTestsBase", 51 "FlickerTestsAppLaunchCommon", 52 ], 53 data: ["trace_config/*"], 54} 55 56android_test { 57 name: "FlickerTestsAppLaunch2", 58 defaults: ["FlickerTestsDefault"], 59 manifest: "AndroidManifest.xml", 60 test_config_template: "AndroidTestTemplate.xml", 61 srcs: ["src/**/*"], 62 exclude_srcs: [ 63 ":FlickerTestsAppLaunchCommon-src", 64 ":FlickerTestsAppLaunch1-src", 65 ], 66 static_libs: [ 67 "FlickerTestsBase", 68 "FlickerTestsAppLaunchCommon", 69 ], 70 data: ["trace_config/*"], 71} 72