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

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: rebaseline 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 "$resources_out_dir/cm_modes/cm_modes_module.js", 935 "$resources_out_dir/cm_modes/cm_modes_module.js",
930 "$resources_out_dir/emulated_devices/emulated_devices_module.js", 936 "$resources_out_dir/emulated_devices/emulated_devices_module.js",
931 "$resources_out_dir/gonzales/gonzales_module.js", 937 "$resources_out_dir/gonzales/gonzales_module.js",
932 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js", 938 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js",
933 "$resources_out_dir/screencast/screencast_module.js", 939 "$resources_out_dir/screencast/screencast_module.js",
934 ] 940 ]
935 941
936 devtools_applications = [ 942 devtools_applications = [
937 "inspector", 943 "inspector",
938 "toolbox", 944 "toolbox",
945 "integration_test_runner",
939 "unit_test_runner", 946 "unit_test_runner",
940 "formatter_worker", 947 "formatter_worker",
941 "audits2_worker", 948 "audits2_worker",
942 "heap_snapshot_worker", 949 "heap_snapshot_worker",
943 "utility_shared_worker", 950 "utility_shared_worker",
944 ] 951 ]
945 952
946 #------------------------------------------------------------------------------- 953 #-------------------------------------------------------------------------------
947 954
948 visibility = [ "//third_party/WebKit/*" ] 955 visibility = [ "//third_party/WebKit/*" ]
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 ] 1088 ]
1082 1089
1083 helper_scripts = [ 1090 helper_scripts = [
1084 "scripts/build/modular_build.py", 1091 "scripts/build/modular_build.py",
1085 "scripts/build/rjsmin.py", 1092 "scripts/build/rjsmin.py",
1086 ] 1093 ]
1087 1094
1088 inputs = helper_scripts + all_devtools_files + generated_scripts + [ 1095 inputs = helper_scripts + all_devtools_files + generated_scripts + [
1089 "front_end/inspector.html", 1096 "front_end/inspector.html",
1090 "front_end/toolbox.html", 1097 "front_end/toolbox.html",
1098 "front_end/integration_test_runner.html",
1091 "front_end/unit_test_runner.html", 1099 "front_end/unit_test_runner.html",
1092 ] 1100 ]
1093 1101
1094 outputs = generated_resources + generated_remote_modules 1102 outputs = generated_resources + generated_remote_modules
1095 1103
1096 args = devtools_applications + [ 1104 args = devtools_applications + [
1097 "--input_path", 1105 "--input_path",
1098 rebase_path("front_end", root_build_dir), 1106 rebase_path("front_end", root_build_dir),
1099 "--output_path", 1107 "--output_path",
1100 rebase_path(resources_out_dir, root_build_dir), 1108 rebase_path(resources_out_dir, root_build_dir),
1101 ] 1109 ]
1102 } 1110 }
1103 1111
1104 if (debug_devtools) { 1112 if (debug_devtools) {
1105 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug" 1113 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug"
1106 1114
1107 action("build_debug_devtools") { 1115 action("build_debug_devtools") {
1108 script = "scripts/build/build_debug_applications.py" 1116 script = "scripts/build/build_debug_applications.py"
1109 1117
1110 deps = [ 1118 deps = [
1111 ":copy_generated_scripts", 1119 ":copy_generated_scripts",
1112 ] 1120 ]
1113 1121
1114 inputs = all_devtools_files + [ 1122 inputs = all_devtools_files + [
1115 "front_end/inspector.html", 1123 "front_end/inspector.html",
1116 "front_end/toolbox.html", 1124 "front_end/toolbox.html",
1125 "front_end/integration_test_runner.html",
1117 "front_end/unit_test_runner.html", 1126 "front_end/unit_test_runner.html",
1118 ] 1127 ]
1119 1128
1120 outputs = [ 1129 outputs = [
1121 "$resources_out_debug_dir/inspector.html", 1130 "$resources_out_debug_dir/inspector.html",
1122 "$resources_out_debug_dir/toolbox.html", 1131 "$resources_out_debug_dir/toolbox.html",
1132 "$resources_out_debug_dir/integration_test_runner.html",
1123 "$resources_out_debug_dir/unit_test_runner.html", 1133 "$resources_out_debug_dir/unit_test_runner.html",
1124 ] 1134 ]
1125 1135
1126 args = devtools_applications + [ 1136 args = devtools_applications + [
1127 "--input_path", 1137 "--input_path",
1128 rebase_path("front_end", root_build_dir), 1138 rebase_path("front_end", root_build_dir),
1129 "--output_path", 1139 "--output_path",
1130 rebase_path(resources_out_debug_dir, root_build_dir), 1140 rebase_path(resources_out_debug_dir, root_build_dir),
1131 ] 1141 ]
1132 } 1142 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 ".eslintrc.js", 1179 ".eslintrc.js",
1170 "devtools-node-modules/", 1180 "devtools-node-modules/",
1171 "front_end/", 1181 "front_end/",
1172 "scripts/buildbot/run_eslint.py", 1182 "scripts/buildbot/run_eslint.py",
1173 "scripts/local_node/", 1183 "scripts/local_node/",
1174 "//testing/scripts/common.py", 1184 "//testing/scripts/common.py",
1175 "//testing/scripts/run_devtools_check.py", 1185 "//testing/scripts/run_devtools_check.py",
1176 "//testing/xvfb.py", 1186 "//testing/xvfb.py",
1177 ] 1187 ]
1178 } 1188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698