• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2010 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//2
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_applicable_licenses: [
19        "frameworks_av_drm_libdrmframework_plugins_forward-lock_FwdLockEngine_license",
20    ],
21}
22
23// Added automatically by a large-scale-change
24// See: http://go/android-license-faq
25license {
26    name: "frameworks_av_drm_libdrmframework_plugins_forward-lock_FwdLockEngine_license",
27    visibility: [":__subpackages__"],
28    license_kinds: [
29        "SPDX-license-identifier-Apache-2.0",
30    ],
31    license_text: [
32        "NOTICE",
33    ],
34}
35
36cc_library_shared {
37    name: "libfwdlockengine",
38
39    cflags: [
40        "-DUSE_64BIT_DRM_API",
41        // The flag below turns on local debug printouts
42        //"-DDRM_OMA_FL_ENGINE_DEBUG",
43        "-Wall",
44        "-Werror",
45        "-Wno-unused-variable",
46    ],
47
48    srcs: ["src/FwdLockEngine.cpp"],
49
50    shared_libs: [
51        "libutils",
52        "liblog",
53        "libdl",
54        "libcrypto",
55        "libssl",
56        "libdrmframework",
57        "libdrmframeworkcommon",
58    ],
59
60    static_libs: [
61        "libdrmutility",
62        "libfwdlock-common",
63        "libfwdlock-converter",
64        "libfwdlock-decoder",
65    ],
66
67    local_include_dirs: ["include"],
68
69    relative_install_path: "drm",
70}
71