Android.mk revision 4662a114a416e636de805fbd875f8b90fc5965b9
1# Copyright (C) 2013 Google Inc. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15LOCAL_PATH:= $(call my-dir) 16 17include $(CLEAR_VARS) 18 19LOCAL_C_INCLUDES := \ 20 external/openssl/include \ 21 external/mdnsresponder/mDNSShared \ 22 $(LOCAL_PATH)/include \ 23 external/zlib/ \ 24 25LOCAL_SRC_FILES := \ 26 config.c \ 27 commands.c \ 28 commands/boot.c \ 29 commands/flash.c \ 30 commands/partitions.c \ 31 commands/virtual_partitions.c \ 32 fastbootd.c \ 33 protocol.c \ 34 network_discovery.c \ 35 socket_client.c \ 36 secure.c \ 37 transport.c \ 38 transport_socket.c \ 39 trigger.c \ 40 usb_linux_client.c \ 41 utils.c \ 42 43LOCAL_MODULE := fastbootd 44LOCAL_MODULE_TAGS := optional 45LOCAL_CFLAGS := -Wall -Werror -Wno-unused-parameter -DFLASH_CERT 46LOCAL_LDFLAGS := -ldl 47 48LOCAL_SHARED_LIBRARIES := \ 49 libhardware \ 50 libcrypto \ 51 libhardware_legacy \ 52 libmdnssd 53 54LOCAL_STATIC_LIBRARIES := \ 55 libsparse_static \ 56 libc \ 57 libcutils \ 58 libz 59 60#LOCAL_FORCE_STATIC_EXECUTABLE := true 61 62include $(BUILD_EXECUTABLE) 63 64include $(CLEAR_VARS) 65LOCAL_C_INCLUDES := \ 66 external/zlib/ 67 68LOCAL_SRC_FILES := \ 69 commands/partitions.c \ 70 other/gptedit.c \ 71 utils.c 72 73LOCAL_MODULE := gptedit 74LOCAL_MODULE_TAGS := optional 75LOCAL_CFLAGS := -Wall -Werror -Wno-unused-parameter 76 77LOCAL_STATIC_LIBRARIES := \ 78 libsparse_static \ 79 libc \ 80 libcutils \ 81 libz 82 83LOCAL_FORCE_STATIC_EXECUTABLE := true 84 85include $(BUILD_EXECUTABLE) 86 87include $(CLEAR_VARS) 88 89LOCAL_C_INCLUDES := \ 90 $(LOCAL_PATH)/include \ 91 92LOCAL_STATIC_LIBRARIES := \ 93 $(EXTRA_STATIC_LIBS) \ 94 libcutils 95 96LOCAL_SRC_FILES := \ 97 other/vendor_trigger.c 98 99LOCAL_MODULE := libvendortrigger.default 100LOCAL_MODULE_TAGS := optional 101LOCAL_CFLAGS := -Wall -Werror -Wno-unused-parameter 102 103 104include $(BUILD_SHARED_LIBRARY) 105