am 2ea5ad1f: Added widevine feature file to enable clients to lookup wv drm feature

* commit '2ea5ad1f00b80f812d84b431faa6517277beb58f':
  Added widevine feature file to enable clients to lookup wv drm feature
This commit is contained in:
Guru Nagarajan
2011-03-28 10:05:51 -07:00
committed by Android Git Automerger
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)
LOCAL_PATH:= $(call my-dir)
#LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libwvdrm
@@ -78,3 +97,5 @@ include $(BUILD_SHARED_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))
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>