widevine: support multilib builds
Support builds for multiple architectures the same time: Use LOCAL_MODULE_TARGET_ARCH to restrict building to specific arches Use LOCAL_C_INCLUDES_x86 to set the include path for only x86 builds Change-Id: I7c33c27f1c9bfb6e3318a07514698992482f6cd7
This commit is contained in:
@@ -31,8 +31,6 @@ include $(BUILD_JAVA_LIBRARY)
|
||||
|
||||
########################
|
||||
|
||||
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
include $(TOP)/vendor/widevine/proprietary/drmwvmplugin/common.mk
|
||||
|
||||
@@ -43,9 +41,9 @@ LOCAL_SRC_FILES:= \
|
||||
LOCAL_MODULE := libdrmwvmcommon
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_MODULE_TARGET_ARCH := $(WIDEVINE_SUPPORTED_ARCH)
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
# invoke Android.mk files in subdirs
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user