blob: fcbd1c5815a7b52cacee2f343ea2caa16c99c4e0 [file] [log] [blame]
Kiyoung Kim62abd122020-10-06 17:16:44 +09001/*
2 * Copyright (C) 2020 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 *
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
17// This format file defines configuration file for linkerconfig. Details on this
18// format can be found from
Elliott Hughes10363162024-01-09 22:02:03 +000019// https://android.googlesource.com/platform/system/linkerconfig/+/main/README.md
Kiyoung Kim62abd122020-10-06 17:16:44 +090020
21syntax = "proto3";
22
23package android.linkerconfig.proto;
24
25message LinkerConfig {
26 // Extra permitted paths
27 repeated string permittedPaths = 1;
28
29 // Force APEX namespace visible
30 bool visible = 2;
Kiyoung Kim63480562020-10-21 10:28:02 +090031
32 // Providing libs from the module
33 repeated string provideLibs = 3;
34
35 // Required libs from the module
36 repeated string requireLibs = 4;
Jooyung Hane5b0a0a2022-01-25 17:13:15 +090037
38 message Contribution {
39 // Target namespace where this module contributes the search paths.
40 string namespace = 1;
41 // Search paths (inc. permitted paths) that this module contributes.
42 // Paths should be related to the current module and can use "${LIB}" variable which is
43 // expanded to "lib" or "lib64".
44 // e.g. ${LIB}/subdir
45 repeated string paths = 2;
46 }
47 // APEX can contribute search paths to specified namespaces.
48 repeated Contribution contributions = 5;
Kiyoung Kim62abd122020-10-06 17:16:44 +090049}