Merge from widevine repo of http://go/wvgerrit/15659 The clang compiler is more strict about C++11. This is needed for future Android work. In particular, iostream no longer converts to bool automtically, so those instances were replaced with ss.fail(). Arrays or structures that appear to be variable length need to be placed last in a structure. In oemcrypto_test a variable size structure was replaced with an explicit buffer size, and a check was added to make sure the buffer is not exceeded. bug: 20893039 Change-Id: I5e25fc618dcf68262079c15554ee4ceae1858b8b
13 lines
212 B
Makefile
13 lines
212 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:=oemcrypto_test
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_MODULE_TARGET_ARCH := arm x86 mips
|
|
|
|
include $(LOCAL_PATH)/common.mk
|
|
|
|
include $(BUILD_EXECUTABLE)
|