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

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

Issue 2837083003: DevTools: create test infrastructure so devtools drives the test (Closed)
Patch Set: all Created 3 years, 6 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/public/public_features.gni") 6 import("//third_party/WebKit/public/public_features.gni")
7 import("//third_party/WebKit/Source/core/core.gni") 7 import("//third_party/WebKit/Source/core/core.gni")
8 8
9 all_devtools_files = [ 9 all_devtools_files = [
10 "front_end/accessibility/AccessibilityModel.js", 10 "front_end/accessibility/AccessibilityModel.js",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "front_end/console/ConsolePanel.js", 139 "front_end/console/ConsolePanel.js",
140 "front_end/console/ConsolePrompt.js", 140 "front_end/console/ConsolePrompt.js",
141 "front_end/console/consoleView.css", 141 "front_end/console/consoleView.css",
142 "front_end/console/consoleContextSelector.css", 142 "front_end/console/consoleContextSelector.css",
143 "front_end/console/ConsoleView.js", 143 "front_end/console/ConsoleView.js",
144 "front_end/console/ConsoleViewMessage.js", 144 "front_end/console/ConsoleViewMessage.js",
145 "front_end/console/ConsoleViewport.js", 145 "front_end/console/ConsoleViewport.js",
146 "front_end/console/module.json", 146 "front_end/console/module.json",
147 "front_end/console_model/ConsoleModel.js", 147 "front_end/console_model/ConsoleModel.js",
148 "front_end/console_model/module.json", 148 "front_end/console_model/module.json",
149 "front_end/console_test_runner/ConsoleTestRunner.js",
150 "front_end/console_test_runner/module.json",
149 "front_end/cookie_table/CookiesTable.js", 151 "front_end/cookie_table/CookiesTable.js",
150 "front_end/cookie_table/module.json", 152 "front_end/cookie_table/module.json",
151 "front_end/coverage/coverageListView.css", 153 "front_end/coverage/coverageListView.css",
152 "front_end/coverage/CoverageDecorationManager.js", 154 "front_end/coverage/CoverageDecorationManager.js",
153 "front_end/coverage/CoverageListView.js", 155 "front_end/coverage/CoverageListView.js",
154 "front_end/coverage/CoverageModel.js", 156 "front_end/coverage/CoverageModel.js",
155 "front_end/coverage/coverageView.css", 157 "front_end/coverage/coverageView.css",
156 "front_end/coverage/CoverageView.js", 158 "front_end/coverage/CoverageView.js",
157 "front_end/coverage/module.json", 159 "front_end/coverage/module.json",
158 "front_end/data_grid/dataGrid.css", 160 "front_end/data_grid/dataGrid.css",
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 "front_end/inline_editor/ColorSwatch.js", 281 "front_end/inline_editor/ColorSwatch.js",
280 "front_end/inline_editor/cssShadowEditor.css", 282 "front_end/inline_editor/cssShadowEditor.css",
281 "front_end/inline_editor/CSSShadowEditor.js", 283 "front_end/inline_editor/CSSShadowEditor.js",
282 "front_end/inline_editor/CSSShadowModel.js", 284 "front_end/inline_editor/CSSShadowModel.js",
283 "front_end/inline_editor/cssShadowSwatch.css", 285 "front_end/inline_editor/cssShadowSwatch.css",
284 "front_end/inline_editor/module.json", 286 "front_end/inline_editor/module.json",
285 "front_end/inline_editor/swatchPopover.css", 287 "front_end/inline_editor/swatchPopover.css",
286 "front_end/inline_editor/SwatchPopoverHelper.js", 288 "front_end/inline_editor/SwatchPopoverHelper.js",
287 "front_end/inspector.js", 289 "front_end/inspector.js",
288 "front_end/inspector.json", 290 "front_end/inspector.json",
291 "front_end/integration_test_runner.js",
292 "front_end/integration_test_runner.json",
293 "front_end/integration_test_runner/IntegrationTestRunner.js",
294 "front_end/integration_test_runner/module.json",
289 "front_end/layer_viewer/layerDetailsView.css", 295 "front_end/layer_viewer/layerDetailsView.css",
290 "front_end/layer_viewer/LayerDetailsView.js", 296 "front_end/layer_viewer/LayerDetailsView.js",
291 "front_end/layer_viewer/layers3DView.css", 297 "front_end/layer_viewer/layers3DView.css",
292 "front_end/layer_viewer/Layers3DView.js", 298 "front_end/layer_viewer/Layers3DView.js",
293 "front_end/layer_viewer/LayerTreeOutline.js", 299 "front_end/layer_viewer/LayerTreeOutline.js",
294 "front_end/layer_viewer/LayerViewHost.js", 300 "front_end/layer_viewer/LayerViewHost.js",
295 "front_end/layer_viewer/module.json", 301 "front_end/layer_viewer/module.json",
296 "front_end/layer_viewer/paintProfiler.css", 302 "front_end/layer_viewer/paintProfiler.css",
297 "front_end/layer_viewer/PaintProfilerView.js", 303 "front_end/layer_viewer/PaintProfilerView.js",
298 "front_end/layer_viewer/TransformController.js", 304 "front_end/layer_viewer/TransformController.js",
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 "$resources_out_dir/cm_modes/cm_modes_module.js", 932 "$resources_out_dir/cm_modes/cm_modes_module.js",
927 "$resources_out_dir/emulated_devices/emulated_devices_module.js", 933 "$resources_out_dir/emulated_devices/emulated_devices_module.js",
928 "$resources_out_dir/gonzales/gonzales_module.js", 934 "$resources_out_dir/gonzales/gonzales_module.js",
929 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js", 935 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js",
930 "$resources_out_dir/screencast/screencast_module.js", 936 "$resources_out_dir/screencast/screencast_module.js",
931 ] 937 ]
932 938
933 devtools_applications = [ 939 devtools_applications = [
934 "inspector", 940 "inspector",
935 "toolbox", 941 "toolbox",
942 "integration_test_runner",
936 "unit_test_runner", 943 "unit_test_runner",
937 "formatter_worker", 944 "formatter_worker",
938 "audits2_worker", 945 "audits2_worker",
939 "heap_snapshot_worker", 946 "heap_snapshot_worker",
940 "utility_shared_worker", 947 "utility_shared_worker",
941 ] 948 ]
942 949
943 #------------------------------------------------------------------------------- 950 #-------------------------------------------------------------------------------
944 951
945 visibility = [ "//third_party/WebKit/*" ] 952 visibility = [ "//third_party/WebKit/*" ]
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 ] 1085 ]
1079 1086
1080 helper_scripts = [ 1087 helper_scripts = [
1081 "scripts/build/modular_build.py", 1088 "scripts/build/modular_build.py",
1082 "scripts/build/rjsmin.py", 1089 "scripts/build/rjsmin.py",
1083 ] 1090 ]
1084 1091
1085 inputs = helper_scripts + all_devtools_files + generated_scripts + [ 1092 inputs = helper_scripts + all_devtools_files + generated_scripts + [
1086 "front_end/inspector.html", 1093 "front_end/inspector.html",
1087 "front_end/toolbox.html", 1094 "front_end/toolbox.html",
1095 "front_end/integration_test_runner.html",
1088 "front_end/unit_test_runner.html", 1096 "front_end/unit_test_runner.html",
1089 ] 1097 ]
1090 1098
1091 outputs = generated_resources + generated_remote_modules 1099 outputs = generated_resources + generated_remote_modules
1092 1100
1093 args = devtools_applications + [ 1101 args = devtools_applications + [
1094 "--input_path", 1102 "--input_path",
1095 rebase_path("front_end", root_build_dir), 1103 rebase_path("front_end", root_build_dir),
1096 "--output_path", 1104 "--output_path",
1097 rebase_path(resources_out_dir, root_build_dir), 1105 rebase_path(resources_out_dir, root_build_dir),
1098 ] 1106 ]
1099 } 1107 }
1100 1108
1101 if (debug_devtools) { 1109 if (debug_devtools) {
1102 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug" 1110 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug"
1103 1111
1104 action("build_debug_devtools") { 1112 action("build_debug_devtools") {
1105 script = "scripts/build/build_debug_applications.py" 1113 script = "scripts/build/build_debug_applications.py"
1106 1114
1107 deps = [ 1115 deps = [
1108 ":copy_generated_scripts", 1116 ":copy_generated_scripts",
1109 ] 1117 ]
1110 1118
1111 inputs = all_devtools_files + [ 1119 inputs = all_devtools_files + [
1112 "front_end/inspector.html", 1120 "front_end/inspector.html",
1113 "front_end/toolbox.html", 1121 "front_end/toolbox.html",
1122 "front_end/integration_test_runner.html",
1114 "front_end/unit_test_runner.html", 1123 "front_end/unit_test_runner.html",
1115 ] 1124 ]
1116 1125
1117 outputs = [ 1126 outputs = [
1118 "$resources_out_debug_dir/inspector.html", 1127 "$resources_out_debug_dir/inspector.html",
1119 "$resources_out_debug_dir/toolbox.html", 1128 "$resources_out_debug_dir/toolbox.html",
1129 "$resources_out_debug_dir/integration_test_runner.html",
1120 "$resources_out_debug_dir/unit_test_runner.html", 1130 "$resources_out_debug_dir/unit_test_runner.html",
1121 ] 1131 ]
1122 1132
1123 args = devtools_applications + [ 1133 args = devtools_applications + [
1124 "--input_path", 1134 "--input_path",
1125 rebase_path("front_end", root_build_dir), 1135 rebase_path("front_end", root_build_dir),
1126 "--output_path", 1136 "--output_path",
1127 rebase_path(resources_out_debug_dir, root_build_dir), 1137 rebase_path(resources_out_debug_dir, root_build_dir),
1128 ] 1138 ]
1129 } 1139 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 ".eslintrc.js", 1176 ".eslintrc.js",
1167 "devtools-node-modules/", 1177 "devtools-node-modules/",
1168 "front_end/", 1178 "front_end/",
1169 "scripts/buildbot/run_eslint.py", 1179 "scripts/buildbot/run_eslint.py",
1170 "scripts/local_node/", 1180 "scripts/local_node/",
1171 "//testing/scripts/common.py", 1181 "//testing/scripts/common.py",
1172 "//testing/scripts/run_devtools_check.py", 1182 "//testing/scripts/run_devtools_check.py",
1173 "//testing/xvfb.py", 1183 "//testing/xvfb.py",
1174 ] 1184 ]
1175 } 1185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698