Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
vadimt | 09df083 | 2019-03-07 14:59:30 -0800 | [diff] [blame] | 15 | android_library { |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 16 | name: "launcher-aosp-tapl", |
| 17 | static_libs: [ |
| 18 | "androidx.annotation_annotation", |
Brett Chabot | d7d692c | 2018-10-23 21:17:58 -0700 | [diff] [blame] | 19 | "androidx.test.runner", |
| 20 | "androidx.test.rules", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 21 | "androidx.test.uiautomator_uiautomator", |
Hyunyoung Song | bb71582 | 2020-08-04 10:45:53 -0700 | [diff] [blame] | 22 | "androidx.preference_preference", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 23 | "SystemUISharedLib", |
| 24 | ], |
| 25 | srcs: [ |
| 26 | "tests/tapl/**/*.java", |
Vadim Tryshev | 5b367af | 2019-03-06 00:52:00 +0000 | [diff] [blame] | 27 | "src/com/android/launcher3/util/SecureSettingsObserver.java", |
vadimt | 1b383af | 2019-05-08 15:29:37 -0700 | [diff] [blame] | 28 | "src/com/android/launcher3/ResourceUtils.java", |
Sunny Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 29 | "src/com/android/launcher3/testing/TestProtocol.java", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 30 | ], |
vadimt | 09df083 | 2019-03-07 14:59:30 -0800 | [diff] [blame] | 31 | manifest: "tests/tapl/AndroidManifest.xml", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 32 | platform_apis: true, |
| 33 | } |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 34 | |
| 35 | java_library_static { |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 36 | name: "launcher_log_protos_lite", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 37 | srcs: [ |
| 38 | "protos/*.proto", |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame^] | 39 | "protos_overrides/*.proto", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 40 | ], |
| 41 | sdk_version: "current", |
| 42 | proto: { |
| 43 | type: "lite", |
| 44 | local_include_dirs:[ |
| 45 | "protos", |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame^] | 46 | "protos_overrides", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 47 | ], |
| 48 | }, |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 49 | static_libs: ["libprotobuf-java-lite"], |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 50 | } |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame] | 51 | |
thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame^] | 52 | java_library_static { |
| 53 | name: "launcher_quickstep_log_protos_lite", |
| 54 | srcs: [ |
| 55 | "quickstep/protos_overrides/*.proto", |
| 56 | ], |
| 57 | sdk_version: "current", |
| 58 | proto: { |
| 59 | type: "lite", |
| 60 | local_include_dirs:[ |
| 61 | "quickstep/protos_overrides", |
| 62 | ], |
| 63 | }, |
| 64 | static_libs: [ |
| 65 | "libprotobuf-java-lite", |
| 66 | "launcher_log_protos_lite" |
| 67 | ], |
| 68 | } |
| 69 | |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame] | 70 | java_library { |
| 71 | name: "LauncherPluginLib", |
| 72 | |
| 73 | static_libs: ["PluginCoreLib"], |
| 74 | |
| 75 | srcs: ["src_plugins/**/*.java"], |
| 76 | |
| 77 | sdk_version: "current", |
| 78 | min_sdk_version: "28", |
| 79 | } |