| 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 | # | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 20 | # Build rule for Launcher3 Go app for Android Go devices. | 
 | 21 | # | 
 | 22 | include $(CLEAR_VARS) | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 23 | LOCAL_USE_AAPT2 := true | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 24 | LOCAL_MODULE_TAGS := optional | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 25 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 26 |  | 
 | 27 | LOCAL_SRC_FILES := \ | 
 | 28 |     $(call all-java-files-under, src) \ | 
| Sunny Goyal | 8552517 | 2017-11-06 13:00:42 -0800 | [diff] [blame] | 29 |     $(call all-java-files-under, src_ui_overrides) \ | 
| Rajeev Kumar | c00a259 | 2018-10-30 17:16:25 -0700 | [diff] [blame] | 30 |     $(call all-java-files-under, go/src) | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 31 |  | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 32 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/go/res | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 33 |  | 
 | 34 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags | 
 | 35 |  | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 36 | LOCAL_SDK_VERSION := current | 
| Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 37 | LOCAL_MIN_SDK_VERSION := 26 | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 38 | LOCAL_PACKAGE_NAME := Launcher3Go | 
 | 39 | LOCAL_PRIVILEGED_MODULE := true | 
| Jeongik Cha | 6af66b0 | 2019-07-09 10:08:39 +0900 | [diff] [blame] | 40 | LOCAL_SYSTEM_EXT_MODULE := true | 
| Tim Joines | 56ded9c | 2018-06-19 15:02:52 -0700 | [diff] [blame] | 41 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep | 
| Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 42 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 43 |  | 
 | 44 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ | 
 | 45 |     $(LOCAL_PATH)/AndroidManifest.xml \ | 
 | 46 |     $(LOCAL_PATH)/AndroidManifest-common.xml | 
 | 47 |  | 
| Rajeev Kumar | ff8699e | 2018-03-15 23:48:46 +0000 | [diff] [blame] | 48 | LOCAL_MANIFEST_FILE := go/AndroidManifest.xml | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 49 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* | 
| Bob Badour | fc90688 | 2021-04-27 11:29:17 -0700 | [diff] [blame] | 50 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 | 
 | 51 | LOCAL_LICENSE_CONDITIONS := notice | 
 | 52 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE | 
| Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 53 | include $(BUILD_PACKAGE) | 
 | 54 |  | 
 | 55 | # | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 56 | # Build rule for Quickstep library. | 
 | 57 | # | 
 | 58 | include $(CLEAR_VARS) | 
 | 59 | LOCAL_USE_AAPT2 := true | 
 | 60 | LOCAL_AAPT2_ONLY := true | 
 | 61 | LOCAL_MODULE_TAGS := optional | 
 | 62 |  | 
| thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 63 | LOCAL_STATIC_JAVA_LIBRARIES := \ | 
| Hyunyoung Song | 7f7894e | 2020-04-27 01:12:01 -0700 | [diff] [blame] | 64 |     SystemUI-statsd \ | 
| thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 65 |     SystemUISharedLib | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 66 | ifneq (,$(wildcard frameworks/base)) | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 67 |   LOCAL_PRIVATE_PLATFORM_APIS := true | 
 | 68 | else | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 69 |   LOCAL_SDK_VERSION := system_current | 
 | 70 |   LOCAL_MIN_SDK_VERSION := 26 | 
 | 71 | endif | 
 | 72 | LOCAL_MODULE := Launcher3QuickStepLib | 
| Bob Badour | 4bdf380 | 2021-02-12 17:08:17 -0800 | [diff] [blame] | 73 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 | 
 | 74 | LOCAL_LICENSE_CONDITIONS := notice | 
 | 75 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 76 | LOCAL_PRIVILEGED_MODULE := true | 
| Sunny Goyal | 9c2b960 | 2020-01-07 13:07:55 -0800 | [diff] [blame] | 77 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 78 |  | 
 | 79 | LOCAL_SRC_FILES := \ | 
 | 80 |     $(call all-java-files-under, src) \ | 
 | 81 |     $(call all-java-files-under, quickstep/src) \ | 
| Rajeev Kumar | 51ca603 | 2018-10-31 12:54:15 -0700 | [diff] [blame] | 82 |     $(call all-java-files-under, src_shortcuts_overrides) | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 83 |  | 
| Sunny Goyal | 11d7d34 | 2021-04-02 10:58:57 -0700 | [diff] [blame] | 84 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 85 | LOCAL_PROGUARD_ENABLED := disabled | 
 | 86 |  | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 87 |  | 
 | 88 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml | 
 | 89 | include $(BUILD_STATIC_JAVA_LIBRARY) | 
 | 90 |  | 
 | 91 | # | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 92 | # Build rule for Quickstep app. | 
| Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 93 | # | 
 | 94 | include $(CLEAR_VARS) | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 95 | LOCAL_USE_AAPT2 := true | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 96 | LOCAL_MODULE_TAGS := optional | 
 | 97 |  | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 98 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3QuickStepLib | 
| Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 99 | LOCAL_PROGUARD_ENABLED := disabled | 
| Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 100 |  | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 101 | ifneq (,$(wildcard frameworks/base)) | 
 | 102 |   LOCAL_PRIVATE_PLATFORM_APIS := true | 
 | 103 | else | 
 | 104 |   LOCAL_SDK_VERSION := system_current | 
 | 105 |   LOCAL_MIN_SDK_VERSION := 26 | 
 | 106 | endif | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 107 | LOCAL_PACKAGE_NAME := Launcher3QuickStep | 
 | 108 | LOCAL_PRIVILEGED_MODULE := true | 
