1// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_library_shared {
21    name: "libberberis_proxy_libmediandk",
22    defaults: ["berberis_proxy_library_defaults"],
23    srcs: [":native_bridge_proxy_libmediandk_files"],
24    shared_libs: [
25        // TODO(b/311454594): Remove when no longer required.
26        // libandroid is indirectly required by libmediandk. We include libadroid here to
27        // ensure that it remains loaded after dlclose. e.g. process using libmediandk
28        // may do dlopen on dependency like libandroid, find function there, then do
29        // dlclose and still use that function.
30        "libandroid",
31        "libmediandk",
32    ],
33}
34