Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-Fast.json

Issue 2221413002: Move ct_skps recipe from tools repo to Skia repo (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Address comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0", 87 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors= 0",
88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st" 89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa st"
90 }, 90 },
91 "name": "build most" 91 "name": "build most"
92 }, 92 },
93 { 93 {
94 "cmd": [ 94 "cmd": [
95 "python", 95 "python",
96 "-u", 96 "-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', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.d ll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EE XIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.j oin(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", 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",
98 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", 98 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release",
99 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" 99 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release"
100 ], 100 ],
101 "name": "copy build products", 101 "name": "copy build products",
102 "~followup_annotations": [ 102 "~followup_annotations": [
103 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 103 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
104 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 104 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
105 "@@@STEP_LOG_LINE@python.inline@import os@@@", 105 "@@@STEP_LOG_LINE@python.inline@import os@@@",
106 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 106 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
107 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 107 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
108 "@@@STEP_LOG_LINE@python.inline@@@@", 108 "@@@STEP_LOG_LINE@python.inline@@@@",
109 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 109 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
110 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", 110 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
111 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe' , 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulk an-1.dll']@@@", 111 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe' , 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.ex e', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iO SShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']@@@",
112 "@@@STEP_LOG_LINE@python.inline@@@@", 112 "@@@STEP_LOG_LINE@python.inline@@@@",
113 "@@@STEP_LOG_LINE@python.inline@try:@@@", 113 "@@@STEP_LOG_LINE@python.inline@try:@@@",
114 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", 114 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
115 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", 115 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
116 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", 116 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
117 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 117 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
118 "@@@STEP_LOG_LINE@python.inline@@@@", 118 "@@@STEP_LOG_LINE@python.inline@@@@",
119 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @", 119 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
120 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", 120 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
121 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", 121 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
122 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@", 122 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
123 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@", 123 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@", 124 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
125 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 125 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
126 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 126 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
127 "@@@STEP_LOG_END@python.inline@@@" 127 "@@@STEP_LOG_END@python.inline@@@"
128 ] 128 ]
129 }, 129 },
130 { 130 {
131 "name": "$result", 131 "name": "$result",
132 "recipe_result": null, 132 "recipe_result": null,
133 "status_code": 0 133 "status_code": 0
134 } 134 }
135 ] 135 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698