Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1917fac1 authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Convert clearkey plugin to HIDL

Create clearkey HIDL service to support new APIs for drm 1.1 HAL.
The directories are organized into common, default and hidl.
The old shared library source is in common and default.
The new clearkey service source is in common and hidl.

Test: VtsHalDrmV1_1TargetTest

bug: 69635855
Change-Id: I2e8e0e1a39b622aa274ecd32c873d81b95bdc4f8
parent c717e5e4
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2018 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_library_static {
    name: "libclearkeycommon",
    vendor: true,

    srcs: [
        "ClearKeyUUID.cpp",
        "Utils.cpp",
    ],

    cflags: ["-Wall", "-Werror"],

    include_dirs: ["frameworks/av/include"],

    shared_libs: ["libutils"],

    export_include_dirs: ["include"],

    sanitize: {
        integer_overflow: true,
    },
}
Loading