The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | # |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 2 | # Copyright (C) 2013 The Android Open Source Project |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 18 | |
| 19 | # |
| 20 | # Build app code. |
| 21 | # |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 22 | include $(CLEAR_VARS) |
| 23 | |
Jean-Baptiste Queru | 2583ac5 | 2010-01-05 11:09:52 -0800 | [diff] [blame] | 24 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 25 | |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 26 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 27 | android-support-v4 \ |
| 28 | android-support-v7-recyclerview |
| 29 | |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 30 | LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |
Michael Jurka | 7ad868b | 2013-12-12 15:04:25 +0100 | [diff] [blame] | 31 | $(call all-java-files-under, WallpaperPicker/src) \ |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 32 | $(call all-proto-files-under, protos) |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 33 | |
| 34 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res \ |
| 35 | $(LOCAL_PATH)/res \ |
| 36 | $(LOCAL_PATH)/../../../prebuilts/sdk/current/support/v7/recyclerview/res |
| 37 | |
Sunny Goyal | 4a6c2c5 | 2015-07-07 11:40:31 -0700 | [diff] [blame] | 38 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 39 | |
| 40 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 41 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ |
Hyunyoung Song | d30e845 | 2015-07-27 18:24:45 -0700 | [diff] [blame] | 42 | LOCAL_AAPT_FLAGS := \ |
| 43 | --auto-add-overlay \ |
| 44 | --extra-packages android.support.v7.recyclerview |
Chris Wren | 1ada10d | 2013-09-13 18:01:38 -0400 | [diff] [blame] | 45 | |
Sunny Goyal | 4a6c2c5 | 2015-07-07 11:40:31 -0700 | [diff] [blame] | 46 | LOCAL_SDK_VERSION := current |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 47 | LOCAL_PACKAGE_NAME := Launcher3 |
bohu | 8617902 | 2015-05-21 08:20:38 -0700 | [diff] [blame] | 48 | LOCAL_OVERRIDES_PACKAGES := Home Launcher2 |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 49 | |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 50 | include $(BUILD_PACKAGE) |
Shih-wei Liao | 163feae | 2010-07-20 01:22:10 -0700 | [diff] [blame] | 51 | |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 52 | # |
| 53 | # Protocol Buffer Debug Utility in Java |
| 54 | # |
| 55 | include $(CLEAR_VARS) |
| 56 | |
| 57 | LOCAL_SRC_FILES := $(call all-java-files-under, util) \ |
| 58 | $(call all-proto-files-under, protos) |
| 59 | |
| 60 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
| 61 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ |
| 62 | |
| 63 | LOCAL_MODULE_TAGS := optional |
Chris Wren | ba2923a | 2013-12-10 15:48:47 -0500 | [diff] [blame] | 64 | LOCAL_MODULE := launcher_protoutil_lib |
| 65 | LOCAL_IS_HOST_MODULE := true |
| 66 | LOCAL_JAR_MANIFEST := util/etc/manifest.txt |
| 67 | LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-2.3.0-nano |
Chris Wren | 2b6c21d | 2013-10-02 14:16:04 -0400 | [diff] [blame] | 68 | |
| 69 | include $(BUILD_HOST_JAVA_LIBRARY) |
Chris Wren | ba2923a | 2013-12-10 15:48:47 -0500 | [diff] [blame] | 70 | |
| 71 | # |
| 72 | # Protocol Buffer Debug Utility Wrapper Script |
| 73 | # |
| 74 | include $(CLEAR_VARS) |
| 75 | LOCAL_IS_HOST_MODULE := true |
| 76 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 77 | LOCAL_MODULE_TAGS := optional |
| 78 | LOCAL_MODULE := launcher_protoutil |
| 79 | |
| 80 | include $(BUILD_SYSTEM)/base_rules.mk |
| 81 | |
| 82 | $(LOCAL_BUILT_MODULE): launcher_protoutil_lib |
| 83 | $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/util/etc/launcher_protoutil | $(ACP) |
| 84 | @echo "Copy: $(PRIVATE_MODULE) ($@)" |
| 85 | $(copy-file-to-new-target) |
| 86 | $(hide) chmod 755 $@ |
| 87 | |
| 88 | INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) |
Sunny Goyal | d68725c | 2015-03-13 10:26:27 -0700 | [diff] [blame] | 89 | |
| 90 | # ================================================== |
| 91 | include $(call all-makefiles-under,$(LOCAL_PATH)) |