Revert "Convert libwvdrmengine to soong."
This change introduced b/38487636 "Distorted video observed when
playing purchased/rented movie in Google play movies & TV app."
Before resubmitting an updated variant of the original CL, please
test playback with Play Movies and the GTS media tests.
This reverts commit 33f9979b2b.
Change-Id: I4ec2e6fe81323e91e4b62288755c967999e81041
This commit is contained in:
@@ -1,136 +0,0 @@
|
||||
//
|
||||
// Copyright (C) 2017 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.
|
||||
//
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.drm@1.0-service.widevine",
|
||||
proprietary: true,
|
||||
owner: "widevine",
|
||||
relative_install_path: "hw",
|
||||
srcs: ["src_hidl/service.cpp"],
|
||||
init_rc: ["src_hidl/android.hardware.drm@1.0-service.widevine.rc"],
|
||||
static_libs: [
|
||||
"libwvdrmdrmplugin",
|
||||
],
|
||||
header_libs: [
|
||||
"liboemcrypto_libwvdrmengine_local",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.drm@1.0",
|
||||
"libbase",
|
||||
"libbinder",
|
||||
"libhidltransport",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libwvhidl",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libwvdrmengine",
|
||||
relative_install_path: "mediadrm",
|
||||
owner: "widevine",
|
||||
proprietary: true,
|
||||
srcs: [
|
||||
"src/WVCDMSingleton.cpp",
|
||||
"src/WVCreatePluginFactories.cpp",
|
||||
"src/WVCryptoFactory.cpp",
|
||||
"src/WVDrmFactory.cpp",
|
||||
"src/WVUUID.cpp",
|
||||
],
|
||||
export_include_dirs: ["include"],
|
||||
static_libs: [
|
||||
"libcdm",
|
||||
"libcdm_protos",
|
||||
"libcdm_utils",
|
||||
"libcrypto_static",
|
||||
"libjsmn",
|
||||
"libwvdrmcryptoplugin",
|
||||
"libwvdrmdrmplugin",
|
||||
"libwvlevel3",
|
||||
],
|
||||
header_libs: [
|
||||
"liboemcrypto_libwvdrmengine_local",
|
||||
],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libprotobuf-cpp-lite",
|
||||
"libstagefright_foundation",
|
||||
"libutils",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libwidevinehidl_utils",
|
||||
srcs: ["src_hidl/TypeConvert.cpp"],
|
||||
export_include_dirs: ["include_hidl"],
|
||||
shared_libs: ["android.hardware.drm@1.0"],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libwvhidl",
|
||||
owner: "widevine",
|
||||
proprietary: true,
|
||||
srcs: [
|
||||
"src/WVCDMSingleton.cpp",
|
||||
"src/WVUUID.cpp",
|
||||
"src_hidl/WVCreatePluginFactories.cpp",
|
||||
"src_hidl/WVCryptoFactory.cpp",
|
||||
"src_hidl/WVDrmFactory.cpp",
|
||||
],
|
||||
include_dirs: [
|
||||
"vendor/widevine/libwvdrmengine/include",
|
||||
],
|
||||
export_include_dirs: ["include_hidl"],
|
||||
static_libs: [
|
||||
"libcdm",
|
||||
"libcdm_protos",
|
||||
"libcdm_utils",
|
||||
"libcrypto_static",
|
||||
"libjsmn",
|
||||
"libwvdrmcryptoplugin_hidl",
|
||||
"libwvdrmdrmplugin_hidl",
|
||||
"libwvlevel3",
|
||||
],
|
||||
whole_static_libs: [
|
||||
"libwidevinehidl_utils",
|
||||
],
|
||||
header_libs: [
|
||||
"liboemcrypto_libwvdrmengine_local",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.drm@1.0",
|
||||
"android.hidl.memory@1.0",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidlmemory",
|
||||
"libhidltransport",
|
||||
"liblog",
|
||||
"libprotobuf-cpp-lite",
|
||||
"libutils",
|
||||
],
|
||||
}
|
||||
|
||||
subdirs = [
|
||||
"cdm",
|
||||
"level3",
|
||||
"mediacrypto",
|
||||
"mediadrm",
|
||||
"oemcrypto",
|
||||
"test/unit",
|
||||
"third_party/stringencoders",
|
||||
"vts/vendor_module",
|
||||
]
|
||||
Reference in New Issue
Block a user