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

Side by Side Diff: third_party/WebKit/Source/devtools/BUILD.gn

Issue 2191473005: DevTools: remove release mode from runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//third_party/WebKit/Source/core/core.gni") 6 import("//third_party/WebKit/Source/core/core.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("devtools.gypi") ], 9 [ rebase_path("devtools.gypi") ],
10 "scope", 10 "scope",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } else { 135 } else {
136 # Release: pick compiled non-remote modules and concatenated app files. 136 # Release: pick compiled non-remote modules and concatenated app files.
137 generated_files = [ 137 generated_files = [
138 resources_out_dir + "inspector.html", 138 resources_out_dir + "inspector.html",
139 resources_out_dir + "inspector.js", 139 resources_out_dir + "inspector.js",
140 resources_out_dir + "toolbox.html", 140 resources_out_dir + "toolbox.html",
141 resources_out_dir + "toolbox.js", 141 resources_out_dir + "toolbox.js",
142 resources_out_dir + "formatter_worker.js", 142 resources_out_dir + "formatter_worker.js",
143 resources_out_dir + "heap_snapshot_worker.js", 143 resources_out_dir + "heap_snapshot_worker.js",
144 resources_out_dir + "temp_storage_shared_worker.js", 144 resources_out_dir + "temp_storage_shared_worker.js",
145 resources_out_dir + "accessibility_module.js", 145 resources_out_dir + "accessibility/accessibility_module.js",
146 resources_out_dir + "audits_module.js", 146 resources_out_dir + "audits/audits_module.js",
147 resources_out_dir + "animation_module.js", 147 resources_out_dir + "animation/animation_module.js",
148 resources_out_dir + "components_lazy_module.js", 148 resources_out_dir + "components_lazy/components_lazy_module.js",
149 resources_out_dir + "console_module.js", 149 resources_out_dir + "console/console_module.js",
150 resources_out_dir + "devices_module.js", 150 resources_out_dir + "devices/devices_module.js",
151 resources_out_dir + "diff_module.js", 151 resources_out_dir + "diff/diff_module.js",
152 resources_out_dir + "elements_module.js", 152 resources_out_dir + "elements/elements_module.js",
153 resources_out_dir + "es_tree_module.js", 153 resources_out_dir + "es_tree/es_tree_module.js",
154 resources_out_dir + "layers_module.js", 154 resources_out_dir + "layers/layers_module.js",
155 resources_out_dir + "network_module.js", 155 resources_out_dir + "network/network_module.js",
156 resources_out_dir + "profiler_module.js", 156 resources_out_dir + "profiler/profiler_module.js",
157 resources_out_dir + "resources_module.js", 157 resources_out_dir + "resources/resources_module.js",
158 resources_out_dir + "sass_module.js", 158 resources_out_dir + "sass/sass_module.js",
159 resources_out_dir + "security_module.js", 159 resources_out_dir + "security/security_module.js",
160 resources_out_dir + "settings_module.js", 160 resources_out_dir + "settings/settings_module.js",
161 resources_out_dir + "snippets_module.js", 161 resources_out_dir + "snippets/snippets_module.js",
162 resources_out_dir + "source_frame_module.js", 162 resources_out_dir + "source_frame/source_frame_module.js",
163 resources_out_dir + "sources_module.js", 163 resources_out_dir + "sources/sources_module.js",
164 resources_out_dir + "timeline_model_module.js", 164 resources_out_dir + "timeline_model/timeline_model_module.js",
165 resources_out_dir + "timeline_module.js", 165 resources_out_dir + "timeline/timeline_module.js",
166 resources_out_dir + "ui_lazy_module.js", 166 resources_out_dir + "ui_lazy/ui_lazy_module.js",
167 resources_out_dir + "devtools_extension_api.js", 167 resources_out_dir + "devtools_extension_api.js",
168 ] 168 ]
169 static_files_args = [] # Nothing needed for this 169 static_files_args = [] # Nothing needed for this
170 } 170 }
171 171
172 images_path = "front_end/Images" 172 images_path = "front_end/Images"
173 173
174 inputs += generated_files 174 inputs += generated_files
175 175
176 outfile = "$root_gen_dir/devtools/devtools_resources.grd" 176 outfile = "$root_gen_dir/devtools/devtools_resources.grd"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 deps += [ ":copy_debug_non_modules" ] 267 deps += [ ":copy_debug_non_modules" ]
268 268
269 debug_mode = "1" 269 debug_mode = "1"
270 } else { 270 } else {
271 outputs += [ 271 outputs += [
272 resources_out_dir + "inspector.js", 272 resources_out_dir + "inspector.js",
273 resources_out_dir + "toolbox.js", 273 resources_out_dir + "toolbox.js",
274 resources_out_dir + "formatter_worker.js", 274 resources_out_dir + "formatter_worker.js",
275 resources_out_dir + "heap_snapshot_worker.js", 275 resources_out_dir + "heap_snapshot_worker.js",
276 resources_out_dir + "temp_storage_shared_worker.js", 276 resources_out_dir + "temp_storage_shared_worker.js",
277 resources_out_dir + "accessibility_module.js", 277 resources_out_dir + "accessibility/accessibility_module.js",
278 resources_out_dir + "animation_module.js", 278 resources_out_dir + "animation/animation_module.js",
279 resources_out_dir + "audits_module.js", 279 resources_out_dir + "audits/audits_module.js",
280 resources_out_dir + "cm_modes_module.js", 280 resources_out_dir + "cm_modes/cm_modes_module.js",
281 resources_out_dir + "components_lazy_module.js", 281 resources_out_dir + "components_lazy/components_lazy_module.js",
282 resources_out_dir + "console_module.js", 282 resources_out_dir + "console/console_module.js",
283 resources_out_dir + "devices_module.js", 283 resources_out_dir + "devices/devices_module.js",
284 resources_out_dir + "diff_module.js", 284 resources_out_dir + "diff/diff_module.js",
285 resources_out_dir + "elements_module.js", 285 resources_out_dir + "elements/elements_module.js",
286 resources_out_dir + "emulated_devices_module.js", 286 resources_out_dir + "emulated_devices/emulated_devices_module.js",
287 resources_out_dir + "es_tree_module.js", 287 resources_out_dir + "es_tree/es_tree_module.js",
288 resources_out_dir + "gonzales_module.js", 288 resources_out_dir + "gonzales/gonzales_module.js",
289 resources_out_dir + "layers_module.js", 289 resources_out_dir + "layers/layers_module.js",
290 resources_out_dir + "network_module.js", 290 resources_out_dir + "network/network_module.js",
291 resources_out_dir + "profiler_module.js", 291 resources_out_dir + "profiler/profiler_module.js",
292 resources_out_dir + "resources_module.js", 292 resources_out_dir + "resources/resources_module.js",
293 resources_out_dir + "sass_module.js", 293 resources_out_dir + "sass/sass_module.js",
294 resources_out_dir + "screencast_module.js", 294 resources_out_dir + "screencast/screencast_module.js",
295 resources_out_dir + "security_module.js", 295 resources_out_dir + "security/security_module.js",
296 resources_out_dir + "settings_module.js", 296 resources_out_dir + "settings/settings_module.js",
297 resources_out_dir + "snippets_module.js", 297 resources_out_dir + "snippets/snippets_module.js",
298 resources_out_dir + "source_frame_module.js", 298 resources_out_dir + "source_frame/source_frame_module.js",
299 resources_out_dir + "sources_module.js", 299 resources_out_dir + "sources/sources_module.js",
300 resources_out_dir + "timeline_model_module.js", 300 resources_out_dir + "timeline_model/timeline_model_module.js",
301 resources_out_dir + "timeline_module.js", 301 resources_out_dir + "timeline/timeline_module.js",
302 resources_out_dir + "ui_lazy_module.js", 302 resources_out_dir + "ui_lazy/ui_lazy_module.js",
303 ] 303 ]
304 304
305 debug_mode = "0" 305 debug_mode = "0"
306 } 306 }
307 307
308 args = [ 308 args = [
309 "inspector", 309 "inspector",
310 "toolbox", 310 "toolbox",
311 "formatter_worker", 311 "formatter_worker",
312 "heap_snapshot_worker", 312 "heap_snapshot_worker",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 } 345 }
346 346
347 copy("copy_codemirror_files") { 347 copy("copy_codemirror_files") {
348 sources = 348 sources =
349 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files 349 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files
350 outputs = [ 350 outputs = [
351 resources_out_dir + "cm/{{source_file_part}}", 351 resources_out_dir + "cm/{{source_file_part}}",
352 ] 352 ]
353 } 353 }
354 } 354 }
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/runtime.html ('k') | third_party/WebKit/Source/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698