Merge pull request #14225 from fiigii/falsedependency
[platform/upstream/coreclr.git] / clrfeatures.cmake
1 if(CLR_CMAKE_TARGET_TIZEN_LINUX)
2   set(FEATURE_GDBJIT_LANGID_CS 1)
3 endif()
4
5 if(FEATURE_STANDALONE_GC_ONLY)
6   set(FEATURE_EVENT_TRACE 0)
7   set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 0)
8 endif()
9
10 if(NOT DEFINED FEATURE_EVENT_TRACE)
11   if (WIN32)
12     set(FEATURE_EVENT_TRACE 1)
13   endif()
14
15   if(CLR_CMAKE_PLATFORM_LINUX)
16     if(CLR_CMAKE_TARGET_TIZEN_LINUX)
17       set(FEATURE_EVENT_TRACE 1)
18     elseif(CLR_CMAKE_TARGET_ARCH_AMD64)
19       set(FEATURE_EVENT_TRACE 1)
20     elseif(CLR_CMAKE_TARGET_ARCH_ARM)
21       set(FEATURE_EVENT_TRACE 1)
22     elseif(CLR_CMAKE_TARGET_ARCH_ARM64)
23       set(FEATURE_EVENT_TRACE 1)
24     endif()
25   endif(CLR_CMAKE_PLATFORM_LINUX)
26 endif(NOT DEFINED FEATURE_EVENT_TRACE)
27
28 if(NOT DEFINED FEATURE_DBGIPC)
29   if(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID))
30     set(FEATURE_DBGIPC 1)
31   endif()
32 endif(NOT DEFINED FEATURE_DBGIPC)
33
34 if(NOT DEFINED FEATURE_INTERPRETER)
35   set(FEATURE_INTERPRETER 0)
36 endif(NOT DEFINED FEATURE_INTERPRETER)
37 if(NOT WIN32)
38   if(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
39     if(NOT CLR_CMAKE_TARGET_ARCH_AMD64 AND NOT CLR_CMAKE_TARGET_ARCH_ARM64)
40       set(FEATURE_NI_BIND_FALLBACK 1)
41     endif()
42   endif(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
43 endif(NOT WIN32)
44
45 if(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)
46   set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 1)
47 endif(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)
48