2020-10-06 10:16:44 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2020 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// This format file defines configuration file for linkerconfig. Details on this
|
|
|
|
// format can be found from
|
2024-01-09 23:02:03 +01:00
|
|
|
// https://android.googlesource.com/platform/system/linkerconfig/+/main/README.md
|
2020-10-06 10:16:44 +02:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package android.linkerconfig.proto;
|
|
|
|
|
|
|
|
message LinkerConfig {
|
|
|
|
// Extra permitted paths
|
|
|
|
repeated string permittedPaths = 1;
|
|
|
|
|
|
|
|
// Force APEX namespace visible
|
|
|
|
bool visible = 2;
|
2020-10-21 03:28:02 +02:00
|
|
|
|
|
|
|
// Providing libs from the module
|
|
|
|
repeated string provideLibs = 3;
|
|
|
|
|
|
|
|
// Required libs from the module
|
|
|
|
repeated string requireLibs = 4;
|
2022-01-25 09:13:15 +01:00
|
|
|
|
|
|
|
message Contribution {
|
|
|
|
// Target namespace where this module contributes the search paths.
|
|
|
|
string namespace = 1;
|
|
|
|
// Search paths (inc. permitted paths) that this module contributes.
|
|
|
|
// Paths should be related to the current module and can use "${LIB}" variable which is
|
|
|
|
// expanded to "lib" or "lib64".
|
|
|
|
// e.g. ${LIB}/subdir
|
|
|
|
repeated string paths = 2;
|
|
|
|
}
|
|
|
|
// APEX can contribute search paths to specified namespaces.
|
|
|
|
repeated Contribution contributions = 5;
|
2020-10-06 10:16:44 +02:00
|
|
|
}
|