mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
configstore-utils is explicitly marked as double_loadable since it is one of the
(indirect) dependencies of the LLNDK library libvulkan
and at the same time the lib itself is marked as VNDK. Such lib can be
double loaded inside a vendor process.
Note: even without this change, the library is already capable of being
double loaded due to the dependency graph around it. This change is to
make it explicit so that double loading of a library is carefully
tracked and signed-off by the owner of the lib.
Bug: 77155589
Test: m -j
Merged-In: Ibece0476b819e3387836305ee3b1c9dbf614920b
Change-Id: Ibece0476b819e3387836305ee3b1c9dbf614920b
(cherry picked from commit 9fb3c20bc6)
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
//
|
|
// Copyright (C) 2017 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_shared {
|
|
name: "android.hardware.configstore-utils",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
double_loadable: true,
|
|
defaults: ["hidl_defaults"],
|
|
|
|
srcs: [ "ConfigStoreUtils.cpp" ],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
shared_libs: [
|
|
"android.hardware.configstore@1.0",
|
|
"libbase",
|
|
"libhidlbase"
|
|
],
|
|
export_shared_lib_headers: [
|
|
"android.hardware.configstore@1.0",
|
|
"libbase",
|
|
"libhidlbase"
|
|
],
|
|
}
|