• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2013 The Android Open Source Project
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
17LOCAL_PATH := $(call my-dir)
18
19#
20# Prebuilt Java Libraries
21#
22include $(CLEAR_VARS)
23LOCAL_MODULE := libSharedSystemUI
24LOCAL_MODULE_TAGS := optional
25LOCAL_MODULE_CLASS := JAVA_LIBRARIES
26LOCAL_SRC_FILES := quickstep/libs/sysui_shared.jar
27LOCAL_UNINSTALLABLE_MODULE := true
28LOCAL_SDK_VERSION := current
29include $(BUILD_PREBUILT)
30
31#
32# Build rule for Launcher3 app.
33#
34include $(CLEAR_VARS)
35
36LOCAL_MODULE_TAGS := optional
37
38LOCAL_STATIC_JAVA_LIBRARIES := \
39    android-support-annotations
40
41LOCAL_STATIC_ANDROID_LIBRARIES := \
42    android-support-compat \
43    android-support-media-compat \
44    android-support-core-utils \
45    android-support-core-ui \
46    android-support-fragment \
47    android-support-v7-recyclerview \
48    android-support-dynamic-animation
49
50LOCAL_SRC_FILES := \
51    $(call all-java-files-under, src) \
52    $(call all-java-files-under, src_ui_overrides) \
53    $(call all-java-files-under, src_flags) \
54    $(call all-proto-files-under, protos) \
55    $(call all-proto-files-under, proto_overrides)
56
57
58LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
59
60LOCAL_PROGUARD_FLAG_FILES := proguard.flags
61
62LOCAL_PROTOC_OPTIMIZE_TYPE := nano
63LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/
64LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java
65
66LOCAL_USE_AAPT2 := true
67
68LOCAL_SDK_VERSION := current
69LOCAL_MIN_SDK_VERSION := 21
70LOCAL_PACKAGE_NAME := Launcher3
71LOCAL_PRIVILEGED_MODULE := true
72LOCAL_OVERRIDES_PACKAGES := Home Launcher2
73
74LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
75
76LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
77
78include $(BUILD_PACKAGE)
79
80#
81# Build rule for Launcher3 Go app for Android Go devices.
82#
83include $(CLEAR_VARS)
84
85LOCAL_MODULE_TAGS := optional
86
87LOCAL_STATIC_JAVA_LIBRARIES := \
88    android-support-annotations
89
90LOCAL_STATIC_ANDROID_LIBRARIES := \
91    android-support-compat \
92    android-support-media-compat \
93    android-support-core-utils \
94    android-support-core-ui \
95    android-support-fragment \
96    android-support-v7-recyclerview \
97    android-support-dynamic-animation
98
99LOCAL_SRC_FILES := \
100    $(call all-java-files-under, src) \
101    $(call all-java-files-under, src_ui_overrides) \
102    $(call all-java-files-under, go/src_flags) \
103    $(call all-proto-files-under, protos) \
104    $(call all-proto-files-under, proto_overrides)
105
106LOCAL_RESOURCE_DIR := \
107    $(LOCAL_PATH)/go/res \
108    $(LOCAL_PATH)/res \
109
110LOCAL_PROGUARD_FLAG_FILES := proguard.flags
111
112LOCAL_PROTOC_OPTIMIZE_TYPE := nano
113LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/
114LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java
115
116LOCAL_USE_AAPT2 := true
117
118LOCAL_SDK_VERSION := current
119LOCAL_MIN_SDK_VERSION := 21
120LOCAL_PACKAGE_NAME := Launcher3Go
121LOCAL_PRIVILEGED_MODULE := true
122LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
123
124LOCAL_FULL_LIBS_MANIFEST_FILES := \
125    $(LOCAL_PATH)/AndroidManifest.xml \
126    $(LOCAL_PATH)/AndroidManifest-common.xml
127
128LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
129
130LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
131
132include $(BUILD_PACKAGE)
133
134#
135# Build rule for Quickstep app.
136#
137include $(CLEAR_VARS)
138
139LOCAL_MODULE_TAGS := optional
140
141LOCAL_STATIC_JAVA_LIBRARIES := \
142    android-support-annotations \
143    libSharedSystemUI
144
145LOCAL_STATIC_ANDROID_LIBRARIES := \
146    android-support-compat \
147    android-support-media-compat \
148    android-support-core-utils \
149    android-support-core-ui \
150    android-support-fragment \
151    android-support-v7-recyclerview \
152    android-support-dynamic-animation
153
154LOCAL_SRC_FILES := \
155    $(call all-java-files-under, src) \
156    $(call all-java-files-under, quickstep/src) \
157    $(call all-java-files-under, src_flags) \
158    $(call all-proto-files-under, protos) \
159    $(call all-proto-files-under, proto_overrides)
160
161LOCAL_RESOURCE_DIR := \
162    $(LOCAL_PATH)/quickstep/res \
163    $(LOCAL_PATH)/res \
164
165LOCAL_PROGUARD_ENABLED := disabled
166
167LOCAL_PROTOC_OPTIMIZE_TYPE := nano
168LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/
169LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java
170
171LOCAL_USE_AAPT2 := true
172
173LOCAL_SDK_VERSION := system_current
174LOCAL_MIN_SDK_VERSION := 26
175LOCAL_PACKAGE_NAME := Launcher3QuickStep
176LOCAL_PRIVILEGED_MODULE := true
177LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
178
179LOCAL_FULL_LIBS_MANIFEST_FILES := \
180    $(LOCAL_PATH)/AndroidManifest.xml \
181    $(LOCAL_PATH)/AndroidManifest-common.xml
182
183LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
184LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
185
186include $(BUILD_PACKAGE)
187
188#
189# Build rule for Launcher3 Go app with quickstep for Android Go devices.
190#
191include $(CLEAR_VARS)
192
193LOCAL_MODULE_TAGS := optional
194
195LOCAL_STATIC_JAVA_LIBRARIES := \
196    android-support-v4 \
197    android-support-v7-recyclerview \
198    android-support-dynamic-animation \
199    libSharedSystemUI
200
201LOCAL_SRC_FILES := \
202    $(call all-java-files-under, src) \
203    $(call all-java-files-under, quickstep/src) \
204    $(call all-java-files-under, go/src_flags) \
205    $(call all-proto-files-under, protos) \
206    $(call all-proto-files-under, proto_overrides)
207
208LOCAL_RESOURCE_DIR := \
209    $(LOCAL_PATH)/quickstep/res \
210    $(LOCAL_PATH)/go/res \
211    $(LOCAL_PATH)/res \
212    prebuilts/sdk/current/support/v7/recyclerview/res \
213
214LOCAL_PROGUARD_ENABLED := disabled
215
216LOCAL_PROTOC_OPTIMIZE_TYPE := nano
217LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/
218LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java
219
220LOCAL_AAPT_FLAGS := \
221    --auto-add-overlay \
222    --extra-packages android.support.v7.recyclerview \
223
224LOCAL_SDK_VERSION := system_current
225LOCAL_MIN_SDK_VERSION := 26
226LOCAL_PACKAGE_NAME := Launcher3QuickStepGo
227LOCAL_PRIVILEGED_MODULE := true
228LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
229
230LOCAL_FULL_LIBS_MANIFEST_FILES := \
231    $(LOCAL_PATH)/go/AndroidManifest.xml \
232    $(LOCAL_PATH)/AndroidManifest.xml \
233    $(LOCAL_PATH)/AndroidManifest-common.xml
234
235LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
236LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
237
238include $(BUILD_PACKAGE)
239
240
241# ==================================================
242include $(call all-makefiles-under,$(LOCAL_PATH))
243