blob: ae450c9c975b7f991e11ace27490129784f15865 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
OWNER(trenin17)
RESOURCES_LIBRARY()
INCLUDE(${ARCADIA_ROOT}/build/platform/java/jdk/resources.inc)
DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
JDK11
${JDK11_DARWIN} FOR DARWIN
${JDK11_DARWIN_ARM64} FOR DARWIN-ARM64
${JDK11_LINUX} FOR LINUX
${JDK11_WINDOWS} FOR WIN32
)
IF(OS_DARWIN AND ARCH_ARM64)
DECLARE_EXTERNAL_RESOURCE(WITH_JDK11 ${JDK11_DARWIN_ARM64})
ELSEIF(OS_DARWIN)
DECLARE_EXTERNAL_RESOURCE(WITH_JDK11 ${JDK11_DARWIN})
ELSEIF(OS_LINUX)
DECLARE_EXTERNAL_RESOURCE(WITH_JDK11 ${JDK11_LINUX})
ELSEIF(OS_WINDOWS)
DECLARE_EXTERNAL_RESOURCE(WITH_JDK11 ${JDK11_WINDOWS})
ENDIF()
IF(SANITIZER_TYPE == "address")
IF(HOST_OS_LINUX)
DECLARE_EXTERNAL_RESOURCE(JDK_FOR_TESTS11 ${JDK11_LINUX_ASAN})
ELSE()
MESSAGE(FATAL_ERROR Unsupported platform for JDK11 with asan)
ENDIF()
ENDIF()
END()
|