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