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

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

Issue 2310063003: GN: turn off ccache (Closed)
Patch Set: android too Created 4 years, 3 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "python",
80 "-u",
81 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri nt json.dumps({'ccache': ccache})\n"
82 ],
83 "env": {
84 "BUILDTYPE": "Debug",
85 "CHROME_HEADLESS": "1",
86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN"
88 },
89 "name": "has ccache?",
90 "stdout": "/path/to/tmp/json",
91 "~followup_annotations": [
92 "@@@STEP_LOG_LINE@json.output@{@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"ccache\": \"/usr/bin/ccache\"@@@",
94 "@@@STEP_LOG_LINE@json.output@}@@@",
95 "@@@STEP_LOG_END@json.output@@@",
96 "@@@STEP_LOG_LINE@python.inline@import json@@@",
97 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
98 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
99 "@@@STEP_LOG_LINE@python.inline@@@@",
100 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@",
101 "@@@STEP_LOG_LINE@python.inline@try:@@@",
102 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@",
103 "@@@STEP_LOG_LINE@python.inline@except:@@@",
104 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
105 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@",
106 "@@@STEP_LOG_END@python.inline@@@"
107 ]
108 },
109 {
110 "cmd": [
111 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" 79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
112 ], 80 ],
113 "cwd": "[CUSTOM_/_B_WORK]/skia", 81 "cwd": "[CUSTOM_/_B_WORK]/skia",
114 "env": { 82 "env": {
115 "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]"
116 }, 84 },
117 "name": "fetch-gn" 85 "name": "fetch-gn"
118 }, 86 },
119 { 87 {
120 "cmd": [ 88 "cmd": [
121 "gn", 89 "gn",
122 "gen", 90 "gen",
123 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug", 91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug",
124 "--args=cc=\"gcc\" compiler_prefix=\"/usr/bin/ccache\" cxx=\"g++\" extra_c flags=\"\" extra_ldflags=\"\" is_debug=true" 92 "--args=cc=\"gcc\" cxx=\"g++\" extra_cflags=\"\" extra_ldflags=\"\" is_deb ug=true"
125 ], 93 ],
126 "cwd": "[CUSTOM_/_B_WORK]/skia", 94 "cwd": "[CUSTOM_/_B_WORK]/skia",
127 "env": { 95 "env": {
128 "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]"
129 }, 97 },
130 "name": "gn gen" 98 "name": "gn gen"
131 }, 99 },
132 { 100 {
133 "cmd": [ 101 "cmd": [
134 "ninja", 102 "ninja",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 145 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
178 "@@@STEP_LOG_END@python.inline@@@" 146 "@@@STEP_LOG_END@python.inline@@@"
179 ] 147 ]
180 }, 148 },
181 { 149 {
182 "name": "$result", 150 "name": "$result",
183 "recipe_result": null, 151 "recipe_result": null,
184 "status_code": 0 152 "status_code": 0
185 } 153 }
186 ] 154 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698