1[ 2 { 3 "cmd": [ 4 "vpython", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "rmtree", 10 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-Flutter_Android/Release" 11 ], 12 "cwd": "[START_DIR]/cache/work/src", 13 "infra_step": true, 14 "name": "rmtree Release" 15 }, 16 { 17 "cmd": [ 18 "flutter/tools/gn", 19 "--runtime-mode=release", 20 "--android" 21 ], 22 "cwd": "[START_DIR]/cache/work/src", 23 "env": { 24 "CHROME_HEADLESS": "1", 25 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 26 }, 27 "name": "gn_gen" 28 }, 29 { 30 "cmd": [ 31 "ninja", 32 "-C", 33 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-Flutter_Android/Release", 34 "-j100" 35 ], 36 "cwd": "[START_DIR]/cache/work/src", 37 "env": { 38 "CHROME_HEADLESS": "1", 39 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 40 }, 41 "name": "build_flutter" 42 }, 43 { 44 "cmd": [ 45 "python", 46 "-u", 47 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['*.so', 'lib/*.so']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print('Copying build product %s to %s' % (f, dst_path))\n shutil.move(f, dst_path)\n", 48 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-Flutter_Android/Release", 49 "[START_DIR]/[SWARM_OUT_DIR]/out/Release" 50 ], 51 "infra_step": true, 52 "name": "copy build products", 53 "~followup_annotations": [ 54 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 55 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 56 "@@@STEP_LOG_LINE@python.inline@import os@@@", 57 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 58 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 59 "@@@STEP_LOG_LINE@python.inline@@@@", 60 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 61 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", 62 "@@@STEP_LOG_LINE@python.inline@build_products = ['*.so', 'lib/*.so']@@@", 63 "@@@STEP_LOG_LINE@python.inline@@@@", 64 "@@@STEP_LOG_LINE@python.inline@try:@@@", 65 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", 66 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", 67 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", 68 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 69 "@@@STEP_LOG_LINE@python.inline@@@@", 70 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products:@@@", 71 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", 72 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", 73 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@", 74 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@", 75 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path))@@@", 76 "@@@STEP_LOG_LINE@python.inline@ print('Copying build product %s to %s' % (f, dst_path))@@@", 77 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 78 "@@@STEP_LOG_END@python.inline@@@" 79 ] 80 }, 81 { 82 "cmd": [ 83 "python", 84 "-u", 85 "\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\n\nif not os.path.isdir(os.path.dirname(dst)):\n os.makedirs(os.path.dirname(dst))\n\nshutil.copyfile(src, dst)\n", 86 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-Flutter_Android/Release/lib.stripped/libflutter.so", 87 "[START_DIR]/[SWARM_OUT_DIR]/out/Release/libflutter_stripped.so" 88 ], 89 "infra_step": true, 90 "name": "copy stripped library", 91 "~followup_annotations": [ 92 "@@@STEP_LOG_LINE@python.inline@@@@", 93 "@@@STEP_LOG_LINE@python.inline@import os@@@", 94 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 95 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 96 "@@@STEP_LOG_LINE@python.inline@@@@", 97 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 98 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", 99 "@@@STEP_LOG_LINE@python.inline@@@@", 100 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(os.path.dirname(dst)):@@@", 101 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst))@@@", 102 "@@@STEP_LOG_LINE@python.inline@@@@", 103 "@@@STEP_LOG_LINE@python.inline@shutil.copyfile(src, dst)@@@", 104 "@@@STEP_LOG_END@python.inline@@@" 105 ] 106 }, 107 { 108 "name": "$result" 109 } 110]