| [ |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://chromium.googlesource.com/breakpad/breakpad", |
| "refs/heads/master" |
| ], |
| "name": "git ls-remote" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/depot_tools" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools.git" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "set fetch.uriprotocols" |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://chromium.googlesource.com/chromium/tools/depot_tools.git" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git", |
| "infra_step": true, |
| "name": "cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/depot_tools/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects\n", |
| "[START_DIR]/depot_tools/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/depot_tools", |
| "infra_step": true, |
| "name": "submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/breakpad" |
| ], |
| "infra_step": true, |
| "name": "makedirs breakpad" |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "config", |
| "--name=src", |
| "--unmanaged", |
| "-v", |
| "https://chromium.googlesource.com/breakpad/breakpad" |
| ], |
| "cwd": "[START_DIR]/breakpad", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient config" |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/breakpad", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "9eac2058b70615519b2c4d8c6bdbfca1bd079e39" |
| ], |
| "cwd": "[START_DIR]/breakpad/src", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "pin git" |
| }, |
| { |
| "cmd": [ |
| "gclient", |
| "sync", |
| "-v", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/breakpad/src", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient sync (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"9eac2058b70615519b2c4d8c6bdbfca1bd079e39\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "./configure" |
| ], |
| "cwd": "[START_DIR]/breakpad/src", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "configure" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "src/tools/linux/dump_syms/dump_syms" |
| ], |
| "cwd": "[START_DIR]/breakpad/src", |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/depot_tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "build" |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"file\": \"dump_syms/dump_syms\"}, {\"version_file\": \".versions/breakpad.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/tools/breakpad/${platform}\", \"root\": \"[START_DIR]/breakpad/src/src/tools/linux\"}", |
| "-out", |
| "[CLEANUP]/breakpad.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/tools/breakpad/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/breakpad/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/tools/breakpad/${platform}", |
| "-tag", |
| "git_revision:9eac2058b70615519b2c4d8c6bdbfca1bd079e39", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/tools/breakpad/${platform} git_revision:9eac2058b70615519b2c4d8c6bdbfca1bd079e39", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/breakpad/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd.package is up-to-date", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |