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 app code. 21# 22include $(CLEAR_VARS) 23 24LOCAL_MODULE_TAGS := optional 25 26LOCAL_STATIC_JAVA_LIBRARIES := \ 27 android-support-v4 \ 28 android-support-v7-recyclerview 29 30LOCAL_SRC_FILES := $(call all-java-files-under, src) \ 31 $(call all-java-files-under, WallpaperPicker/src) \ 32 $(call all-proto-files-under, protos) 33 34LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res \ 35 $(LOCAL_PATH)/res \ 36 frameworks/support/v7/recyclerview/res 37 38LOCAL_PROGUARD_FLAG_FILES := proguard.flags 39 40LOCAL_PROTOC_OPTIMIZE_TYPE := nano 41LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ 42LOCAL_AAPT_FLAGS := \ 43 --auto-add-overlay \ 44 --extra-packages android.support.v7.recyclerview 45 46LOCAL_SDK_VERSION := current 47LOCAL_PACKAGE_NAME := Launcher3 48LOCAL_PRIVILEGED_MODULE := true 49#LOCAL_CERTIFICATE := shared 50 51LOCAL_OVERRIDES_PACKAGES := Home Launcher2 52 53include $(BUILD_PACKAGE) 54 55 56# 57# Launcher proto buffer jar used for development 58# 59include $(CLEAR_VARS) 60 61LOCAL_SRC_FILES := $(call all-proto-files-under, protos) 62 63LOCAL_PROTOC_OPTIMIZE_TYPE := nano 64LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ 65 66LOCAL_MODULE_TAGS := optional 67LOCAL_MODULE := launcher_proto_lib 68LOCAL_IS_HOST_MODULE := true 69LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-nano 70 71include $(BUILD_HOST_JAVA_LIBRARY) 72 73include $(call all-makefiles-under,$(LOCAL_PATH)) 74