blob: 9b6dea88a109ad80c8f1a4b45a333a143b9ec236 [file] [log] [blame]
Jiyong Park40a60772019-05-03 16:21:31 +09001/*
2 * Copyright (C) 2019 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#pragma once
17
18#include <string>
19
20namespace android::nativeloader {
21
22// These provide the list of libraries that are available to the namespace for apps.
23// Not all of the libraries are available to apps. Depending on the context,
24// e.g., if it is a vendor app or not, different set of libraries are made available.
Jiyong Park5b8b3062019-05-03 18:11:49 +090025const std::string& default_public_libraries();
Jiyong Park40a60772019-05-03 16:21:31 +090026const std::string& runtime_public_libraries();
27const std::string& vendor_public_libraries();
Jiyong Park5b8b3062019-05-03 18:11:49 +090028const std::string& extended_public_libraries();
29const std::string& llndk_libraries();
30const std::string& vndksp_libraries();
Jiyong Park40a60772019-05-03 16:21:31 +090031
32}; // namespace android::nativeloader