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 |
| 23 | default_applicable_licenses: ["frameworks_base_license"], |
| 24 | } |
| 25 | |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 26 | filegroup { |
| 27 | name: "FlickerTestsImeCommon-src", |
| 28 | srcs: ["src/**/common/*"], |
| 29 | } |
| 30 | |
| 31 | filegroup { |
| 32 | name: "FlickerTestsIme1-src", |
| 33 | srcs: ["src/**/Close*"], |
| 34 | } |
| 35 | |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 36 | android_test { |
| 37 | name: "FlickerTestsIme", |
| 38 | defaults: ["FlickerTestsDefault"], |
| 39 | manifest: "AndroidManifest.xml", |
| 40 | test_config_template: "AndroidTestTemplate.xml", |
Julien Desprez | 241a1ef | 2024-05-29 22:00:33 +0000 | [diff] [blame^] | 41 | test_suites: [ |
| 42 | "device-tests", |
| 43 | "device-platinum-tests", |
| 44 | ], |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 45 | srcs: ["src/**/*"], |
| 46 | static_libs: ["FlickerTestsBase"], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 47 | data: ["trace_config/*"], |
Nataniel Borges | 84828f9 | 2023-11-03 14:39:55 +0000 | [diff] [blame] | 48 | } |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 49 | |
| 50 | java_library { |
| 51 | name: "FlickerTestsImeCommon", |
| 52 | defaults: ["FlickerTestsDefault"], |
| 53 | srcs: [":FlickerTestsImeCommon-src"], |
| 54 | static_libs: ["FlickerTestsBase"], |
| 55 | } |
| 56 | |
| 57 | android_test { |
| 58 | name: "FlickerTestsIme1", |
| 59 | defaults: ["FlickerTestsDefault"], |
| 60 | manifest: "AndroidManifest.xml", |
| 61 | test_config_template: "AndroidTestTemplate.xml", |
Julien Desprez | 2c0b951 | 2024-05-21 17:57:32 +0000 | [diff] [blame] | 62 | test_suites: [ |
| 63 | "device-tests", |
| 64 | "device-platinum-tests", |
| 65 | ], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 66 | srcs: [":FlickerTestsIme1-src"], |
| 67 | static_libs: [ |
| 68 | "FlickerTestsBase", |
| 69 | "FlickerTestsImeCommon", |
| 70 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 71 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | android_test { |
| 75 | name: "FlickerTestsIme2", |
| 76 | defaults: ["FlickerTestsDefault"], |
| 77 | manifest: "AndroidManifest.xml", |
| 78 | test_config_template: "AndroidTestTemplate.xml", |
| 79 | srcs: ["src/**/*"], |
| 80 | exclude_srcs: [ |
| 81 | ":FlickerTestsIme1-src", |
| 82 | ":FlickerTestsImeCommon-src", |
| 83 | ], |
| 84 | static_libs: [ |
| 85 | "FlickerTestsBase", |
| 86 | "FlickerTestsImeCommon", |
| 87 | ], |
Nataniel Borges | 07979bd | 2023-12-04 21:47:00 +0000 | [diff] [blame] | 88 | data: ["trace_config/*"], |
Nataniel Borges | 01e9ae1 | 2023-11-07 11:43:52 +0000 | [diff] [blame] | 89 | } |