2012-10-24 17:45:23 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2014-01-30 14:58:32 +00:00
|
|
|
svc_c_flags = \
|
|
|
|
-Wall -Wextra \
|
|
|
|
|
2014-01-29 03:57:02 +00:00
|
|
|
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
|
2014-02-03 22:46:30 +00:00
|
|
|
ifneq ($(TARGET_IS_64_BIT),true)
|
2014-01-29 03:57:02 +00:00
|
|
|
svc_c_flags += -DBINDER_IPC_32BIT=1
|
|
|
|
endif
|
2014-02-03 22:46:30 +00:00
|
|
|
endif
|
2014-01-29 03:57:02 +00:00
|
|
|
|
2014-01-30 14:58:32 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
|
|
|
LOCAL_SRC_FILES := bctest.c binder.c
|
|
|
|
LOCAL_CFLAGS += $(svc_c_flags)
|
|
|
|
LOCAL_MODULE := bctest
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2012-10-24 17:45:23 +00:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
|
|
|
LOCAL_SRC_FILES := service_manager.c binder.c
|
2014-01-30 14:58:32 +00:00
|
|
|
LOCAL_CFLAGS += $(svc_c_flags)
|
2012-10-24 17:45:23 +00:00
|
|
|
LOCAL_MODULE := servicemanager
|
|
|
|
include $(BUILD_EXECUTABLE)
|