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,9 +1,7 @@
|
||||
# widevine prebuilts only available for ARM
|
||||
# To build this dir you must define BOARD_WIDEVINE_OEMCRYPTO_LEVEL in the board config.
|
||||
ifdef BOARD_WIDEVINE_OEMCRYPTO_LEVEL
|
||||
ifneq ($(filter arm x86,$(TARGET_ARCH)),)
|
||||
|
||||
include $(call all-subdir-makefiles)
|
||||
|
||||
endif # TARGET_ARCH == arm, x86
|
||||
endif # BOARD_WIDEVINE_OEMCRYPTO_LEVEL
|
||||
|
||||
Reference in New Issue
Block a user