blob: ef5994539a4f1479288c67f07b9c8bdad7166988 [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 \
Ethan Yonker534d4e02016-08-26 10:05:03 -050010 -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
Doug Zongker9270a202012-01-09 15:16:13 -080011
12include $(CLEAR_VARS)
13
14LOCAL_SRC_FILES := \
Elliott Hughes20531ef2015-04-10 13:59:19 -070015 adb_main.cpp \
16 fuse_adb_provider.cpp \
17 services.cpp \
Ethan Yonker34ae4832016-08-24 15:32:18 -050018 ../fuse_sideload.cpp
Doug Zongker9270a202012-01-09 15:16:13 -080019
Tao Bao80e46e02015-06-03 10:49:29 -070020LOCAL_CLANG := true
Doug Zongker9270a202012-01-09 15:16:13 -080021LOCAL_MODULE := libminadbd
Dan Albertffd6c312015-02-26 15:33:00 -080022LOCAL_CFLAGS := $(minadbd_cflags)
23LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration
Ethan Yonkerc798c9c2015-10-09 11:15:26 -050024LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. system/core/adb
Dan Albertf3a57262015-02-19 13:21:14 -080025LOCAL_WHOLE_STATIC_LIBRARIES := libadbd
Ethan Yonker34ae4832016-08-24 15:32:18 -050026LOCAL_SHARED_LIBRARIES := libbase liblog libcutils libc libcrypto
Doug Zongker9270a202012-01-09 15:16:13 -080027
Dees_Troy2673cec2013-04-02 20:22:16 +000028include $(BUILD_SHARED_LIBRARY)
Dan Albertffd6c312015-02-26 15:33:00 -080029
30include $(CLEAR_VARS)
31
32LOCAL_CLANG := true
33LOCAL_MODULE := minadbd_test
34LOCAL_SRC_FILES := fuse_adb_provider_test.cpp
35LOCAL_CFLAGS := $(minadbd_cflags)
36LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb
37LOCAL_STATIC_LIBRARIES := libminadbd
Elliott Hughes4cf34d52015-05-01 22:29:01 -070038LOCAL_SHARED_LIBRARIES := liblog libbase libcutils
Dan Albertffd6c312015-02-26 15:33:00 -080039
40include $(BUILD_NATIVE_TEST)