misc.conf 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # tag:external-build
  2. 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"}
  3. 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"}
  4. # tag:external-build
  5. module CONTAINER_LAYER: _BARE_UNIT {
  6. .CMD=CONTAINER_LAYER_CMD
  7. PEERDIR(build/external_resources/squashfs_tools)
  8. MODULE_SUFFIX=.container_layer
  9. CHECK_ALLOWED_PATH()
  10. CHECK_DEPENDENT_DIRS(ALLOW_ONLY PEERDIRS base_layers build/external_resources/squashfs_tools build/platform/python/ymake_python3 junk)
  11. }
  12. # tag:external-build
  13. module CONTAINER: _BARE_UNIT {
  14. .NODE_TYPE=Bundle
  15. .PEERDIR_POLICY=as_build_from
  16. .FINAL_TARGET=yes
  17. .CMD=CONTAINER_CMD
  18. PEERDIR(build/external_resources/squashfs_tools)
  19. PEERDIR(devtools/contrib/cake/entry)
  20. }
  21. # tag:external-build
  22. CUSTOM_BUILD_LIBRARY_USE=
  23. 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
  24. # tag:external-build
  25. module CUSTOM_BUILD_LIBRARY: LIBRARY {
  26. .NODE_TYPE=Bundle
  27. .PEERDIR_POLICY=as_build_from
  28. .PROXY=yes
  29. .CMD=CUSTOM_BUILD_LIBRARY_CMD
  30. DISABLE(NEED_ADD_FAKE_SRC)
  31. }