| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 7 "[CUSTOM_/_B_WORK]", | 7 "[CUSTOM_/_B_WORK]", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 "@@@STEP_LOG_END@python.inline@@@" | 21 "@@@STEP_LOG_END@python.inline@@@" |
| 22 ] | 22 ] |
| 23 }, | 23 }, |
| 24 { | 24 { |
| 25 "cmd": [ | 25 "cmd": [ |
| 26 "python", | 26 "python", |
| 27 "-u", | 27 "-u", |
| 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 29 "config", | 29 "config", |
| 30 "--spec", | 30 "--spec", |
| 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]" | 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}]" |
| 32 ], | 32 ], |
| 33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
| 34 "env": { | 34 "env": { |
| 35 "BUILDTYPE": "Debug", | 35 "BUILDTYPE": "Debug", |
| 36 "CHROME_HEADLESS": "1", | 36 "CHROME_HEADLESS": "1", |
| 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", | 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
| 39 }, | 39 }, |
| 40 "name": "gclient setup" | 40 "name": "gclient setup" |
| 41 }, | 41 }, |
| 42 { | 42 { |
| 43 "cmd": [ | 43 "cmd": [ |
| 44 "python", | 44 "python", |
| 45 "-u", | 45 "-u", |
| 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 47 "sync", | 47 "sync", |
| 48 "--verbose", |
| 49 "--with_branch_heads", |
| 48 "--nohooks", | 50 "--nohooks", |
| 51 "-j8", |
| 52 "--reset", |
| 49 "--force", | 53 "--force", |
| 50 "--verbose", | 54 "--upstream", |
| 55 "--no-nag-max", |
| 51 "--delete_unversioned_trees", | 56 "--delete_unversioned_trees", |
| 52 "--revision", | 57 "--revision", |
| 53 "skia@abc123", | 58 "skia@abc123", |
| 54 "--output-json", | 59 "--output-json", |
| 55 "/path/to/tmp/json" | 60 "/path/to/tmp/json" |
| 56 ], | 61 ], |
| 57 "cwd": "[CUSTOM_/_B_WORK]", | 62 "cwd": "[CUSTOM_/_B_WORK]", |
| 58 "env": { | 63 "env": { |
| 59 "BUILDTYPE": "Debug", | 64 "BUILDTYPE": "Debug", |
| 60 "CHROME_HEADLESS": "1", | 65 "CHROME_HEADLESS": "1", |
| 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" | 67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
| 63 }, | 68 }, |
| 64 "name": "gclient sync", | 69 "name": "gclient sync", |
| 65 "~followup_annotations": [ | 70 "~followup_annotations": [ |
| 66 "@@@STEP_LOG_LINE@json.output@{@@@", | 71 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", |
| 70 "@@@STEP_LOG_LINE@json.output@ }@@@", | 75 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 71 "@@@STEP_LOG_LINE@json.output@ }@@@", | 76 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 72 "@@@STEP_LOG_LINE@json.output@}@@@", | 77 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 73 "@@@STEP_LOG_END@json.output@@@", | 78 "@@@STEP_LOG_END@json.output@@@", |
| 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 79 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@" |
| 75 ] | 80 ] |
| 76 }, | 81 }, |
| 77 { | 82 { |
| 78 "cmd": [ | 83 "cmd": [ |
| 84 "python", |
| 85 "-u", |
| 86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 87 "recurse", |
| 88 "git", |
| 89 "config", |
| 90 "user.name", |
| 91 "local_bot" |
| 92 ], |
| 93 "cwd": "[CUSTOM_/_B_WORK]", |
| 94 "env": { |
| 95 "BUILDTYPE": "Debug", |
| 96 "CHROME_HEADLESS": "1", |
| 97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 98 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
| 99 }, |
| 100 "name": "gclient recurse (git config user.name)" |
| 101 }, |
| 102 { |
| 103 "cmd": [ |
| 104 "python", |
| 105 "-u", |
| 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 107 "recurse", |
| 108 "git", |
| 109 "config", |
| 110 "user.email", |
| 111 "local_bot@example.com" |
| 112 ], |
| 113 "cwd": "[CUSTOM_/_B_WORK]", |
| 114 "env": { |
| 115 "BUILDTYPE": "Debug", |
| 116 "CHROME_HEADLESS": "1", |
| 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
| 119 }, |
| 120 "name": "gclient recurse (git config user.email)" |
| 121 }, |
| 122 { |
| 123 "cmd": [ |
| 79 "make", | 124 "make", |
| 80 "most" | 125 "most" |
| 81 ], | 126 ], |
| 82 "cwd": "[CUSTOM_/_B_WORK]/skia", | 127 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 83 "env": { | 128 "env": { |
| 84 "BUILDTYPE": "Debug", | 129 "BUILDTYPE": "Debug", |
| 85 "CHROME_HEADLESS": "1", | 130 "CHROME_HEADLESS": "1", |
| 86 "CHROME_PATH": "[SLAVE_BUILD]/src", | 131 "CHROME_PATH": "[SLAVE_BUILD]/src", |
| 87 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", | 132 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", |
| 88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" | 134 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
| 90 }, | 135 }, |
| 91 "name": "build most" | 136 "name": "build most" |
| 92 }, | 137 }, |
| 93 { | 138 { |
| 94 "cmd": [ | 139 "cmd": [ |
| 95 "python", | 140 "python", |
| 96 "-u", | 141 "-u", |
| 97 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n 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.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", | 142 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n 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.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", |
| 98 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", | 143 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 126 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 171 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
| 127 "@@@STEP_LOG_END@python.inline@@@" | 172 "@@@STEP_LOG_END@python.inline@@@" |
| 128 ] | 173 ] |
| 129 }, | 174 }, |
| 130 { | 175 { |
| 131 "name": "$result", | 176 "name": "$result", |
| 132 "recipe_result": null, | 177 "recipe_result": null, |
| 133 "status_code": 0 | 178 "status_code": 0 |
| 134 } | 179 } |
| 135 ] | 180 ] |
| OLD | NEW |