blob: a7a3e087d3dba649484a2735ea2807f6b005432f [file] [log] [blame]
Doug Zongker9270a202012-01-09 15:16:13 -08001# Copyright 2005 The Android Open Source Project
Doug Zongker9270a202012-01-09 15:16:13 -08002
3LOCAL_PATH:= $(call my-dir)
4
Dan Albertffd6c312015-02-26 15:33:00 -08005minadbd_cflags := \
6 -Wall -Werror \
7 -Wno-unused-parameter \
8 -Wno-missing-field-initializers \
9 -DADB_HOST=0 \
10
Doug Zongker9270a202012-01-09 15:16:13 -080011include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := \
Elliott Hughes20531ef2015-04-10 13:59:19 -070014 adb_main.cpp \
15 fuse_adb_provider.cpp \
16 services.cpp \
Doug Zongker9270a202012-01-09 15:16:13 -080017
Dan Albertffd6c312015-02-26 15:33:00 -080018LOCAL_MODULE := libminadbd
19LOCAL_CFLAGS := $(minadbd_cflags)
20LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration
Dan Albert1ddd3502015-02-18 15:58:15 -080021LOCAL_C_INCLUDES := bootable/recovery system/core/adb
Dan Albertf3a57262015-02-19 13:21:14 -080022LOCAL_WHOLE_STATIC_LIBRARIES := libadbd
Elliott Hughes40399332015-05-01 17:07:44 -070023LOCAL_STATIC_LIBRARIES := libbase
Doug Zongker9270a202012-01-09 15:16:13 -080024
Doug Zongker9270a202012-01-09 15:16:13 -080025include $(BUILD_STATIC_LIBRARY)
Dan Albertffd6c312015-02-26 15:33:00 -080026
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
Elliott Hughesdbb20c42015-05-01 22:29:01 -070035LOCAL_SHARED_LIBRARIES := liblog libbase libcutils
Dan Albertffd6c312015-02-26 15:33:00 -080036
37include $(BUILD_NATIVE_TEST)