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