blob: 52d3fa4e468ed5c05c5b84d42c1f8fbd8ebf7fe2 [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 := \
Dan Albert8f6eb5c2015-02-24 22:07:18 -080014 adb_main.c \
15 fuse_adb_provider.c \
16 services.c \
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
Doug Zongker9270a202012-01-09 15:16:13 -080023
Doug Zongker9270a202012-01-09 15:16:13 -080024include $(BUILD_STATIC_LIBRARY)
Dan Albertffd6c312015-02-26 15:33:00 -080025
26include $(CLEAR_VARS)
27
28LOCAL_CLANG := true
29LOCAL_MODULE := minadbd_test
30LOCAL_SRC_FILES := fuse_adb_provider_test.cpp
31LOCAL_CFLAGS := $(minadbd_cflags)
32LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb
33LOCAL_STATIC_LIBRARIES := libminadbd
Dan Albertb2f94592015-03-13 22:33:38 -070034LOCAL_SHARED_LIBRARIES := liblog
Dan Albertffd6c312015-02-26 15:33:00 -080035
36include $(BUILD_NATIVE_TEST)