Build widevide modules with BOARD_VNDK_VERSION
Header libs are added since global include path is not provided when building with BOARD_VNDK_VERSION. Also, some static libs are marked as proprietary so that they can be linked against to the drm hal service. Bug: 33241851 Test: BOARD_VNDK_VERSION=current m -j android.hardware.drm@1.0-service.widevine Change-Id: Iab85869e21917ea212a09d6eaabdb6ba3ace9248
This commit is contained in:
@@ -15,6 +15,9 @@ LOCAL_C_INCLUDES += \
|
||||
external/jsmn \
|
||||
external/protobuf/src \
|
||||
|
||||
LOCAL_HEADER_LIBRARIES := \
|
||||
libutils_headers
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libcdm_protos libcrypto_static
|
||||
|
||||
SRC_DIR := src
|
||||
@@ -45,5 +48,6 @@ LOCAL_SRC_FILES := \
|
||||
|
||||
LOCAL_MODULE := libcdm
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PROPRIETARY_MODULE := true
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
#include "log.h"
|
||||
#include <utils/Log.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/*
|
||||
* Uncomment the line below if you want to have the LOGV messages to print
|
||||
* IMPORTANT : this will affect all of CDM
|
||||
|
||||
Reference in New Issue
Block a user