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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 ] | 75 ] |
76 }, | 76 }, |
77 { | 77 { |
78 "cmd": [ | 78 "cmd": [ |
79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
80 ], | 80 ], |
81 "cwd": "[CUSTOM_/_B_WORK]/skia", | 81 "cwd": "[CUSTOM_/_B_WORK]/skia", |
82 "env": { | 82 "env": { |
83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
84 }, | 84 }, |
85 "name": "fetch-gn" | 85 "name": "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
86 }, | 86 }, |
87 { | 87 { |
88 "cmd": [ | 88 "cmd": [ |
89 "gn", | 89 "gn", |
90 "gen", | 90 "gen", |
91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", | 91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", |
92 "--args=is_debug=false ndk=\"[SLAVE_BUILD]/android_ndk_linux\" target_cpu=
\"arm64\"" | 92 "--args=is_debug=false ndk=\"[SLAVE_BUILD]/android_ndk_linux\" target_cpu=
\"arm64\"" |
93 ], | 93 ], |
94 "cwd": "[CUSTOM_/_B_WORK]/skia", | 94 "cwd": "[CUSTOM_/_B_WORK]/skia", |
95 "env": { | 95 "env": { |
96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
97 }, | 97 }, |
98 "name": "gn gen" | 98 "name": "gn gen [CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-
GN_Android/Release \"--args=is_debug=false ndk=\\\"[SLAVE_BUILD]/android_ndk_lin
ux\\\" target_cpu=\\\"arm64\\\"\"" |
99 }, | 99 }, |
100 { | 100 { |
101 "cmd": [ | 101 "cmd": [ |
102 "ninja", | 102 "ninja", |
103 "-C", | 103 "-C", |
104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease" | 104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease" |
105 ], | 105 ], |
106 "cwd": "[CUSTOM_/_B_WORK]/skia", | 106 "cwd": "[CUSTOM_/_B_WORK]/skia", |
107 "env": { | 107 "env": { |
108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
109 }, | 109 }, |
110 "name": "ninja" | 110 "name": "ninja -C [CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Releas
e-GN_Android/Release" |
111 }, | 111 }, |
112 { | 112 { |
113 "cmd": [ | 113 "cmd": [ |
114 "python", | 114 "python", |
115 "-u", | 115 "-u", |
116 "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", | 116 "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", |
117 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", | 117 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", |
118 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" | 118 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
119 ], | 119 ], |
120 "name": "copy build products", | 120 "name": "copy build products", |
(...skipping 24 matching lines...) Expand all Loading... |
145 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 145 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
146 "@@@STEP_LOG_END@python.inline@@@" | 146 "@@@STEP_LOG_END@python.inline@@@" |
147 ] | 147 ] |
148 }, | 148 }, |
149 { | 149 { |
150 "name": "$result", | 150 "name": "$result", |
151 "recipe_result": null, | 151 "recipe_result": null, |
152 "status_code": 0 | 152 "status_code": 0 |
153 } | 153 } |
154 ] | 154 ] |
OLD | NEW |