blob: 083063be1e10479ab1eb0844da7408a16f372def [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
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
Elliott Hughes3e7d82c2015-05-01 17:25:24 -070034LOCAL_SHARED_LIBRARIES := liblog libbase
Dan Albertffd6c312015-02-26 15:33:00 -080035
36include $(BUILD_NATIVE_TEST)