1LOCAL_PATH:= $(call my-dir) 2 3# 4# libhcid 5# 6 7include $(CLEAR_VARS) 8 9LOCAL_SRC_FILES:= \ 10 adapter.c \ 11 agent.c \ 12 device.c \ 13 dbus-common.c \ 14 dbus-database.c \ 15 dbus-error.c \ 16 dbus-hci.c \ 17 dbus-sdp.c \ 18 dbus-security.c \ 19 dbus-service.c \ 20 kword.c \ 21 lexer.c \ 22 main.c \ 23 manager.c \ 24 parser.c \ 25 security.c \ 26 server.c \ 27 storage.c \ 28 plugin.c 29 30LOCAL_CFLAGS:= \ 31 -DVERSION=\"3.36\" \ 32 -DSTORAGEDIR=\"/data/misc/hcid\" \ 33 -DCONFIGDIR=\"/etc/bluez\" \ 34 -DSERVICEDIR=\"/system/bin\" \ 35 -DPLUGINDIR=\"/system/lib/bluez-plugin\" \ 36 -DANDROID_SET_AID_AND_CAP \ 37 -DANDROID_EXPAND_NAME 38 39LOCAL_C_INCLUDES:= \ 40 $(call include-path-for, bluez-libs) \ 41 $(call include-path-for, bluez-utils)/common \ 42 $(call include-path-for, bluez-utils)/eglib \ 43 $(call include-path-for, bluez-utils)/gdbus \ 44 $(call include-path-for, bluez-utils)/sdpd \ 45 $(call include-path-for, dbus) 46 47LOCAL_SHARED_LIBRARIES := \ 48 libdl \ 49 libbluetooth \ 50 libdbus \ 51 libcutils 52 53LOCAL_STATIC_LIBRARIES := \ 54 libsdpserver_static \ 55 libeglib_static \ 56 libgdbus_static \ 57 libbluez-utils-common-static 58 59LOCAL_MODULE:=libhcid 60 61include $(BUILD_SHARED_LIBRARY) 62 63# 64# hcid 65# 66 67include $(CLEAR_VARS) 68 69LOCAL_SHARED_LIBRARIES := \ 70 libhcid 71 72LOCAL_MODULE:=hcid 73 74include $(BUILD_EXECUTABLE) 75