| Jeongik Cha | 6af66b0 | 2019-07-09 10:08:39 +0900 | [diff] [blame] | 109 | LOCAL_SYSTEM_EXT_MODULE := true | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 110 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 | 
| Hyunyoung Song | 896a715 | 2019-03-21 14:06:02 -0700 | [diff] [blame] | 111 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 112 |  | 
| Sunny Goyal | 11d7d34 | 2021-04-02 10:58:57 -0700 | [diff] [blame] | 113 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 114 |  | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 115 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ | 
| Sunny Goyal | 210e174 | 2019-10-17 12:05:38 -0700 | [diff] [blame] | 116 |     $(LOCAL_PATH)/quickstep/AndroidManifest-launcher.xml \ | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 117 |     $(LOCAL_PATH)/AndroidManifest-common.xml | 
 | 118 |  | 
 | 119 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 120 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* | 
 | 121 |  | 
| Bob Badour | fc90688 | 2021-04-27 11:29:17 -0700 | [diff] [blame] | 122 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 | 
 | 123 | LOCAL_LICENSE_CONDITIONS := notice | 
 | 124 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE | 
| Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 125 | include $(BUILD_PACKAGE) | 
 | 126 |  | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 127 |  | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 128 | # | 
 | 129 | # Build rule for Launcher3 Go app with quickstep for Android Go devices. | 
 | 130 | # | 
 | 131 | include $(CLEAR_VARS) | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 132 | LOCAL_USE_AAPT2 := true | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 133 | LOCAL_MODULE_TAGS := optional | 
 | 134 |  | 
| thiruram | c1c2bfa | 2020-02-04 18:56:40 -0800 | [diff] [blame] | 135 | LOCAL_STATIC_JAVA_LIBRARIES := \ | 
| Hyunyoung Song | 7f7894e | 2020-04-27 01:12:01 -0700 | [diff] [blame] | 136 |     SystemUI-statsd \ | 
| thiruram | cbeb13d | 2021-01-27 14:45:58 -0800 | [diff] [blame] | 137 |     SystemUISharedLib | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 138 | ifneq (,$(wildcard frameworks/base)) | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 139 |   LOCAL_PRIVATE_PLATFORM_APIS := true | 
 | 140 | else | 
| Hyunyoung Song | 74176d6 | 2018-08-31 10:48:46 -0700 | [diff] [blame] | 141 |   LOCAL_SDK_VERSION := system_current | 
 | 142 |   LOCAL_MIN_SDK_VERSION := 26 | 
 | 143 | endif | 
| Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 144 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 145 |  | 
 | 146 | LOCAL_SRC_FILES := \ | 
 | 147 |     $(call all-java-files-under, src) \ | 
 | 148 |     $(call all-java-files-under, quickstep/src) \ | 
| Jon Spivack | a89a508 | 2020-11-24 20:24:47 -0800 | [diff] [blame] | 149 |     $(call all-java-files-under, go/src) \ | 
 | 150 |     $(call all-java-files-under, go/quickstep/src) | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 151 |  | 
 | 152 | LOCAL_RESOURCE_DIR := \ | 
| Jon Spivack | 3a1cfc9 | 2021-01-11 17:20:00 -0800 | [diff] [blame] | 153 |     $(LOCAL_PATH)/go/quickstep/res \ | 
| Sunny Goyal | 11d7d34 | 2021-04-02 10:58:57 -0700 | [diff] [blame] | 154 |     $(LOCAL_PATH)/go/res \ | 
 | 155 |     $(LOCAL_PATH)/quickstep/res | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 156 |  | 
| Rajeev Kumar | dedecd8 | 2018-08-06 14:32:26 -0700 | [diff] [blame] | 157 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags | 
| Rajeev Kumar | 02c33da | 2018-07-31 12:44:09 -0700 | [diff] [blame] | 158 | LOCAL_PROGUARD_ENABLED := full | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 159 |  | 
| Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 160 | LOCAL_PACKAGE_NAME := Launcher3QuickStepGo | 
 | 161 | LOCAL_PRIVILEGED_MODULE := true | 
| Jeongik Cha | 6af66b0 | 2019-07-09 10:08:39 +0900 | [diff] [blame] | 162 | LOCAL_SYSTEM_EXT_MODULE := true | 
| Peter Kalauskas | 0842cf5 | 2019-12-11 11:06:50 -0800 | [diff] [blame] | 163 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep | 
| Anton Hansson | 3e75460 | 2019-02-06 10:26:17 +0000 | [diff] [blame] | 164 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3 | 
| Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 165 |  | 
 | 166 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ | 
 | 167 |     $(LOCAL_PATH)/go/AndroidManifest.xml \ | 
| Jon Spivack | a89a508 | 2020-11-24 20:24:47 -0800 | [diff] [blame] | 168 |     $(LOCAL_PATH)/go/AndroidManifest-launcher.xml \ | 
| Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 169 |     $(LOCAL_PATH)/AndroidManifest-common.xml | 
 | 170 |  | 
 | 171 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml | 
 | 172 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* | 
| Bob Badour | fc90688 | 2021-04-27 11:29:17 -0700 | [diff] [blame] | 173 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 | 
 | 174 | LOCAL_LICENSE_CONDITIONS := notice | 
 | 175 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE | 
| Kevin | 2857871 | 2019-01-04 17:54:51 -0800 | [diff] [blame] | 176 | include $(BUILD_PACKAGE) | 
 | 177 |  | 
| Chris Wren | ba2923a | 2013-12-10 15:48:47 -0500 | [diff] [blame] | 178 |  | 
| Sunny Goyal | d68725c | 2015-03-13 10:26:27 -0700 | [diff] [blame] | 179 | # ================================================== | 
 | 180 | include $(call all-makefiles-under,$(LOCAL_PATH)) |