6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
10 "[START_DIR]/cache/work/flutter/src/out/android_release"
12 "cwd": "[START_DIR]/cache/work/flutter/src",
14 "name": "rmtree android_release"
19 "--runtime-mode=release",
22 "cwd": "[START_DIR]/cache/work/flutter/src",
24 "CHROME_HEADLESS": "1",
25 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
33 "out/android_release",
36 "cwd": "[START_DIR]/cache/work/flutter/src",
38 "CHROME_HEADLESS": "1",
39 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
41 "name": "build_flutter"
47 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\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/flutter/src/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-Flutter_Android/Release",
49 "[START_DIR]/[SWARM_OUT_DIR]/out/Release"
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_whitelist = ['bookmaker', 'dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']@@@",
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_whitelist:@@@",
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@@@"
83 "recipe_result": null,