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 { |
Ronish Kalia | f891397 | 2024-02-14 14:30:14 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_input_method_framework", |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 19 | // See: http://go/android-license-faq |
| 20 | // A large-scale-change added 'default_applicable_licenses' to import |
| 21 | // all of the 'license_kinds' from "frameworks_base_license" |
| 22 | // to get the below license kinds: |
| 23 | // SPDX-license-identifier-Apache-2.0 |
| 24 | default_applicable_licenses: ["frameworks_base_license"], |
| 25 | } |
| 26 | |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 27 | filegroup { |
| 28 | name: "FlickerTestsImeCommon-src", |
| 29 | srcs: ["src/**/common/*"], |
| 30 | } |
| 31 | |
| 32 | filegroup { |
| 33 | name: "FlickerTestsIme1-src", |
| 34 | srcs: ["src/**/Close*"], |
| 35 | } |
| 36 | |
Nataniel Borges | 038c57c | 2024-07-11 10:26:08 +0000 | [diff] [blame^] | 37 | filegroup { |
| 38 | name: "FlickerTestsIme2-src", |
| 39 | srcs: ["src/**/ShowImeOnAppStart*"], |
| 40 | } |
| 41 | |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 42 | android_test { |
| 43 | name: "FlickerTestsIme", |
| 44 | defaults: ["FlickerTestsDefault"], |
| 45 | manifest: "AndroidManifest.xml", |
| 46 | test_config_template: "AndroidTestTemplate.xml", |
Julien Desprez | 241a1ef | 2024-05-29 22:00:33 +0000 | [diff] [blame] | 47 | test_suites: [ |
| 48 | "device-tests", |
| 49 | "device-platinum-tests", |
| 50 | ], |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 51 | srcs: ["src/**/*"], |
| 52 | static_libs: ["FlickerTestsBase"], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 53 | data: ["trace_config/*"], |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 54 | } |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 55 | |
| 56 | java_library { |
| 57 | name: "FlickerTestsImeCommon", |
| 58 | defaults: ["FlickerTestsDefault"], |
| 59 | srcs: [":FlickerTestsImeCommon-src"], |
| 60 | static_libs: ["FlickerTestsBase"], |
| 61 | } |
| 62 | |
| 63 | android_test { |
| 64 | name: "FlickerTestsIme1", |
| 65 | defaults: ["FlickerTestsDefault"], |
| 66 | manifest: "AndroidManifest.xml", |
| 67 | test_config_template: "AndroidTestTemplate.xml", |
Julien Desprez | 2c0b951 | 2024-05-21 17:57:32 +0000 | [diff] [blame] | 68 | test_suites: [ |
| 69 | "device-tests", |
| 70 | "device-platinum-tests", |
| 71 | ], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 72 | srcs: [":FlickerTestsIme1-src"], |
| 73 | static_libs: [ |
| 74 | "FlickerTestsBase", |
| 75 | "FlickerTestsImeCommon", |
| 76 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 77 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 78 | } |
| 79 | |
| 80 | android_test { |
| 81 | name: "FlickerTestsIme2", |
| 82 | defaults: ["FlickerTestsDefault"], |
| 83 | manifest: "AndroidManifest.xml", |
| 84 | test_config_template: "AndroidTestTemplate.xml", |
Nataniel Borges | 038c57c | 2024-07-11 10:26:08 +0000 | [diff] [blame^] | 85 | srcs: [":FlickerTestsIme2-src"], |
| 86 | static_libs: [ |
| 87 | "FlickerTestsBase", |
| 88 | "FlickerTestsImeCommon", |
| 89 | ], |
| 90 | data: ["trace_config/*"], |
| 91 | } |
| 92 | |
| 93 | android_test { |
| 94 | name: "FlickerTestsIme3", |
| 95 | defaults: ["FlickerTestsDefault"], |
| 96 | manifest: "AndroidManifest.xml", |
| 97 | test_config_template: "AndroidTestTemplate.xml", |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 98 | srcs: ["src/**/*"], |
| 99 | exclude_srcs: [ |
| 100 | ":FlickerTestsIme1-src", |
Nataniel Borges | 038c57c | 2024-07-11 10:26:08 +0000 | [diff] [blame^] | 101 | ":FlickerTestsIme2-src", |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 102 | ":FlickerTestsImeCommon-src", |
| 103 | ], |
| 104 | static_libs: [ |
| 105 | "FlickerTestsBase", |
| 106 | "FlickerTestsImeCommon", |
| 107 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 108 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 109 | } |