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 | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 37 | android_test { |
| 38 | name: "FlickerTestsIme", |
| 39 | defaults: ["FlickerTestsDefault"], |
| 40 | manifest: "AndroidManifest.xml", |
| 41 | test_config_template: "AndroidTestTemplate.xml", |
| 42 | srcs: ["src/**/*"], |
| 43 | static_libs: ["FlickerTestsBase"], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 44 | data: ["trace_config/*"], |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 45 | } |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 46 | |
| 47 | java_library { |
| 48 | name: "FlickerTestsImeCommon", |
| 49 | defaults: ["FlickerTestsDefault"], |
| 50 | srcs: [":FlickerTestsImeCommon-src"], |
| 51 | static_libs: ["FlickerTestsBase"], |
| 52 | } |
| 53 | |
| 54 | android_test { |
| 55 | name: "FlickerTestsIme1", |
| 56 | defaults: ["FlickerTestsDefault"], |
| 57 | manifest: "AndroidManifest.xml", |
| 58 | test_config_template: "AndroidTestTemplate.xml", |
| 59 | srcs: [":FlickerTestsIme1-src"], |
| 60 | static_libs: [ |
| 61 | "FlickerTestsBase", |
| 62 | "FlickerTestsImeCommon", |
| 63 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 64 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | android_test { |
| 68 | name: "FlickerTestsIme2", |
| 69 | defaults: ["FlickerTestsDefault"], |
| 70 | manifest: "AndroidManifest.xml", |
| 71 | test_config_template: "AndroidTestTemplate.xml", |
| 72 | srcs: ["src/**/*"], |
| 73 | exclude_srcs: [ |
| 74 | ":FlickerTestsIme1-src", |
| 75 | ":FlickerTestsImeCommon-src", |
| 76 | ], |
| 77 | static_libs: [ |
| 78 | "FlickerTestsBase", |
| 79 | "FlickerTestsImeCommon", |
| 80 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 81 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 82 | } |