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", |
| 22 | "SystemUISharedLib", |
| 23 | ], |
| 24 | srcs: [ |
| 25 | "tests/tapl/**/*.java", |
Vadim Tryshev | 5b367af | 2019-03-06 00:52:00 +0000 | [diff] [blame] | 26 | "src/com/android/launcher3/util/SecureSettingsObserver.java", |
vadimt | 1b383af | 2019-05-08 15:29:37 -0700 | [diff] [blame] | 27 | "src/com/android/launcher3/ResourceUtils.java", |
Sunny Goyal | ab3963d | 2019-05-23 00:50:08 -0700 | [diff] [blame] | 28 | "src/com/android/launcher3/testing/TestProtocol.java", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 29 | ], |
vadimt | 09df083 | 2019-03-07 14:59:30 -0800 | [diff] [blame] | 30 | manifest: "tests/tapl/AndroidManifest.xml", |
Hyunyoung Song | da4fcfe | 2018-09-05 09:57:59 -0700 | [diff] [blame] | 31 | platform_apis: true, |
| 32 | } |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 33 | |
| 34 | java_library_static { |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 35 | name: "launcher_log_protos_lite", |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 36 | srcs: [ |
| 37 | "protos/*.proto", |
| 38 | "proto_overrides/*.proto", |
| 39 | ], |
| 40 | sdk_version: "current", |
| 41 | proto: { |
| 42 | type: "lite", |
| 43 | local_include_dirs:[ |
| 44 | "protos", |
| 45 | "proto_overrides", |
| 46 | ], |
| 47 | }, |
thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 48 | static_libs: ["libprotobuf-java-lite"], |
thiruram | 5e1ecf6 | 2019-11-13 17:49:35 -0800 | [diff] [blame] | 49 | } |
Hyunyoung Song | 8605be3 | 2020-02-21 14:52:25 -0800 | [diff] [blame^] | 50 | |
| 51 | java_library { |
| 52 | name: "LauncherPluginLib", |
| 53 | |
| 54 | static_libs: ["PluginCoreLib"], |
| 55 | |
| 56 | srcs: ["src_plugins/**/*.java"], |
| 57 | |
| 58 | sdk_version: "current", |
| 59 | min_sdk_version: "28", |
| 60 | } |