1# Copyright 2005 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4 5minadbd_cflags := \ 6 -Wall -Werror \ 7 -Wno-unused-parameter \ 8 -Wno-missing-field-initializers \ 9 -DADB_HOST=0 \ 10 11include $(CLEAR_VARS) 12 13LOCAL_SRC_FILES := \ 14 adb_main.cpp \ 15 fuse_adb_provider.cpp \ 16 services.cpp \ 17 18LOCAL_MODULE := libminadbd 19LOCAL_CFLAGS := $(minadbd_cflags) 20LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration 21LOCAL_C_INCLUDES := bootable/recovery system/core/adb 22LOCAL_WHOLE_STATIC_LIBRARIES := libadbd 23LOCAL_STATIC_LIBRARIES := libbase 24 25include $(BUILD_STATIC_LIBRARY) 26 27include $(CLEAR_VARS) 28 29LOCAL_CLANG := true 30LOCAL_MODULE := minadbd_test 31LOCAL_SRC_FILES := fuse_adb_provider_test.cpp 32LOCAL_CFLAGS := $(minadbd_cflags) 33LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb 34LOCAL_STATIC_LIBRARIES := libminadbd 35LOCAL_SHARED_LIBRARIES := liblog libbase libcutils 36 37include $(BUILD_NATIVE_TEST) 38