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        "libandroidicu",
52        "libutils",
53        "liblog",
54        "libdl",
55        "libcrypto",
56        "libssl",
57        "libdrmframework",
58        "libdrmframeworkcommon",
59    ],
60
61    static_libs: [
62        "libdrmutility",
63        "libfwdlock-common",
64        "libfwdlock-converter",
65        "libfwdlock-decoder",
66    ],
67
68    local_include_dirs: ["include"],
69
70    relative_install_path: "drm",
71}
72