1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_C_INCLUDES:= $(LOCAL_PATH)/.. 5 6 LOCAL_CFLAGS:= \ 7 -O3 \ 8 -DDBUS_COMPILATION \ 9 -DDBUS_DAEMON_NAME=\"dbus-daemon\" \ 10 -DDBUS_SYSTEM_CONFIG_FILE=\"/system/etc/dbus.conf\" \ 11 -DDBUS_SESSION_CONFIG_FILE=\"/system/etc/session.conf\" \ 12 -Wno-address \ 13 -Wno-empty-body \ 14 -Wno-pointer-sign \ 15 -Wno-sign-compare \ 16 -Wno-unused-parameter 17 18 LOCAL_SRC_FILES:= \ 19 activation.c \ 20 bus.c \ 21 config-loader-expat.c \ 22 config-parser.c \ 23 config-parser-common.c \ 24 connection.c \ 25 desktop-file.c \ 26 dir-watch-default.c \ 27 dispatch.c \ 28 driver.c \ 29 expirelist.c \ 30 main.c \ 31 policy.c \ 32 selinux.c \ 33 services.c \ 34 signals.c \ 35 utils.c 36 37 LOCAL_SHARED_LIBRARIES := \ 38 libexpat \ 39 libdbus 40 41 LOCAL_MODULE:=dbus-daemon 42 43 include $(BUILD_EXECUTABLE) 44