The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | # |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 2 | # Copyright (C) 2013 The Android Open Source Project |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 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 | LOCAL_PATH := $(call my-dir) |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 18 | |
| 19 | # |
Tony Wickham | 76cce29 | 2018-10-05 15:11:21 -0700 | [diff] [blame] | 20 | # Build rule for plugin lib (needed to write a plugin). |
| 21 | # |
| 22 | include $(CLEAR_VARS) |
| 23 | LOCAL_USE_AAPT2 := true |
| 24 | LOCAL_AAPT2_ONLY := true |
| 25 | LOCAL_MODULE_TAGS := optional |
Hyunyoung Song | a68fba3 | 2019-08-08 00:58:05 -0700 | [diff] [blame] | 26 | LOCAL_STATIC_JAVA_LIBRARIES:= PluginCoreLib |
Tony Wickham | 76cce29 | 2018-10-05 15:11:21 -0700 | [diff] [blame] | 27 | |
| 28 | LOCAL_SRC_FILES := \ |
| 29 | $(call all-java-files-under, src_plugins) |
| 30 | |
Alex Cruz | a99e28c | 2018-10-17 19:18:09 -0500 | [diff] [blame] | 31 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 32 | LOCAL_CERTIFICATE := platform |
Tony Wickham | 76cce29 | 2018-10-05 15:11:21 -0700 | [diff] [blame] | 33 | LOCAL_MIN_SDK_VERSION := 28 |
| 34 | LOCAL_MODULE := LauncherPluginLib |
Tony Wickham | 76cce29 | 2018-10-05 15:11:21 -0700 | [diff] [blame] | 35 | |
| 36 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 37 | |
Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 38 | # |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 39 | # Build rule for Launcher3 dependencies lib. |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 40 | # |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 41 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 42 | LOCAL_USE_AAPT2 := true |
| 43 | LOCAL_AAPT2_ONLY := true |
Jean-Baptiste Queru | 2583ac5 | 2010-01-05 11:09:52 -0800 | [diff] [blame] | 44 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 45 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 46 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Sunny Goyal | d230307 | 2018-08-14 15:21:45 -0700 | [diff] [blame] | 47 | androidx.recyclerview_recyclerview \ |
Sunny Goyal | b2498b2 | 2018-10-16 16:36:02 -0700 | [diff] [blame] | 48 | androidx.dynamicanimation_dynamicanimation \ |
Hyunyoung Song | 719eee2 | 2018-11-01 23:12:54 -0700 | [diff] [blame] | 49 | androidx.preference_preference \ |
Sunny Goyal | 202fabf | 2018-11-09 11:13:10 -0800 | [diff] [blame] | 50 | iconloader_base |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 51 | |
Tony Wickham | 5c5c118 | 2018-10-12 17:42:51 -0700 | [diff] [blame] | 52 | LOCAL_STATIC_JAVA_LIBRARIES := LauncherPluginLib |
Tony Wickham | 76cce29 | 2018-10-05 15:11:21 -0700 | [diff] [blame] | 53 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 54 | LOCAL_SRC_FILES := \ |
Sunny Goyal | 2385ebe | 2017-07-19 01:24:07 -0700 | [diff] [blame] | 55 | $(call all-proto-files-under, protos) \ |
Sunny Goyal | 4276e7b | 2018-11-26 23:44:41 -0800 | [diff] [blame] | 56 | $(call all-proto-files-under, proto_overrides) \ |
| 57 | $(call all-java-files-under, src_build_config) \ |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 58 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 59 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 60 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 61 | LOCAL_PROGUARD_ENABLED := disabled |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 62 | |
| 63 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
Sunny Goyal | 2385ebe | 2017-07-19 01:24:07 -0700 | [diff] [blame] | 64 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/ |
Sunny Goyal | 6c46a6d | 2016-11-23 02:24:32 +0530 | [diff] [blame] | 65 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java |
| 66 | |
Alex Cruz | a99e28c | 2018-10-17 19:18:09 -0500 | [diff] [blame] | 67 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 68 | LOCAL_CERTIFICATE := platform |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 69 | LOCAL_MODULE := Launcher3CommonDepsLib |
| 70 | LOCAL_PRIVILEGED_MODULE := true |
| 71 | LOCAL_MANIFEST_FILE := AndroidManifest-common.xml |
| 72 | |
| 73 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 74 | |
| 75 | # |
| 76 | # Build rule for Launcher3 app. |
| 77 | # |
| 78 | include $(CLEAR_VARS) |
| 79 | LOCAL_USE_AAPT2 := true |
| 80 | LOCAL_MODULE_TAGS := optional |
| 81 | |
Chilun | 3516bd8 | 2018-11-29 20:38:22 +0800 | [diff] [blame] | 82 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 83 | Launcher3CommonDepsLib \ |
| 84 | SecondaryDisplayLauncherLib |
Chris Crump | d181986 | 2019-01-06 20:59:01 +0100 | [diff] [blame] | 85 | |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 86 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 87 | LOCAL_SRC_FILES := \ |
| 88 | $(call all-java-files-under, src) \ |
Rajeev Kumar | 51ca603 | 2018-10-31 12:54:15 -0700 | [diff] [blame] | 89 | $(call all-java-files-under, src_shortcuts_overrides) \ |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 90 | $(call all-java-files-under, src_ui_overrides) \ |
| 91 | $(call all-java-files-under, src_flags) |
| 92 | |
| 93 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Sunny Goyal | 4548a7d | 2018-10-10 10:02:41 -0700 | [diff] [blame] | 94 | # Proguard is disable for testing. Derivarive prjects to keep proguard enabled |
| 95 | LOCAL_PROGUARD_ENABLED := disabled |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 96 | |
Alex Cruz | a99e28c | 2018-10-17 19:18:09 -0500 | [diff] [blame] | 97 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 98 | LOCAL_CERTIFICATE := platform |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 99 | LOCAL_PACKAGE_NAME := Launcher3 |
Hyunyoung Song | 3fa9954 | 2016-11-14 10:44:39 -0800 | [diff] [blame] | 100 | LOCAL_PRIVILEGED_MODULE := true |
Hyunyoung Song | 6163624 | 2019-02-01 17:43:40 -0800 | [diff] [blame] | 101 | LOCAL_PRODUCT_MODULE := true |
bohu | 8617902 | 2015-05-21 08:20:38 -0700 | [diff] [blame] | 102 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 |
Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 103 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 104 | LOCAL_REQUIRED_MODULES += privapp_whitelist_com.android.launcher3-ext.xml |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 105 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 106 | LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml |
| 107 | |
Shankhoneer Chakrovarty | 687c345 | 2016-09-14 18:30:05 -0700 | [diff] [blame] | 108 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
| 109 | |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 110 | LOCAL_AIDL_INCLUDES := src/com/google/android/libraries/launcherclient |
| 111 | |
| 112 | LOCAL_SRC_FILES += \ |
| 113 | src/com/google/android/libraries/launcherclient/ILauncherOverlayCallback.aidl \ |
| 114 | src/com/google/android/libraries/launcherclient/ILauncherOverlay.aidl |
| 115 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 116 | include $(BUILD_PACKAGE) |
Shih-wei Liao | 163feae | 2010-07-20 01:22:10 -0700 | [diff] [blame] | 117 | |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 118 | # |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 119 | # Build rule for Launcher3 Go app for Android Go devices. |
| 120 | # |
| 121 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 122 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 123 | LOCAL_MODULE_TAGS := optional |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 124 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 125 | |
| 126 | LOCAL_SRC_FILES := \ |
| 127 | $(call all-java-files-under, src) \ |
Sunny Goyal | 8552517 | 2017-11-06 13:00:42 -0800 | [diff] [blame] | 128 | $(call all-java-files-under, src_ui_overrides) \ |
Rajeev Kumar | c00a259 | 2018-10-30 17:16:25 -0700 | [diff] [blame] | 129 | $(call all-java-files-under, go/src) |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 130 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 131 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/go/res |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 132 | |
| 133 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 134 | |
Alex Cruz | a99e28c | 2018-10-17 19:18:09 -0500 | [diff] [blame] | 135 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 136 | LOCAL_CERTIFICATE := platform |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 137 | LOCAL_PACKAGE_NAME := Launcher3Go |
| 138 | LOCAL_PRIVILEGED_MODULE := true |
Hyunyoung Song | 6163624 | 2019-02-01 17:43:40 -0800 | [diff] [blame] | 139 | LOCAL_PRODUCT_MODULE := true |
Tim Joines | 56ded9c | 2018-06-19 15:02:52 -0700 | [diff] [blame] | 140 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep |
Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 141 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 142 | LOCAL_REQUIRED_MODULES += privapp_whitelist_com.android.launcher3-ext.xml |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 143 | |
| 144 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 145 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 146 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 147 | |
Rajeev Kumar | ff8699e | 2018-03-15 23:48:46 +0000 | [diff] [blame] | 148 | LOCAL_MANIFEST_FILE := go/AndroidManifest.xml |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 149 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 150 | |
| 151 | LOCAL_AIDL_INCLUDES := src/com/google/android/libraries/launcherclient |
| 152 | |
| 153 | LOCAL_SRC_FILES += \ |
| 154 | src/com/google/android/libraries/launcherclient/ILauncherOverlayCallback.aidl \ |
| 155 | src/com/google/android/libraries/launcherclient/ILauncherOverlay.aidl |
| 156 | |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 157 | include $(BUILD_PACKAGE) |
| 158 | |
| 159 | # |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 160 | # Build rule for Quickstep library. |
| 161 | # |
| 162 | include $(CLEAR_VARS) |
| 163 | LOCAL_USE_AAPT2 := true |
| 164 | LOCAL_AAPT2_ONLY := true |
| 165 | LOCAL_MODULE_TAGS := optional |
| 166 | |
Hyunyoung Song | a68fba3 | 2019-08-08 00:58:05 -0700 | [diff] [blame] | 167 | LOCAL_STATIC_JAVA_LIBRARIES := SystemUISharedLib launcherprotosnano |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 168 | ifneq (,$(wildcard frameworks/base)) |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 169 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 170 | else |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 171 | LOCAL_SDK_VERSION := system_current |
| 172 | LOCAL_MIN_SDK_VERSION := 26 |
| 173 | endif |
| 174 | LOCAL_MODULE := Launcher3QuickStepLib |
| 175 | LOCAL_PRIVILEGED_MODULE := true |
Chilun | ed0a112 | 2019-01-08 14:31:56 +0800 | [diff] [blame] | 176 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 177 | Launcher3CommonDepsLib \ |
| 178 | SecondaryDisplayLauncherLib |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 179 | |
| 180 | LOCAL_SRC_FILES := \ |
| 181 | $(call all-java-files-under, src) \ |
| 182 | $(call all-java-files-under, quickstep/src) \ |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 183 | $(call all-java-files-under, quickstep/recents_ui_overrides/src) \ |
Rajeev Kumar | 51ca603 | 2018-10-31 12:54:15 -0700 | [diff] [blame] | 184 | $(call all-java-files-under, src_flags) \ |
| 185 | $(call all-java-files-under, src_shortcuts_overrides) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 186 | |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 187 | LOCAL_RESOURCE_DIR := \ |
| 188 | $(LOCAL_PATH)/quickstep/res \ |
| 189 | $(LOCAL_PATH)/quickstep/recents_ui_overrides/res |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 190 | LOCAL_PROGUARD_ENABLED := disabled |
| 191 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 192 | |
| 193 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 194 | |
| 195 | LOCAL_AIDL_INCLUDES := src/com/google/android/libraries/launcherclient |
| 196 | |
| 197 | LOCAL_SRC_FILES += \ |
| 198 | src/com/google/android/libraries/launcherclient/ILauncherOverlayCallback.aidl \ |
| 199 | src/com/google/android/libraries/launcherclient/ILauncherOverlay.aidl |
| 200 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 201 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 202 | |
| 203 | # |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 204 | # Build rule for Quickstep app. |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 205 | # |
| 206 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 207 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 208 | LOCAL_MODULE_TAGS := optional |
| 209 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 210 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3QuickStepLib |
Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 211 | LOCAL_PROGUARD_ENABLED := disabled |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 212 | |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 213 | ifneq (,$(wildcard frameworks/base)) |
| 214 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 215 | else |
| 216 | LOCAL_SDK_VERSION := system_current |
| 217 | LOCAL_MIN_SDK_VERSION := 26 |
| 218 | endif |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 219 | LOCAL_PACKAGE_NAME := Launcher3QuickStep |
| 220 | LOCAL_PRIVILEGED_MODULE := true |
Alex Cruz | a99e28c | 2018-10-17 19:18:09 -0500 | [diff] [blame] | 221 | LOCAL_CERTIFICATE := platform |
Hyunyoung Song | 6163624 | 2019-02-01 17:43:40 -0800 | [diff] [blame] | 222 | LOCAL_PRODUCT_MODULE := true |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 223 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 |
Hyunyoung Song | 896a715 | 2019-03-21 14:06:02 -0700 | [diff] [blame] | 224 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 225 | LOCAL_REQUIRED_MODULES += privapp_whitelist_com.android.launcher3-ext.xml |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 226 | |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 227 | LOCAL_RESOURCE_DIR := \ |
| 228 | $(LOCAL_PATH)/quickstep/res \ |
| 229 | $(LOCAL_PATH)/quickstep/recents_ui_overrides/res |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 230 | |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 231 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 232 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 233 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 234 | |
| 235 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 236 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
| 237 | |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 238 | LOCAL_AIDL_INCLUDES := src/com/google/android/libraries/launcherclient |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 239 | |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 240 | LOCAL_SRC_FILES += \ |
| 241 | src/com/google/android/libraries/launcherclient/ILauncherOverlayCallback.aidl \ |
| 242 | src/com/google/android/libraries/launcherclient/ILauncherOverlay.aidl |
| 243 | |
| 244 | include $(BUILD_PACKAGE) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 245 | |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 246 | # |
| 247 | # Build rule for Launcher3 Go app with quickstep for Android Go devices. |
| 248 | # |
| 249 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 250 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 251 | LOCAL_MODULE_TAGS := optional |
| 252 | |
Hyunyoung Song | a68fba3 | 2019-08-08 00:58:05 -0700 | [diff] [blame] | 253 | LOCAL_STATIC_JAVA_LIBRARIES := SystemUISharedLib launcherprotosnano |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 254 | ifneq (,$(wildcard frameworks/base)) |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 255 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 256 | else |
Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 257 | LOCAL_SDK_VERSION := system_current |
| 258 | LOCAL_MIN_SDK_VERSION := 26 |
| 259 | endif |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 260 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 261 | |
| 262 | LOCAL_SRC_FILES := \ |
| 263 | $(call all-java-files-under, src) \ |
| 264 | $(call all-java-files-under, quickstep/src) \ |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 265 | $(call all-java-files-under, quickstep/recents_ui_overrides/src) \ |
Rajeev Kumar | c00a259 | 2018-10-30 17:16:25 -0700 | [diff] [blame] | 266 | $(call all-java-files-under, go/src) |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 267 | |
| 268 | LOCAL_RESOURCE_DIR := \ |
| 269 | $(LOCAL_PATH)/quickstep/res \ |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 270 | $(LOCAL_PATH)/quickstep/recents_ui_overrides/res \ |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 271 | $(LOCAL_PATH)/go/res |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 272 | |
Rajeev Kumar | dedecd8 | 2018-08-06 14:32:26 -0700 | [diff] [blame] | 273 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Rajeev Kumar | 02c33da | 2018-07-31 12:44:09 -0700 | [diff] [blame] | 274 | LOCAL_PROGUARD_ENABLED := full |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 275 | |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 276 | LOCAL_PACKAGE_NAME := Launcher3QuickStepGo |
| 277 | LOCAL_PRIVILEGED_MODULE := true |
Hyunyoung Song | 6163624 | 2019-02-01 17:43:40 -0800 | [diff] [blame] | 278 | LOCAL_PRODUCT_MODULE := true |
Rajeev Kumar | 30e5ce7 | 2019-04-23 12:08:33 -0700 | [diff] [blame] | 279 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep Launcher3GoIconRecents |
Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 280 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 281 | LOCAL_REQUIRED_MODULES += privapp_whitelist_com.android.launcher3-ext.xml |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 282 | |
| 283 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 284 | $(LOCAL_PATH)/go/AndroidManifest.xml \ |
| 285 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 286 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 287 | |
| 288 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
| 289 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 290 | include $(BUILD_PACKAGE) |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 291 | |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 292 | # |
| 293 | # Build rule for Launcher3 Go app with quickstep and Go-specific |
| 294 | # version of recents for Android Go devices. |
| 295 | # |
| 296 | include $(CLEAR_VARS) |
| 297 | LOCAL_USE_AAPT2 := true |
| 298 | LOCAL_MODULE_TAGS := optional |
| 299 | |
Hyunyoung Song | a68fba3 | 2019-08-08 00:58:05 -0700 | [diff] [blame] | 300 | LOCAL_STATIC_JAVA_LIBRARIES := SystemUISharedLib launcherprotosnano |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 301 | ifneq (,$(wildcard frameworks/base)) |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 302 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 303 | else |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 304 | LOCAL_SDK_VERSION := system_current |
| 305 | LOCAL_MIN_SDK_VERSION := 26 |
| 306 | endif |
| 307 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
| 308 | |
| 309 | LOCAL_SRC_FILES := \ |
| 310 | $(call all-java-files-under, src) \ |
| 311 | $(call all-java-files-under, quickstep/src) \ |
| 312 | $(call all-java-files-under, go/src) \ |
| 313 | $(call all-java-files-under, go/quickstep/src) |
| 314 | |
| 315 | LOCAL_RESOURCE_DIR := \ |
| 316 | $(LOCAL_PATH)/quickstep/res \ |
| 317 | $(LOCAL_PATH)/go/res \ |
| 318 | $(LOCAL_PATH)/go/quickstep/res |
| 319 | |
| 320 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 321 | LOCAL_PROGUARD_ENABLED := full |
| 322 | |
Kevin | dd50f6a | 2019-02-26 17:08:49 -0800 | [diff] [blame] | 323 | LOCAL_PACKAGE_NAME := Launcher3GoIconRecents |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 324 | LOCAL_PRIVILEGED_MODULE := true |
Rajeev Kumar | 30e5ce7 | 2019-04-23 12:08:33 -0700 | [diff] [blame] | 325 | LOCAL_PRODUCT_MODULE := true |
Greg Kaiser | 6aabe67 | 2019-06-14 14:22:30 -0700 | [diff] [blame] | 326 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3Go Launcher3QuickStep |
Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 327 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 328 | LOCAL_REQUIRED_MODULES += privapp_whitelist_com.android.launcher3-ext.xml |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 329 | |
| 330 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 331 | $(LOCAL_PATH)/go/AndroidManifest.xml \ |
| 332 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 333 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 334 | |
| 335 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
| 336 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
Amir Zaidi | ab18ac3 | 2019-02-01 00:15:14 +0100 | [diff] [blame] | 337 | |
| 338 | LOCAL_AIDL_INCLUDES := src/com/google/android/libraries/launcherclient |
| 339 | |
| 340 | LOCAL_SRC_FILES += \ |
| 341 | src/com/google/android/libraries/launcherclient/ILauncherOverlayCallback.aidl \ |
| 342 | src/com/google/android/libraries/launcherclient/ILauncherOverlay.aidl |
| 343 | |
Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 344 | include $(BUILD_PACKAGE) |
| 345 | |
Michael Bestas | f55a130 | 2020-05-06 21:07:17 +0300 | [diff] [blame] | 346 | include $(CLEAR_VARS) |
| 347 | LOCAL_MODULE := privapp_whitelist_com.android.launcher3-ext.xml |
| 348 | LOCAL_MODULE_CLASS := ETC |
| 349 | LOCAL_MODULE_TAGS := optional |
| 350 | LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT_ETC)/permissions |
| 351 | LOCAL_PRODUCT_MODULE := true |
| 352 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 353 | include $(BUILD_PREBUILT) |
Chris Wren | ba2923a | 2013-12-10 15:48:47 -0500 | [diff] [blame] | 354 | |
Sunny Goyal | d68725c | 2015-03-13 10:26:27 -0700 | [diff] [blame] | 355 | # ================================================== |
| 356 | include $(call all-makefiles-under,$(LOCAL_PATH)) |