| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nfor fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path.isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtree(path)\n", |
| "[START_DIR]", |
| "libs", |
| "obj", |
| "vp8", |
| "vp9", |
| "vpx", |
| "vpx_mem", |
| "vpx_ports", |
| "vpx_scale", |
| "third_party" |
| ], |
| "name": "clean_build", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", |
| "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", |
| "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", |
| "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", |
| "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", |
| "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", |
| "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[START_DIR]/libvpx", |
| "--url", |
| "https://chromium.googlesource.com/webm/libvpx" |
| ], |
| "name": "git setup" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "retry", |
| "fetch", |
| "origin", |
| "master", |
| "--recurse-submodules", |
| "--progress" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "env": { |
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "infra_step": true, |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "infra_step": true, |
| "name": "read revision", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "infra_step": true, |
| "name": "git clean" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "infra_step": true, |
| "name": "submodule sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/libvpx", |
| "infra_step": true, |
| "name": "submodule update" |
| }, |
| { |
| "cmd": [ |
| "./libvpx/configure" |
| ], |
| "name": "configure" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "test", |
| "-j8" |
| ], |
| "name": "run tests" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |