Use preload file in hydra loader (#241)
[platform/core/dotnet/launcher.git] / NativeLauncher / inc / launcher_env.h
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
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 #ifndef __LAUNCHER_ENV_H_
18 #define __LAUNCHER_ENV_H_
19
20 #define PLUGIN_PATH                  "/usr/share/dotnet.tizen/lib/libdotnet_plugin.so"
21 #define ENV_FILE_PATH                "/usr/share/dotnet.tizen/lib/coreclr_env.list"
22 #define AOT_METADATA_KEY             "http://tizen.org/metadata/prefer_dotnet_aot"
23 #define TAC_METADATA_KEY             "http://tizen.org/metadata/prefer_nuget_cache"
24 #define METADATA_VALUE               "true"
25 #define APP_NI_SUB_DIR               ".native_image"
26 #define TAC_SYMLINK_SUB_DIR          ".tac_symlink"
27 #define TAC_SHA_256_INFO             ".SHA256.info"
28 #define TAC_APP_LIST_DB              "/opt/usr/dotnet/.TAC.App.list.db"
29 #define TAC_APP_LIST_RESTORE_DB      "/opt/usr/dotnet/.TAC.App.list.restore.db"
30 #define TIZEN_DOTNET_NUGET           "Tizen.NET"
31 #define TIZEN_DOTNET_SDK_NUGET       "Tizen.NET.Sdk"
32 #define NET_STANDARD_LIBRARY_NUGET   "NETStandard.Library"
33 #define PLATFORM_TPA_CACHE           "/usr/share/dotnet.tizen/lib/platform_tpa_cache"
34
35 #endif //__LAUNCHER_ENV_H_