summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2022-01-25 16:01:31 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-01-25 16:01:31 +0000
commit620dc3f4f9893196036257844b8727e0043d50e5 (patch)
treeb779b584a016764993a7212089a7f27d993e7314
parentefdc4f4d42f82e806c0fbeafe1b4b8ab504d3d9e (diff)
parente5b0a0a4a00e2e356db5983989314a12cc13113b (diff)
Merge "Linkerconfig with namespace contribution"
-rw-r--r--linkerconfig/proto/linker_config.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/linkerconfig/proto/linker_config.proto b/linkerconfig/proto/linker_config.proto
index fec66c85e..dccf311bb 100644
--- a/linkerconfig/proto/linker_config.proto
+++ b/linkerconfig/proto/linker_config.proto
@@ -34,4 +34,16 @@ message LinkerConfig {
// Required libs from the module
repeated string requireLibs = 4;
+
+ 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;
}