Add support for WV plugin

Change-Id: I0b9d0488f123c05ad2d94315236458f479e00b78
This commit is contained in:
Gloria Wang
2010-10-29 16:44:37 -07:00
parent b0cc50de14
commit 6793a04d62
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libdrmwvmplugin
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/drm/plugins/native
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)

View File

@@ -217,6 +217,10 @@ public:
* POSIX based Decrypt API set for container based DRM
*/
static const int CONTAINER_BASED = 0x02;
/**
* Decrypt API for Widevine streams
*/
static const int WV_BASED = 0x3;
};
/**