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 := android-support-v13
28 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
29 $(call all-java-files-under, WallpaperPicker/src) \
30 $(call all-renderscript-files-under, src) \
31 $(call all-proto-files-under, protos)
32 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res $(LOCAL_PATH)/res
34 LOCAL_AAPT_FLAGS := --auto-add-overlay
36 LOCAL_PROTOC_OPTIMIZE_TYPE := nano
37 LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
39 LOCAL_SDK_VERSION := 21
41 LOCAL_PACKAGE_NAME := Launcher3
42 #LOCAL_CERTIFICATE := shared
44 LOCAL_OVERRIDES_PACKAGES := Launcher2
46 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
48 include $(BUILD_PACKAGE)
52 # Protocol Buffer Debug Utility in Java
56 LOCAL_SRC_FILES := $(call all-java-files-under, util) \
57 $(call all-proto-files-under, protos)
59 LOCAL_PROTOC_OPTIMIZE_TYPE := nano
60 LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
62 LOCAL_MODULE_TAGS := optional
63 LOCAL_MODULE := launcher_protoutil_lib
64 LOCAL_IS_HOST_MODULE := true
65 LOCAL_JAR_MANIFEST := util/etc/manifest.txt
67 include $(BUILD_HOST_JAVA_LIBRARY)
70 # Protocol Buffer Debug Utility Wrapper Script
73 LOCAL_IS_HOST_MODULE := true
74 LOCAL_MODULE_CLASS := EXECUTABLES
75 LOCAL_MODULE_TAGS := optional
76 LOCAL_MODULE := launcher_protoutil
78 include $(BUILD_SYSTEM)/base_rules.mk
80 $(LOCAL_BUILT_MODULE): | $(HOST_OUT_JAVA_LIBRARIES)/launcher_protoutil_lib.jar
81 $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/util/etc/launcher_protoutil | $(ACP)
82 @echo "Copy: $(PRIVATE_MODULE) ($@)"
83 $(copy-file-to-new-target)
86 include $(call all-makefiles-under,$(LOCAL_PATH))