aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/python/ymake_python3/ya.make
blob: c7814486411b135cd2d23854bd75d9963aec8329 (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
32
33
RESOURCES_LIBRARY()

OWNER(
    g:arcadia-devtools
    g:yatool
)

SET(YMAKE_PYTHON3_LINUX sbr:2693706966)
SET(YMAKE_PYTHON3_DARWIN sbr:2693705780)
SET(YMAKE_PYTHON3_DARWIN_ARM64 sbr:2693704462)
SET(YMAKE_PYTHON3_WINDOWS sbr:2693706398)

DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
    YMAKE_PYTHON3
    ${YMAKE_PYTHON3_DARWIN} FOR DARWIN
    ${YMAKE_PYTHON3_DARWIN_ARM64} FOR DARWIN-ARM64
    ${YMAKE_PYTHON3_LINUX} FOR LINUX
    ${YMAKE_PYTHON3_WINDOWS} FOR WIN32
)

IF (OS_LINUX)
    DECLARE_EXTERNAL_RESOURCE(EXTERNAL_YMAKE_PYTHON3 ${YMAKE_PYTHON3_LINUX})
ELSEIF (OS_DARWIN)
    IF (ARCH_ARM64)
        DECLARE_EXTERNAL_RESOURCE(EXTERNAL_YMAKE_PYTHON3 ${YMAKE_PYTHON3_DARWIN_ARM64})
    ELSEIF(ARCH_X86_64)
        DECLARE_EXTERNAL_RESOURCE(EXTERNAL_YMAKE_PYTHON3 ${YMAKE_PYTHON3_DARWIN})
    ENDIF()
ELSEIF (OS_WINDOWS)
    DECLARE_EXTERNAL_RESOURCE(EXTERNAL_YMAKE_PYTHON3 ${YMAKE_PYTHON3_WINDOWS})
ENDIF()

END()