1 LOCAL_PATH:= $(call my-dir) 2 3 svc_c_flags = \ 4 -Wall -Wextra -Werror \ 5 6 ifneq ($(TARGET_USES_64_BIT_BINDER),true) 7 ifneq ($(TARGET_IS_64_BIT),true) 8 svc_c_flags += -DBINDER_IPC_32BIT=1 9 endif 10 endif 11 12 include $(CLEAR_VARS) 13 LOCAL_SHARED_LIBRARIES := liblog 14 LOCAL_SRC_FILES := bctest.c binder.c 15 LOCAL_CFLAGS += $(svc_c_flags) 16 LOCAL_MODULE := bctest 17 LOCAL_MODULE_TAGS := optional 18 include $(BUILD_EXECUTABLE) 19 20 include $(CLEAR_VARS) 21 LOCAL_SHARED_LIBRARIES := liblog libselinux 22 LOCAL_SRC_FILES := service_manager.c binder.c 23 LOCAL_CFLAGS += $(svc_c_flags) 24 LOCAL_MODULE := servicemanager 25 LOCAL_INIT_RC := servicemanager.rc 26 include $(BUILD_EXECUTABLE) 27