Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true
Change-Id: I96c643123b0314c361b7f48a18d5c22c660d4ff5
This commit is contained in:
parent
f683e0163a
commit
e91fff0a2d
@ -3,6 +3,10 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
svc_c_flags = \
|
svc_c_flags = \
|
||||||
-Wall -Wextra \
|
-Wall -Wextra \
|
||||||
|
|
||||||
|
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
|
||||||
|
svc_c_flags += -DBINDER_IPC_32BIT=1
|
||||||
|
endif
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_SHARED_LIBRARIES := liblog
|
LOCAL_SHARED_LIBRARIES := liblog
|
||||||
LOCAL_SRC_FILES := bctest.c binder.c
|
LOCAL_SRC_FILES := bctest.c binder.c
|
||||||
|
@ -42,6 +42,9 @@ LOCAL_LDLIBS += -lpthread
|
|||||||
LOCAL_MODULE := libbinder
|
LOCAL_MODULE := libbinder
|
||||||
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
|
||||||
LOCAL_SRC_FILES := $(sources)
|
LOCAL_SRC_FILES := $(sources)
|
||||||
|
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
|
||||||
|
LOCAL_CFLAGS += -DBINDER_IPC_32BIT=1
|
||||||
|
endif
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
@ -49,4 +52,7 @@ LOCAL_LDLIBS += -lpthread
|
|||||||
LOCAL_MODULE := libbinder
|
LOCAL_MODULE := libbinder
|
||||||
LOCAL_STATIC_LIBRARIES += libutils
|
LOCAL_STATIC_LIBRARIES += libutils
|
||||||
LOCAL_SRC_FILES := $(sources)
|
LOCAL_SRC_FILES := $(sources)
|
||||||
|
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
|
||||||
|
LOCAL_CFLAGS += -DBINDER_IPC_32BIT=1
|
||||||
|
endif
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user