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