| [ |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "@Subdir repo\nfuchsia/third_party/repo version:1.13.2", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.13.2--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/repo\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/aemu/src" |
| ], |
| "infra_step": true, |
| "name": "aemu src dir" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/repo/repo", |
| "init", |
| "-u", |
| "https://android.googlesource.com/platform/manifest", |
| "-b", |
| "emu-master-dev" |
| ], |
| "cwd": "[START_DIR]/aemu/src", |
| "name": "repo init" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/repo/repo", |
| "sync", |
| "-j8" |
| ], |
| "cwd": "[START_DIR]/aemu/src", |
| "name": "repo sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.aosp.url" |
| ], |
| "cwd": "[START_DIR]/aemu/src/external/qemu", |
| "name": "git config" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/aemu/src/external/qemu", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE[fuchsia::aemu].resources/cmake.vpython", |
| "-u", |
| "[START_DIR]/aemu/src/external/qemu/android/build/python/cmake.py", |
| "--cmake_option", |
| "ANDROIDSTUDIO=OFF", |
| "--crash", |
| "prod", |
| "--minbuild", |
| "--dist", |
| "[START_DIR]/aemu/install", |
| "--target", |
| "linux_aarch64" |
| ], |
| "cwd": "[START_DIR]/aemu/src/external/qemu", |
| "name": "cmake" |
| }, |
| { |
| "cmd": [], |
| "name": "isolated", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@isolated@\"[dummy hash]\"@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolated.install infra/tools/luci/isolated", |
| "~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", |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin" |
| ], |
| "infra_step": true, |
| "name": "isolated.install infra/tools/luci/isolated.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} isolated_module_pin", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "isolated.install infra/tools/luci/isolated.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-isolated_module_\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-dirs", |
| "[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator:." |
| ], |
| "infra_step": true, |
| "name": "isolated.isolate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/aemu.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/aemu/linux-arm64\", \"root\": \"[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator\"}", |
| "-out", |
| "[CLEANUP]/aemu.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/third_party/aemu/linux-arm64", |
| "~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/third_party/aemu/linux-arm64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/aemu/linux-arm64", |
| "-tag", |
| "git_revision:deadbeef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/third_party/aemu/linux-arm64 git_revision:deadbeef", |
| "~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/third_party/aemu/linux-arm64\"@@@", |
| "@@@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" |
| } |
| ] |