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:
@@ -1,5 +1,3 @@
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
ifneq ($(BOARD_USES_GENERIC_WIDEVINE),false)
|
||||
@@ -18,6 +16,7 @@ LOCAL_STRIP_MODULE := true
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := widevine
|
||||
LOCAL_MODULE_TARGET_ARCH := arm
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
#########################################################################
|
||||
@@ -31,8 +30,8 @@ LOCAL_MODULE_SUFFIX := .a
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_TARGET_ARCH := arm
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user