1// 2// Copyright (C) 2020 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: "WMShellFlickerTestsSplitScreenBase-src", 28 srcs: [ 29 "src/**/benchmark/*.kt", 30 ], 31} 32 33filegroup { 34 name: "WMShellFlickerTestsSplitScreenGroup1-src", 35 srcs: [ 36 "src/**/A*.kt", 37 "src/**/B*.kt", 38 "src/**/C*.kt", 39 "src/**/D*.kt", 40 "src/**/E*.kt", 41 ], 42} 43 44filegroup { 45 name: "WMShellFlickerTestsSplitScreenGroup2-src", 46 srcs: [ 47 "src/**/*.kt", 48 ], 49} 50 51android_test { 52 name: "WMShellFlickerTestsSplitScreenGroup1", 53 defaults: ["WMShellFlickerTestsDefault"], 54 manifest: "AndroidManifest.xml", 55 package_name: "com.android.wm.shell.flicker.splitscreen", 56 instrumentation_target_package: "com.android.wm.shell.flicker.splitscreen", 57 test_config_template: "AndroidTestTemplate.xml", 58 srcs: [ 59 ":WMShellFlickerTestsSplitScreenBase-src", 60 ":WMShellFlickerTestsSplitScreenGroup1-src", 61 ], 62 static_libs: ["WMShellFlickerTestsBase"], 63 data: ["trace_config/*"], 64} 65 66android_test { 67 name: "WMShellFlickerTestsSplitScreenGroup2", 68 defaults: ["WMShellFlickerTestsDefault"], 69 manifest: "AndroidManifest.xml", 70 package_name: "com.android.wm.shell.flicker.splitscreen", 71 instrumentation_target_package: "com.android.wm.shell.flicker.splitscreen", 72 test_config_template: "AndroidTestTemplate.xml", 73 srcs: [ 74 ":WMShellFlickerTestsSplitScreenBase-src", 75 ":WMShellFlickerTestsSplitScreenGroup2-src", 76 ], 77 exclude_srcs: [ 78 ":WMShellFlickerTestsSplitScreenGroup1-src", 79 ], 80 static_libs: ["WMShellFlickerTestsBase"], 81 data: ["trace_config/*"], 82} 83