• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
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
19// https://android.googlesource.com/platform/system/linkerconfig/+/master/README.md
20
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;
31
32  // Providing libs from the module
33  repeated string provideLibs = 3;
34
35  // Required libs from the module
36  repeated string requireLibs = 4;
37
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;
49}
50