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