Added widevine feature file to enable clients to lookup wv drm feature

Change-Id: Iabd2db92c325d1969eca2169f518238f3cb7ac3d
This commit is contained in:
Guru Nagarajan
2011-03-25 19:19:37 -07:00
parent 18617b93c6
commit 2ea5ad1f00
2 changed files with 43 additions and 1 deletions

View File

@@ -1,6 +1,25 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
########################
# Feature file for clients to look up widevine drm plug-in
LOCAL_MODULE := com.google.widevine.software.drm.xml
LOCAL_SRC_FILES := $(LOCAL_MODULE)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
# This will install the file in /system/etc/permissions
#
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
include $(BUILD_PREBUILT)
########################
ifeq ($(TARGET_ARCH),arm) ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH:= $(call my-dir) #LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := libwvdrm LOCAL_MODULE := libwvdrm
@@ -78,3 +97,5 @@ include $(BUILD_SHARED_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif endif

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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.
-->
<permissions>
<library name="com.google.widevine.software.drm"
file="/system/lib/drm/libdrmwvmplugin.so"/>
</permissions>