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

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

Issue 602753002: DevTools: Fix build target dependencies following r182595 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/devtools.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 gypi_values = exec_script( 5 gypi_values = exec_script(
6 "//build/gypi_to_gn.py", 6 "//build/gypi_to_gn.py",
7 [ rebase_path("devtools.gypi") ], 7 [ rebase_path("devtools.gypi") ],
8 "scope", 8 "scope",
9 [ "devtools.gypi" ]) 9 [ "devtools.gypi" ])
10 10
(...skipping 24 matching lines...) Expand all
35 visibility = [ "//third_party/WebKit/*" ] 35 visibility = [ "//third_party/WebKit/*" ]
36 36
37 # Probably need to parameterize this. If we set it to true, there will be some 37 # Probably need to parameterize this. If we set it to true, there will be some
38 # further work in the scripts below. 38 # further work in the scripts below.
39 debug_devtools = false 39 debug_devtools = false
40 40
41 group("devtools_frontend_resources") { 41 group("devtools_frontend_resources") {
42 deps = [ 42 deps = [
43 ":copy_inspector_images", 43 ":copy_inspector_images",
44 ":devtools_html", 44 ":devtools_html",
45 ":toolbox_html",
45 ":frontend_protocol_sources", 46 ":frontend_protocol_sources",
46 ":supported_css_properties", 47 ":supported_css_properties",
47 ":build_applications", 48 ":build_applications",
48 ] 49 ]
49 50
50 if (!debug_devtools) { 51 if (!debug_devtools) {
51 deps += [ 52 deps += [
52 ":concatenated_devtools_css", 53 ":concatenated_devtools_css",
53 ":concatenated_toolbox_css", 54 ":concatenated_toolbox_css",
54 ] 55 ]
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 args = rebase_path(input_pages, root_build_dir) + [ 109 args = rebase_path(input_pages, root_build_dir) + [
109 "--relative_path_dirs" ] + 110 "--relative_path_dirs" ] +
110 rebase_path(relative_path_dirs, root_build_dir) + [ 111 rebase_path(relative_path_dirs, root_build_dir) + [
111 "--images", rebase_path(images_path, root_build_dir), 112 "--images", rebase_path(images_path, root_build_dir),
112 "--output", rebase_path(outfile, root_build_dir), 113 "--output", rebase_path(outfile, root_build_dir),
113 ] 114 ]
114 115
115 deps = [ 116 deps = [
116 ":devtools_html", 117 ":devtools_html",
118 ":toolbox_html",
117 ":devtools_extension_api", 119 ":devtools_extension_api",
118 ":devtools_frontend_resources", 120 ":devtools_frontend_resources",
119 ] 121 ]
120 } 122 }
121 123
122 template("generate_app_html") { 124 template("generate_app_html") {
123 assert(defined(invoker.app_name), target_name) 125 assert(defined(invoker.app_name), target_name)
124 126
125 action(target_name) { 127 action(target_name) {
126 script = "scripts/generate_devtools_html.py" 128 script = "scripts/generate_devtools_html.py"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 ":build_settings_module", 259 ":build_settings_module",
258 ":build_source_frame_module", 260 ":build_source_frame_module",
259 ":build_sources_module", 261 ":build_sources_module",
260 ":build_temp_storage_shared_worker_module", 262 ":build_temp_storage_shared_worker_module",
261 ":build_timeline_module", 263 ":build_timeline_module",
262 ] 264 ]
263 265
264 if (!debug_devtools) { 266 if (!debug_devtools) {
265 deps += [ 267 deps += [
266 ":devtools_html", 268 ":devtools_html",
269 ":toolbox_html",
267 ":supported_css_properties", 270 ":supported_css_properties",
268 ":frontend_protocol_sources", 271 ":frontend_protocol_sources",
269 ":concatenated_module_descriptors", 272 ":concatenated_module_descriptors",
270 ] 273 ]
271 } 274 }
272 } 275 }
273 276
274 # Runs the concatenate_module_scripts script. 277 # Runs the concatenate_module_scripts script.
275 # module_name: (String) The JS module name to process. 278 # module_name: (String) The JS module name to process.
276 # imported_files: (List of strings) The list of files the input depends on. 279 # imported_files: (List of strings) The list of files the input depends on.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 } 431 }
429 } 432 }
430 433
431 concatenate_css("concatenated_devtools_css") { 434 concatenate_css("concatenated_devtools_css") {
432 app_name = "devtools" 435 app_name = "devtools"
433 } 436 }
434 437
435 concatenate_css("concatenated_toolbox_css") { 438 concatenate_css("concatenated_toolbox_css") {
436 app_name = "toolbox" 439 app_name = "toolbox"
437 } 440 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698