[
  {
    "cmd": [
      "vpython3",
      "-u",
      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      "--json-output",
      "/path/to/tmp/json",
      "ensure-directory",
      "--mode",
      "0o777",
      "[START_DIR]/cache/docker/pathkit"
    ],
    "infra_step": true,
    "name": "mkdirs out_dir"
  },
  {
    "cmd": [
      "docker",
      "run",
      "--rm",
      "--volume",
      "[START_DIR]/cache/work:/SRC",
      "--volume",
      "[START_DIR]/cache/docker/pathkit:/OUT",
      "gcr.io/skia-public/emsdk-base:3.1.26_v2",
      "/SRC/skia/infra/pathkit/build_pathkit.sh",
      "debug"
    ],
    "env": {
      "CHROME_HEADLESS": "1",
      "DOCKER_CONFIG": "/home/chrome-bot/.docker",
      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
    },
    "name": "Build PathKit with Docker"
  },
  {
    "cmd": [
      "python3",
      "RECIPE_MODULE[skia::build]/resources/copy_build_products_no_delete.py",
      "[START_DIR]/cache/docker/pathkit",
      "[START_DIR]/[SWARM_OUT_DIR]/out/Debug",
      "pathkit.*"
    ],
    "infra_step": true,
    "name": "copy wasm output"
  },
  {
    "name": "$result"
  }
]