2012-01-10 00:16:13 +01:00
|
|
|
# Copyright 2005 The Android Open Source Project
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2015-02-27 00:33:00 +01:00
|
|
|
minadbd_cflags := \
|
|
|
|
-Wall -Werror \
|
|
|
|
-Wno-unused-parameter \
|
|
|
|
-Wno-missing-field-initializers \
|
|
|
|
-DADB_HOST=0 \
|
|
|
|
|
2012-01-10 00:16:13 +01:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2015-04-10 22:59:19 +02:00
|
|
|
adb_main.cpp \
|
|
|
|
fuse_adb_provider.cpp \
|
|
|
|
services.cpp \
|
2015-02-25 07:07:18 +01:00
|
|
|
|
2015-06-03 19:49:29 +02:00
|
|
|
LOCAL_CLANG := true
|
2015-02-27 00:33:00 +01:00
|
|
|
LOCAL_MODULE := libminadbd
|
|
|
|
LOCAL_CFLAGS := $(minadbd_cflags)
|
|
|
|
LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration
|
2015-02-19 00:58:15 +01:00
|
|
|
LOCAL_C_INCLUDES := bootable/recovery system/core/adb
|
2015-02-19 22:21:14 +01:00
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := libadbd
|
2015-05-02 02:07:44 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := libbase
|
2012-01-10 00:16:13 +01:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2015-02-27 00:33:00 +01:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_CLANG := true
|
|
|
|
LOCAL_MODULE := minadbd_test
|
|
|
|
LOCAL_SRC_FILES := fuse_adb_provider_test.cpp
|
|
|
|
LOCAL_CFLAGS := $(minadbd_cflags)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb
|
|
|
|
LOCAL_STATIC_LIBRARIES := libminadbd
|
2015-05-02 07:29:01 +02:00
|
|
|
LOCAL_SHARED_LIBRARIES := liblog libbase libcutils
|
2015-02-27 00:33:00 +01:00
|
|
|
|
|
|
|
include $(BUILD_NATIVE_TEST)
|