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 | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 20 | # Prebuilt Java Libraries |
| 21 | # |
| 22 | include $(CLEAR_VARS) |
Jiyong Park | 1bb730c | 2018-02-23 18:02:11 +0900 | [diff] [blame] | 23 | LOCAL_MODULE := libSharedSystemUI |
| 24 | LOCAL_MODULE_TAGS := optional |
| 25 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 26 | LOCAL_SRC_FILES := quickstep/libs/sysui_shared.jar |
| 27 | LOCAL_UNINSTALLABLE_MODULE := true |
| 28 | LOCAL_SDK_VERSION := current |
| 29 | include $(BUILD_PREBUILT) |
Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 30 | |
| 31 | # |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 32 | # Build rule for Launcher3 dependencies lib. |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 33 | # |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 34 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 35 | LOCAL_USE_AAPT2 := true |
| 36 | LOCAL_AAPT2_ONLY := true |
Jean-Baptiste Queru | 2583ac5 | 2010-01-05 11:09:52 -0800 | [diff] [blame] | 37 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 38 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 39 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 40 | android-support-v4 \ |
Tony Wickham | d9dc2e2 | 2016-04-01 16:05:15 -0700 | [diff] [blame] | 41 | android-support-v7-recyclerview \ |
Jon Miranda | 4e11c27 | 2017-04-20 12:07:38 -0700 | [diff] [blame] | 42 | android-support-dynamic-animation |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 43 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 44 | LOCAL_SRC_FILES := \ |
Sunny Goyal | 2385ebe | 2017-07-19 01:24:07 -0700 | [diff] [blame] | 45 | $(call all-proto-files-under, protos) \ |
| 46 | $(call all-proto-files-under, proto_overrides) |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 47 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 48 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 49 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 50 | LOCAL_PROGUARD_ENABLED := disabled |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 51 | |
| 52 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
Sunny Goyal | 2385ebe | 2017-07-19 01:24:07 -0700 | [diff] [blame] | 53 | 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] | 54 | LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java |
| 55 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 56 | LOCAL_SDK_VERSION := current |
| 57 | LOCAL_MIN_SDK_VERSION := 21 |
| 58 | LOCAL_MODULE := Launcher3CommonDepsLib |
| 59 | LOCAL_PRIVILEGED_MODULE := true |
| 60 | LOCAL_MANIFEST_FILE := AndroidManifest-common.xml |
| 61 | |
| 62 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 63 | |
| 64 | # |
| 65 | # Build rule for Launcher3 app. |
| 66 | # |
| 67 | include $(CLEAR_VARS) |
| 68 | LOCAL_USE_AAPT2 := true |
| 69 | LOCAL_MODULE_TAGS := optional |
| 70 | |
| 71 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
| 72 | LOCAL_SRC_FILES := \ |
| 73 | $(call all-java-files-under, src) \ |
| 74 | $(call all-java-files-under, src_ui_overrides) \ |
| 75 | $(call all-java-files-under, src_flags) |
| 76 | |
| 77 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 78 | |
Sunny Goyal | 4a6c2c5 | 2015-07-07 11:40:31 -0700 | [diff] [blame] | 79 | LOCAL_SDK_VERSION := current |
Sunny Goyal | d297be2 | 2016-05-10 15:35:02 -0700 | [diff] [blame] | 80 | LOCAL_MIN_SDK_VERSION := 21 |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 81 | LOCAL_PACKAGE_NAME := Launcher3 |
Hyunyoung Song | 3fa9954 | 2016-11-14 10:44:39 -0800 | [diff] [blame] | 82 | LOCAL_PRIVILEGED_MODULE := true |
bohu | 8617902 | 2015-05-21 08:20:38 -0700 | [diff] [blame] | 83 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 84 | |
Sunny Goyal | d83a67a | 2016-05-23 21:40:53 -0700 | [diff] [blame] | 85 | LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml |
| 86 | |
Shankhoneer Chakrovarty | 687c345 | 2016-09-14 18:30:05 -0700 | [diff] [blame] | 87 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
| 88 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 89 | include $(BUILD_PACKAGE) |
Shih-wei Liao | 163feae | 2010-07-20 01:22:10 -0700 | [diff] [blame] | 90 | |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 91 | # |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 92 | # Build rule for Launcher3 Go app for Android Go devices. |
| 93 | # |
| 94 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 95 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 96 | LOCAL_MODULE_TAGS := optional |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 97 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 98 | |
| 99 | LOCAL_SRC_FILES := \ |
| 100 | $(call all-java-files-under, src) \ |
Sunny Goyal | 8552517 | 2017-11-06 13:00:42 -0800 | [diff] [blame] | 101 | $(call all-java-files-under, src_ui_overrides) \ |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 102 | $(call all-java-files-under, go/src_flags) |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 103 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 104 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/go/res |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 105 | |
| 106 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 107 | |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 108 | LOCAL_SDK_VERSION := current |
| 109 | LOCAL_MIN_SDK_VERSION := 21 |
| 110 | LOCAL_PACKAGE_NAME := Launcher3Go |
| 111 | LOCAL_PRIVILEGED_MODULE := true |
Tim Joines | 56ded9c | 2018-06-19 15:02:52 -0700 | [diff] [blame] | 112 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 113 | |
| 114 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 115 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 116 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 117 | |
Rajeev Kumar | ff8699e | 2018-03-15 23:48:46 +0000 | [diff] [blame] | 118 | LOCAL_MANIFEST_FILE := go/AndroidManifest.xml |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 119 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
Sunny Goyal | 64a75aa | 2017-07-03 13:50:52 -0700 | [diff] [blame] | 120 | include $(BUILD_PACKAGE) |
| 121 | |
| 122 | # |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 123 | # Build rule for Quickstep library. |
| 124 | # |
| 125 | include $(CLEAR_VARS) |
| 126 | LOCAL_USE_AAPT2 := true |
| 127 | LOCAL_AAPT2_ONLY := true |
| 128 | LOCAL_MODULE_TAGS := optional |
| 129 | |
| 130 | LOCAL_STATIC_JAVA_LIBRARIES := libSharedSystemUI |
| 131 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
| 132 | |
| 133 | LOCAL_SRC_FILES := \ |
| 134 | $(call all-java-files-under, src) \ |
| 135 | $(call all-java-files-under, quickstep/src) \ |
| 136 | $(call all-java-files-under, src_flags) |
| 137 | |
| 138 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res |
| 139 | LOCAL_PROGUARD_ENABLED := disabled |
| 140 | |
| 141 | LOCAL_SDK_VERSION := system_current |
| 142 | LOCAL_MIN_SDK_VERSION := 26 |
| 143 | LOCAL_MODULE := Launcher3QuickStepLib |
| 144 | LOCAL_PRIVILEGED_MODULE := true |
| 145 | |
| 146 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
| 147 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 148 | |
| 149 | # |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 150 | # Build rule for Quickstep app. |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 151 | # |
| 152 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 153 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 154 | LOCAL_MODULE_TAGS := optional |
| 155 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 156 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3QuickStepLib |
Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 157 | LOCAL_PROGUARD_ENABLED := disabled |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 158 | |
Sunny Goyal | 7313339 | 2017-11-02 11:04:49 -0700 | [diff] [blame] | 159 | LOCAL_SDK_VERSION := system_current |
| 160 | LOCAL_MIN_SDK_VERSION := 26 |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 161 | LOCAL_PACKAGE_NAME := Launcher3QuickStep |
| 162 | LOCAL_PRIVILEGED_MODULE := true |
| 163 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 |
| 164 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 165 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res |
| 166 | |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 167 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 168 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 169 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 170 | |
| 171 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 172 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
| 173 | |
| 174 | include $(BUILD_PACKAGE) |
| 175 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 176 | |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 177 | # |
| 178 | # Build rule for Launcher3 Go app with quickstep for Android Go devices. |
| 179 | # |
| 180 | include $(CLEAR_VARS) |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 181 | LOCAL_USE_AAPT2 := true |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 182 | LOCAL_MODULE_TAGS := optional |
| 183 | |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 184 | LOCAL_STATIC_JAVA_LIBRARIES := libSharedSystemUI |
| 185 | LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 186 | |
| 187 | LOCAL_SRC_FILES := \ |
| 188 | $(call all-java-files-under, src) \ |
| 189 | $(call all-java-files-under, quickstep/src) \ |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 190 | $(call all-java-files-under, go/src_flags) |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 191 | |
| 192 | LOCAL_RESOURCE_DIR := \ |
| 193 | $(LOCAL_PATH)/quickstep/res \ |
Sunny Goyal | 9fc9797 | 2018-06-18 01:12:37 -0700 | [diff] [blame] | 194 | $(LOCAL_PATH)/go/res |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 195 | |
| 196 | LOCAL_PROGUARD_ENABLED := disabled |
| 197 | |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 198 | LOCAL_SDK_VERSION := system_current |
| 199 | LOCAL_MIN_SDK_VERSION := 26 |
| 200 | LOCAL_PACKAGE_NAME := Launcher3QuickStepGo |
| 201 | LOCAL_PRIVILEGED_MODULE := true |
Tim Joines | 56ded9c | 2018-06-19 15:02:52 -0700 | [diff] [blame] | 202 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 203 | |
| 204 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 205 | $(LOCAL_PATH)/go/AndroidManifest.xml \ |
| 206 | $(LOCAL_PATH)/AndroidManifest.xml \ |
| 207 | $(LOCAL_PATH)/AndroidManifest-common.xml |
| 208 | |
| 209 | LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml |
| 210 | LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.* |
Sunny Goyal | c551927 | 2018-05-24 12:44:26 -0700 | [diff] [blame] | 211 | include $(BUILD_PACKAGE) |
Sunny Goyal | 9d34196 | 2017-10-30 10:03:34 -0700 | [diff] [blame] | 212 | |
Chris Wren | ba2923a | 2013-12-10 15:48:47 -0500 | [diff] [blame] | 213 | |
Sunny Goyal | d68725c | 2015-03-13 10:26:27 -0700 | [diff] [blame] | 214 | # ================================================== |
| 215 | include $(call all-makefiles-under,$(LOCAL_PATH)) |