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:
committed by
Jeffrey Tinker
parent
782380915e
commit
163d39278f
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user