[ Merge of http://go/wvgerrit/138089 ] Non-hidl code is no longer needed in the widevine android plugin. By doing work this cleanup will save the team from having to keep maintaining code that isn't needed anymore. Clean up steps taken as follows: 1. Remove non-hidl code but keep commonly used code 2. Remove legacy test code 3. Remove legacy test build and test entry Bug: 69573078 Bug: 172285246 Test: unit tests, GtsMediaTestCases, CtsMediaDrmTestCases Change-Id: I75938d69413c631ef6be82da3d885ba173efc581
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
// Copyright (C) 2020 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.
|
|
// -----------------------------------------------------------------------------
|
|
// Builds libwvdrmcryptoplugin_hidl
|
|
//
|
|
cc_library_static {
|
|
name: "libwvdrmcryptoplugin_hidl",
|
|
|
|
srcs: ["src_hidl/WVCryptoPlugin.cpp"],
|
|
|
|
include_dirs: [
|
|
"frameworks/av/include",
|
|
"frameworks/native/include",
|
|
"vendor/widevine/libwvdrmengine/cdm/core/include",
|
|
"vendor/widevine/libwvdrmengine/cdm/include",
|
|
"vendor/widevine/libwvdrmengine/cdm/metrics/include",
|
|
"vendor/widevine/libwvdrmengine/cdm/util/include",
|
|
"vendor/widevine/libwvdrmengine/include_hidl",
|
|
"vendor/widevine/libwvdrmengine/include",
|
|
"vendor/widevine/libwvdrmengine/mediacrypto/include_hidl",
|
|
"vendor/widevine/libwvdrmengine/oemcrypto/include",
|
|
],
|
|
|
|
header_libs: [
|
|
"libstagefright_headers",
|
|
"libutils_headers",
|
|
],
|
|
|
|
static_libs: ["libcdm_protos"],
|
|
|
|
shared_libs: [
|
|
"android.hardware.drm@1.0",
|
|
"android.hardware.drm@1.1",
|
|
"android.hardware.drm@1.2",
|
|
"android.hardware.drm@1.3",
|
|
"android.hardware.drm@1.4",
|
|
"android.hidl.memory@1.0",
|
|
"libcrypto",
|
|
"libhidlmemory",
|
|
"liblog",
|
|
],
|
|
|
|
cflags: ["-Wthread-safety"],
|
|
|
|
proprietary: true,
|
|
|
|
}
|