| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 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 | |
| 17 | package { |
| 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 |
| Nataniel Borges | 8b0ab99 | 2024-05-27 16:26:29 +0000 | [diff] [blame] | 23 | default_team: "trendy_team_windowing_sdk", |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 24 | default_applicable_licenses: ["frameworks_base_license"], |
| 25 | } |
| 26 | |
| Nataniel Borges | 8b0ab99 | 2024-05-27 16:26:29 +0000 | [diff] [blame] | 27 | filegroup { |
| 28 | name: "FlickerTestsOtherCommon-src", |
| 29 | srcs: ["src/**/ActivityEmbeddingTestBase.kt"], |
| 30 | } |
| 31 | |
| 32 | filegroup { |
| 33 | name: "FlickerTestsOtherOpen-src", |
| 34 | srcs: ["src/**/open/*"], |
| 35 | } |
| 36 | |
| 37 | filegroup { |
| 38 | name: "FlickerTestsOtherRotation-src", |
| 39 | srcs: ["src/**/rotation/*"], |
| 40 | } |
| 41 | |
| 42 | java_library { |
| 43 | name: "FlickerTestsOtherCommon", |
| 44 | defaults: ["FlickerTestsDefault"], |
| 45 | srcs: [":FlickerTestsOtherCommon-src"], |
| 46 | static_libs: ["FlickerTestsBase"], |
| 47 | } |
| 48 | |
| 49 | java_defaults { |
| 50 | name: "FlickerTestsOtherDefaults", |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 51 | defaults: ["FlickerTestsDefault"], |
| 52 | manifest: "AndroidManifest.xml", |
| 53 | package_name: "com.android.server.wm.flicker", |
| 54 | instrumentation_target_package: "com.android.server.wm.flicker", |
| Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 55 | test_config_template: "AndroidTestTemplate.xml", |
| Nataniel Borges | 8b0ab99 | 2024-05-27 16:26:29 +0000 | [diff] [blame] | 56 | static_libs: [ |
| 57 | "FlickerTestsBase", |
| 58 | "FlickerTestsOtherCommon", |
| 59 | ], |
| Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 60 | data: ["trace_config/*"], |
| Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 61 | } |
| Nataniel Borges | 8b0ab99 | 2024-05-27 16:26:29 +0000 | [diff] [blame] | 62 | |
| 63 | android_test { |
| 64 | name: "FlickerTestsOtherOpen", |
| 65 | defaults: ["FlickerTestsOtherDefaults"], |
| 66 | srcs: [":FlickerTestsOtherOpen-src"], |
| 67 | } |
| 68 | |
| 69 | android_test { |
| 70 | name: "FlickerTestsOtherRotation", |
| 71 | defaults: ["FlickerTestsOtherDefaults"], |
| 72 | srcs: [":FlickerTestsOtherRotation-src"], |
| 73 | } |
| 74 | |
| 75 | android_test { |
| 76 | name: "FlickerTestsOther", |
| 77 | defaults: ["FlickerTestsOtherDefaults"], |
| 78 | srcs: ["src/**/*"], |
| 79 | exclude_srcs: [ |
| 80 | ":FlickerTestsOtherOpen-src", |
| 81 | ":FlickerTestsOtherRotation-src", |
| 82 | ":FlickerTestsOtherCommon-src", |
| 83 | ], |
| 84 | } |