Include a dummy jar in widevine distribution.

This suppresses the errors currently caused by
uses-library pointing to a .so

Bug: 4553918
Change-Id: I646456facae908c7937d4768010aef88d7389eee
This commit is contained in:
Bryan Mawhinney
2011-09-27 18:18:19 +01:00
committed by Jeffrey Tinker
parent 782380915e
commit 163d39278f
3 changed files with 17 additions and 3 deletions

View File

@@ -17,6 +17,18 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
include $(BUILD_PREBUILT)
########################
# Dummy library used to indicate availability of widevine drm
include $(CLEAR_VARS)
LOCAL_MODULE := com.google.widevine.software.drm
LOCAL_SRC_FILES := src/StubLib.java
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
include $(BUILD_JAVA_LIBRARY)
########################
ifeq ($(TARGET_ARCH),arm)
@@ -37,5 +49,3 @@ include $(BUILD_STATIC_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif