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 17 matching lines...) Expand all Loading... |
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', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]" |
32 ], | 32 ], |
33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
34 "env": { | 34 "env": { |
35 "BUILDTYPE": "Release", | 35 "BUILDTYPE": "Release", |
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-Clang-arm64-Release-G
N_Android" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android_Vulkan" |
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 "--nohooks", | 48 "--nohooks", |
49 "--force", | 49 "--force", |
50 "--verbose", | 50 "--verbose", |
51 "--delete_unversioned_trees", | 51 "--delete_unversioned_trees", |
52 "--revision", | 52 "--revision", |
53 "skia@abc123", | 53 "skia@abc123", |
54 "--output-json", | 54 "--output-json", |
55 "/path/to/tmp/json" | 55 "/path/to/tmp/json" |
56 ], | 56 ], |
57 "cwd": "[CUSTOM_/_B_WORK]", | 57 "cwd": "[CUSTOM_/_B_WORK]", |
58 "env": { | 58 "env": { |
59 "BUILDTYPE": "Release", | 59 "BUILDTYPE": "Release", |
60 "CHROME_HEADLESS": "1", | 60 "CHROME_HEADLESS": "1", |
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" | 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android_Vulkan" |
63 }, | 63 }, |
64 "name": "gclient sync", | 64 "name": "gclient sync", |
65 "~followup_annotations": [ | 65 "~followup_annotations": [ |
66 "@@@STEP_LOG_LINE@json.output@{@@@", | 66 "@@@STEP_LOG_LINE@json.output@{@@@", |
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
70 "@@@STEP_LOG_LINE@json.output@ }@@@", | 70 "@@@STEP_LOG_LINE@json.output@ }@@@", |
71 "@@@STEP_LOG_LINE@json.output@ }@@@", | 71 "@@@STEP_LOG_LINE@json.output@ }@@@", |
72 "@@@STEP_LOG_LINE@json.output@}@@@", | 72 "@@@STEP_LOG_LINE@json.output@}@@@", |
73 "@@@STEP_LOG_END@json.output@@@", | 73 "@@@STEP_LOG_END@json.output@@@", |
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
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": "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_Vu
lkan/Release", |
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\" ndk_api=24
skia_use_vulkan=true 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" |
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_Vu
lkan/Release" |
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" |
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_Vu
lkan/Release", |
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", |
121 "~followup_annotations": [ | 121 "~followup_annotations": [ |
122 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 122 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
123 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 123 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
124 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 124 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
125 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 125 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
126 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 126 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
127 "@@@STEP_LOG_LINE@python.inline@@@@", | 127 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 17 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 |