2 # Copyright (C) 2013 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 LOCAL_PATH := $(call my-dir)
24 LOCAL_MODULE_TAGS := optional
26 LOCAL_STATIC_JAVA_LIBRARIES := \
29 android-support-v7-recyclerview \
30 android-support-v7-palette
32 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
33 $(call all-proto-files-under, protos)
35 LOCAL_RESOURCE_DIR := packages/apps/WallpaperPicker/res \
37 prebuilts/sdk/current/support/v7/recyclerview/res
39 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
41 LOCAL_PROTOC_OPTIMIZE_TYPE := nano
42 LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
45 --extra-packages android.support.v7.recyclerview \
46 --extra-packages com.android.wallpaperpicker
48 LOCAL_SDK_VERSION := current
49 LOCAL_PACKAGE_NAME := Launcher3
50 LOCAL_OVERRIDES_PACKAGES := Home Launcher2
52 include $(BUILD_PACKAGE)
55 # Launcher proto buffer jar used for development
59 LOCAL_SRC_FILES := $(call all-proto-files-under, protos)
61 LOCAL_PROTOC_OPTIMIZE_TYPE := nano
62 LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
64 LOCAL_MODULE_TAGS := optional
65 LOCAL_MODULE := launcher_proto_lib
66 LOCAL_IS_HOST_MODULE := true
67 LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-nano
69 include $(BUILD_HOST_JAVA_LIBRARY)
71 # ==================================================
72 include $(call all-makefiles-under,$(LOCAL_PATH))