Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 1 | # Copyright 2005 The Android Open Source Project |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 5 | minadbd_cflags := \ |
| 6 | -Wall -Werror \ |
| 7 | -Wno-unused-parameter \ |
| 8 | -Wno-missing-field-initializers \ |
| 9 | -DADB_HOST=0 \ |
| 10 | |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 11 | include $(CLEAR_VARS) |
| 12 | |
| 13 | LOCAL_SRC_FILES := \ |
Elliott Hughes | 20531ef | 2015-04-10 13:59:19 -0700 | [diff] [blame] | 14 | fuse_adb_provider.cpp \ |
Josh Gao | acb2a2f | 2016-08-26 18:24:34 -0700 | [diff] [blame] | 15 | minadbd.cpp \ |
Elliott Hughes | 24eb8a0 | 2016-06-15 15:12:17 -0700 | [diff] [blame] | 16 | minadbd_services.cpp \ |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 17 | |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 18 | LOCAL_MODULE := libminadbd |
| 19 | LOCAL_CFLAGS := $(minadbd_cflags) |
| 20 | LOCAL_CONLY_FLAGS := -Wimplicit-function-declaration |
Dan Albert | 1ddd350 | 2015-02-18 15:58:15 -0800 | [diff] [blame] | 21 | LOCAL_C_INCLUDES := bootable/recovery system/core/adb |
Dan Albert | f3a5726 | 2015-02-19 13:21:14 -0800 | [diff] [blame] | 22 | LOCAL_WHOLE_STATIC_LIBRARIES := libadbd |
Elliott Hughes | 1675848 | 2016-08-09 18:46:57 -0700 | [diff] [blame] | 23 | LOCAL_STATIC_LIBRARIES := libcrypto libbase |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 24 | |
Doug Zongker | 9270a20 | 2012-01-09 15:16:13 -0800 | [diff] [blame] | 25 | include $(BUILD_STATIC_LIBRARY) |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 26 | |
| 27 | include $(CLEAR_VARS) |
| 28 | |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 29 | LOCAL_MODULE := minadbd_test |
Dan Shi | 7368316 | 2017-03-28 17:22:41 -0700 | [diff] [blame] | 30 | LOCAL_COMPATIBILITY_SUITE := device-tests |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 31 | LOCAL_SRC_FILES := fuse_adb_provider_test.cpp |
| 32 | LOCAL_CFLAGS := $(minadbd_cflags) |
| 33 | LOCAL_C_INCLUDES := $(LOCAL_PATH) system/core/adb |
| 34 | LOCAL_STATIC_LIBRARIES := libminadbd |
Elliott Hughes | dbb20c4 | 2015-05-01 22:29:01 -0700 | [diff] [blame] | 35 | LOCAL_SHARED_LIBRARIES := liblog libbase libcutils |
Dan Albert | ffd6c31 | 2015-02-26 15:33:00 -0800 | [diff] [blame] | 36 | |
| 37 | include $(BUILD_NATIVE_TEST) |