blob: d640f6ff4c88e65e9340d8c4e1f8367ffcb1d1fc (
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
34
35
36
37
|
# tag:external-build
CONTAINER_LAYER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container_layer.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET $AUTO_INPUT ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CL"} ${kv;hide:"pc blue"}
CONTAINER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET ${rootrel:PEERS} ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CN"} ${kv;hide:"pc blue"}
# tag:external-build
module CONTAINER_LAYER: _BARE_UNIT {
.CMD=CONTAINER_LAYER_CMD
PEERDIR(build/external_resources/squashfs_tools)
MODULE_SUFFIX=.container_layer
CHECK_ALLOWED_PATH()
CHECK_DEPENDENT_DIRS(ALLOW_ONLY PEERDIRS base_layers build/external_resources/squashfs_tools build/platform/python/ymake_python3 junk)
}
# tag:external-build
module CONTAINER: _BARE_UNIT {
.NODE_TYPE=Bundle
.PEERDIR_POLICY=as_build_from
.FINAL_TARGET=yes
.CMD=CONTAINER_CMD
PEERDIR(build/external_resources/squashfs_tools)
PEERDIR(devtools/contrib/cake/entry)
}
# tag:external-build
CUSTOM_BUILD_LIBRARY_USE=
CUSTOM_BUILD_LIBRARY_CMD=$GENERATE_MF && ${tool:"devtools/experimental/solar/outbuild/runner"} ${hide:PEERS} --script=${input:CUSTOM_SCRIPT} --output $TARGET --python=${tool:"contrib/tools/python3"} --isolator=${tool:"devtools/experimental/solar/outbuild/isolator"} $CUSTOM_BUILD_LIBRARY_USE
# tag:external-build
module CUSTOM_BUILD_LIBRARY: LIBRARY {
.NODE_TYPE=Bundle
.PEERDIR_POLICY=as_build_from
.PROXY=yes
.CMD=CUSTOM_BUILD_LIBRARY_CMD
DISABLE(NEED_ADD_FAKE_SRC)
}
|