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

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: fix 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 "front_end/inline_editor/ColorSwatch.js", 279 "front_end/inline_editor/ColorSwatch.js",
280 "front_end/inline_editor/cssShadowEditor.css", 280 "front_end/inline_editor/cssShadowEditor.css",
281 "front_end/inline_editor/CSSShadowEditor.js", 281 "front_end/inline_editor/CSSShadowEditor.js",
282 "front_end/inline_editor/CSSShadowModel.js", 282 "front_end/inline_editor/CSSShadowModel.js",
283 "front_end/inline_editor/cssShadowSwatch.css", 283 "front_end/inline_editor/cssShadowSwatch.css",
284 "front_end/inline_editor/module.json", 284 "front_end/inline_editor/module.json",
285 "front_end/inline_editor/swatchPopover.css", 285 "front_end/inline_editor/swatchPopover.css",
286 "front_end/inline_editor/SwatchPopoverHelper.js", 286 "front_end/inline_editor/SwatchPopoverHelper.js",
287 "front_end/inspector.js", 287 "front_end/inspector.js",
288 "front_end/inspector.json", 288 "front_end/inspector.json",
289 "front_end/integration_test_runner.js",
290 "front_end/integration_test_runner.json",
291 "front_end/integration_test_runner/ConsoleTestRunner.js",
292 "front_end/integration_test_runner/IntegrationTestRunner.js",
293 "front_end/integration_test_runner/module.json",
289 "front_end/layer_viewer/layerDetailsView.css", 294 "front_end/layer_viewer/layerDetailsView.css",
290 "front_end/layer_viewer/LayerDetailsView.js", 295 "front_end/layer_viewer/LayerDetailsView.js",
291 "front_end/layer_viewer/layers3DView.css", 296 "front_end/layer_viewer/layers3DView.css",
292 "front_end/layer_viewer/Layers3DView.js", 297 "front_end/layer_viewer/Layers3DView.js",
293 "front_end/layer_viewer/LayerTreeOutline.js", 298 "front_end/layer_viewer/LayerTreeOutline.js",
294 "front_end/layer_viewer/LayerViewHost.js", 299 "front_end/layer_viewer/LayerViewHost.js",
295 "front_end/layer_viewer/module.json", 300 "front_end/layer_viewer/module.json",
296 "front_end/layer_viewer/paintProfiler.css", 301 "front_end/layer_viewer/paintProfiler.css",
297 "front_end/layer_viewer/PaintProfilerView.js", 302 "front_end/layer_viewer/PaintProfilerView.js",
298 "front_end/layer_viewer/TransformController.js", 303 "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", 931 "$resources_out_dir/cm_modes/cm_modes_module.js",
927 "$resources_out_dir/emulated_devices/emulated_devices_module.js", 932 "$resources_out_dir/emulated_devices/emulated_devices_module.js",
928 "$resources_out_dir/gonzales/gonzales_module.js", 933 "$resources_out_dir/gonzales/gonzales_module.js",
929 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js", 934 "$resources_out_dir/product_registry_impl/product_registry_impl_module.js",
930 "$resources_out_dir/screencast/screencast_module.js", 935 "$resources_out_dir/screencast/screencast_module.js",
931 ] 936 ]
932 937
933 devtools_applications = [ 938 devtools_applications = [
934 "inspector", 939 "inspector",
935 "toolbox", 940 "toolbox",
941 "integration_test_runner",
936 "unit_test_runner", 942 "unit_test_runner",
937 "formatter_worker", 943 "formatter_worker",
938 "audits2_worker", 944 "audits2_worker",
939 "heap_snapshot_worker", 945 "heap_snapshot_worker",
940 "utility_shared_worker", 946 "utility_shared_worker",
941 ] 947 ]
942 948
943 #------------------------------------------------------------------------------- 949 #-------------------------------------------------------------------------------
944 950
945 visibility = [ "//third_party/WebKit/*" ] 951 visibility = [ "//third_party/WebKit/*" ]
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 ] 1084 ]
1079 1085
1080 helper_scripts = [ 1086 helper_scripts = [
1081 "scripts/build/modular_build.py", 1087 "scripts/build/modular_build.py",
1082 "scripts/build/rjsmin.py", 1088 "scripts/build/rjsmin.py",
1083 ] 1089 ]
1084 1090
1085 inputs = helper_scripts + all_devtools_files + generated_scripts + [ 1091 inputs = helper_scripts + all_devtools_files + generated_scripts + [
1086 "front_end/inspector.html", 1092 "front_end/inspector.html",
1087 "front_end/toolbox.html", 1093 "front_end/toolbox.html",
1094 "front_end/integration_test_runner.html",
1088 "front_end/unit_test_runner.html", 1095 "front_end/unit_test_runner.html",
1089 ] 1096 ]
1090 1097
1091 outputs = generated_resources + generated_remote_modules 1098 outputs = generated_resources + generated_remote_modules
1092 1099
1093 args = devtools_applications + [ 1100 args = devtools_applications + [
1094 "--input_path", 1101 "--input_path",
1095 rebase_path("front_end", root_build_dir), 1102 rebase_path("front_end", root_build_dir),
1096 "--output_path", 1103 "--output_path",
1097 rebase_path(resources_out_dir, root_build_dir), 1104 rebase_path(resources_out_dir, root_build_dir),
1098 ] 1105 ]
1099 } 1106 }
1100 1107
1101 if (debug_devtools) { 1108 if (debug_devtools) {
1102 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug" 1109 resources_out_debug_dir = "$root_out_dir/resources/inspector/debug"
1103 1110
1104 action("build_debug_devtools") { 1111 action("build_debug_devtools") {
1105 script = "scripts/build/build_debug_applications.py" 1112 script = "scripts/build/build_debug_applications.py"
1106 1113
1107 deps = [ 1114 deps = [
1108 ":copy_generated_scripts", 1115 ":copy_generated_scripts",
1109 ] 1116 ]
1110 1117
1111 inputs = all_devtools_files + [ 1118 inputs = all_devtools_files + [
1112 "front_end/inspector.html", 1119 "front_end/inspector.html",
1113 "front_end/toolbox.html", 1120 "front_end/toolbox.html",
1121 "front_end/integration_test_runner.html",
1114 "front_end/unit_test_runner.html", 1122 "front_end/unit_test_runner.html",
1115 ] 1123 ]
1116 1124
1117 outputs = [ 1125 outputs = [
1118 "$resources_out_debug_dir/inspector.html", 1126 "$resources_out_debug_dir/inspector.html",
1119 "$resources_out_debug_dir/toolbox.html", 1127 "$resources_out_debug_dir/toolbox.html",
1128 "$resources_out_debug_dir/integration_test_runner.html",
1120 "$resources_out_debug_dir/unit_test_runner.html", 1129 "$resources_out_debug_dir/unit_test_runner.html",
1121 ] 1130 ]
1122 1131
1123 args = devtools_applications + [ 1132 args = devtools_applications + [
1124 "--input_path", 1133 "--input_path",
1125 rebase_path("front_end", root_build_dir), 1134 rebase_path("front_end", root_build_dir),
1126 "--output_path", 1135 "--output_path",
1127 rebase_path(resources_out_debug_dir, root_build_dir), 1136 rebase_path(resources_out_debug_dir, root_build_dir),
1128 ] 1137 ]
1129 } 1138 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 ".eslintrc.js", 1175 ".eslintrc.js",
1167 "devtools-node-modules/", 1176 "devtools-node-modules/",
1168 "front_end/", 1177 "front_end/",
1169 "scripts/buildbot/run_eslint.py", 1178 "scripts/buildbot/run_eslint.py",
1170 "scripts/local_node/", 1179 "scripts/local_node/",
1171 "//testing/scripts/common.py", 1180 "//testing/scripts/common.py",
1172 "//testing/scripts/run_devtools_check.py", 1181 "//testing/scripts/run_devtools_check.py",
1173 "//testing/xvfb.py", 1182 "//testing/xvfb.py",
1174 ] 1183 ]
1175 } 1184 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698