am d6b79557: widevine: support multilib builds
* commit 'd6b79557aba05ad10f5ad4dda01800f07c11a888': widevine: support multilib builds
This commit is contained in:
@@ -1,5 +1 @@
|
||||
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
||||
|
||||
include $(call all-subdir-makefiles)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
ifneq ($(BOARD_USES_GENERIC_WIDEVINE),false)
|
||||
@@ -15,8 +13,7 @@ LOCAL_STRIP_MODULE := true
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := widevine
|
||||
LOCAL_MODULE_TARGET_ARCH := arm
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
@@ -12,6 +10,5 @@ LOCAL_PROPRIETARY_MODULE := true
|
||||
LOCAL_STRIP_MODULE := true
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_TARGET_ARCH := x86
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
@@ -18,9 +16,7 @@ LOCAL_C_INCLUDES += \
|
||||
frameworks/av/drm/libdrmframework/include \
|
||||
frameworks/av/drm/libdrmframework/plugins/common/include
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_C_INCLUDES += $(TOP)/system/core/include/arch/linux-x86
|
||||
endif
|
||||
LOCAL_C_INCLUDES_x86 += $(TOP)/system/core/include/arch/linux-x86
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libstlport \
|
||||
@@ -35,6 +31,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE:=test-wvplayer_L$(BOARD_WIDEVINE_OEMCRYPTO_LEVEL)
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
LOCAL_MODULE_TARGET_ARCH := $(WIDEVINE_SUPPORTED_ARCH)
|
||||
|
||||
endif
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
Reference in New Issue
Block a user