2 * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __LAUNCHER_ENV_H_
18 #define __LAUNCHER_ENV_H_
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 "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 TLC_APP_LIST_DB "/opt/usr/dotnet/.TLC.App.list.db"
31 #define TLC_APP_LIST_RESTORE_DB "/opt/usr/dotnet/.TLC.App.list.restore.db"
32 #define TLC_LIBRARIES_DIR "Libraries"
33 #define TIZEN_DOTNET_NUGET "Tizen.NET"
34 #define TIZEN_DOTNET_SDK_NUGET "Tizen.NET.Sdk"
35 #define NET_STANDARD_LIBRARY_NUGET "NETStandard.Library"
36 #define PLATFORM_TPA_CACHE "/usr/share/dotnet.tizen/lib/platform_tpa_cache"
37 #define DISABLE_IPV6_FILE "._TIZEN_DOTNET_SYSTEM_NET_DISABLEIPV6"
38 #define PRE_COMPILED_PACKAGE_FILE "._TIZEN_DOTNET_PRE_COMPILED_PACKAGE"
40 #if defined (__aarch64__)
41 #define ARCHITECTURE_IDENTIFIER "arm64"
42 #elif defined (__arm__)
43 #define ARCHITECTURE_IDENTIFIER "armel"
44 #elif defined (__x86_64__)
45 #define ARCHITECTURE_IDENTIFIER "x64"
46 #elif defined (__i386__)
47 #define ARCHITECTURE_IDENTIFIER "x86"
49 #error "Unknown target"
52 #endif //__LAUNCHER_ENV_H_