• 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# Build rule for Launcher3 Go app for Android Go devices.
21#
22include $(CLEAR_VARS)
23LOCAL_USE_AAPT2 := true
24LOCAL_MODULE_TAGS := optional
25LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib
26
27LOCAL_SRC_FILES := \
28    $(call all-java-files-under, src) \
29    $(call all-java-files-under, src_ui_overrides) \
30    $(call all-java-files-under, go/src)
31
32LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/go/res
33
34LOCAL_PROGUARD_FLAG_FILES := proguard.flags
35
36LOCAL_SDK_VERSION := current
37LOCAL_MIN_SDK_VERSION := 26
38LOCAL_PACKAGE_NAME := Launcher3Go
39LOCAL_PRIVILEGED_MODULE := true
40LOCAL_SYSTEM_EXT_MODULE := true
41LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep
42LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
43
44LOCAL_FULL_LIBS_MANIFEST_FILES := \
45    $(LOCAL_PATH)/AndroidManifest.xml \
46    $(LOCAL_PATH)/AndroidManifest-common.xml
47
48LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
49LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
50LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
51LOCAL_LICENSE_CONDITIONS := notice
52LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
53include $(BUILD_PACKAGE)
54
55#
56# Build rule for Quickstep library.
57#
58include $(CLEAR_VARS)
59LOCAL_USE_AAPT2 := true
60LOCAL_AAPT2_ONLY := true
61LOCAL_MODULE_TAGS := optional
62
63LOCAL_STATIC_JAVA_LIBRARIES := \
64    SystemUI-statsd \
65    SystemUISharedLib
66ifneq (,$(wildcard frameworks/base))
67  LOCAL_PRIVATE_PLATFORM_APIS := true
68else
69  LOCAL_SDK_VERSION := system_current
70  LOCAL_MIN_SDK_VERSION := 26
71endif
72LOCAL_MODULE := Launcher3QuickStepLib
73LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
74LOCAL_LICENSE_CONDITIONS := notice
75LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
76LOCAL_PRIVILEGED_MODULE := true
77LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib
78
79LOCAL_SRC_FILES := \
80    $(call all-java-files-under, src) \
81    $(call all-java-files-under, quickstep/src) \
82    $(call all-java-files-under, src_shortcuts_overrides)
83
84LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res
85LOCAL_PROGUARD_ENABLED := disabled
86
87
88LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
89include $(BUILD_STATIC_JAVA_LIBRARY)
90
91#
92# Build rule for Quickstep app.
93#
94include $(CLEAR_VARS)
95LOCAL_USE_AAPT2 := true
96LOCAL_MODULE_TAGS := optional
97
98LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3QuickStepLib
99LOCAL_PROGUARD_ENABLED := disabled
100
101ifneq (,$(wildcard frameworks/base))
102  LOCAL_PRIVATE_PLATFORM_APIS := true
103else
104  LOCAL_SDK_VERSION := system_current
105  LOCAL_MIN_SDK_VERSION := 26
106endif
107LOCAL_PACKAGE_NAME := Launcher3QuickStep
108LOCAL_PRIVILEGED_MODULE := true
109LOCAL_SYSTEM_EXT_MODULE := true
110LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
111LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
112
113LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/quickstep/res
114
115LOCAL_FULL_LIBS_MANIFEST_FILES := \
116    $(LOCAL_PATH)/quickstep/AndroidManifest-launcher.xml \
117    $(LOCAL_PATH)/AndroidManifest-common.xml
118
119LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
120LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
121
122LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
123LOCAL_LICENSE_CONDITIONS := notice
124LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
125include $(BUILD_PACKAGE)
126
127
128#
129# Build rule for Launcher3 Go app with quickstep for Android Go devices.
130#
131include $(CLEAR_VARS)
132LOCAL_USE_AAPT2 := true
133LOCAL_MODULE_TAGS := optional
134
135LOCAL_STATIC_JAVA_LIBRARIES := \
136    SystemUI-statsd \
137    SystemUISharedLib
138ifneq (,$(wildcard frameworks/base))
139  LOCAL_PRIVATE_PLATFORM_APIS := true
140else
141  LOCAL_SDK_VERSION := system_current
142  LOCAL_MIN_SDK_VERSION := 26
143endif
144LOCAL_STATIC_ANDROID_LIBRARIES := Launcher3CommonDepsLib
145
146LOCAL_SRC_FILES := \
147    $(call all-java-files-under, src) \
148    $(call all-java-files-under, quickstep/src) \
149    $(call all-java-files-under, go/src) \
150    $(call all-java-files-under, go/quickstep/src)
151
152LOCAL_RESOURCE_DIR := \
153    $(LOCAL_PATH)/go/quickstep/res \
154    $(LOCAL_PATH)/go/res \
155    $(LOCAL_PATH)/quickstep/res
156
157LOCAL_PROGUARD_FLAG_FILES := proguard.flags
158LOCAL_PROGUARD_ENABLED := full
159
160LOCAL_PACKAGE_NAME := Launcher3QuickStepGo
161LOCAL_PRIVILEGED_MODULE := true
162LOCAL_SYSTEM_EXT_MODULE := true
163LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep
164LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
165
166LOCAL_FULL_LIBS_MANIFEST_FILES := \
167    $(LOCAL_PATH)/go/AndroidManifest.xml \
168    $(LOCAL_PATH)/go/AndroidManifest-launcher.xml \
169    $(LOCAL_PATH)/AndroidManifest-common.xml
170
171LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
172LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
173LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
174LOCAL_LICENSE_CONDITIONS := notice
175LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
176include $(BUILD_PACKAGE)
177
178
179# ==================================================
180include $(call all-makefiles-under,$(LOCAL_PATH))
181