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