OLD | NEW |
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 devtools_embedder_scripts = [ | 9 devtools_embedder_scripts = [ |
10 "front_end/devtools_compatibility.js", | 10 "front_end/devtools_compatibility.js", |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 devtools_source_frame_js_files + devtools_sources_js_files + | 892 devtools_source_frame_js_files + devtools_sources_js_files + |
893 devtools_utility_shared_worker_js_files + devtools_text_editor_js_files + | 893 devtools_utility_shared_worker_js_files + devtools_text_editor_js_files + |
894 devtools_terminal_js_files + devtools_timeline_model_js_files + | 894 devtools_terminal_js_files + devtools_timeline_model_js_files + |
895 devtools_timeline_js_files + devtools_ui_lazy_js_files + | 895 devtools_timeline_js_files + devtools_ui_lazy_js_files + |
896 devtools_layer_viewer_js_files + devtools_worker_service_js_files | 896 devtools_layer_viewer_js_files + devtools_worker_service_js_files |
897 | 897 |
898 all_devtools_files = devtools_cm_css_files + devtools_cm_js_files + | 898 all_devtools_files = devtools_cm_css_files + devtools_cm_js_files + |
899 devtools_core_files + devtools_module_json_files + | 899 devtools_core_files + devtools_module_json_files + |
900 devtools_modules_js_files + devtools_acorn_files | 900 devtools_modules_js_files + devtools_acorn_files |
901 | 901 |
| 902 eslint_files = [ |
| 903 ".eslintignore", |
| 904 ".eslintrc.js", |
| 905 "scripts/lint_javascript.py", |
| 906 "scripts/local_node/runtimes/4.5.0/bin/node", |
| 907 ] |
| 908 |
902 resources_out_dir = "$root_out_dir/resources/inspector" | 909 resources_out_dir = "$root_out_dir/resources/inspector" |
903 | 910 |
904 generated_scripts = [ | 911 generated_scripts = [ |
905 "$resources_out_dir/InspectorBackendCommands.js", | 912 "$resources_out_dir/InspectorBackendCommands.js", |
906 "$resources_out_dir/SupportedCSSProperties.js", | 913 "$resources_out_dir/SupportedCSSProperties.js", |
907 ] | 914 ] |
908 | 915 |
909 generated_entry_files = [ | 916 generated_entry_files = [ |
910 "$resources_out_dir/inspector.html", | 917 "$resources_out_dir/inspector.html", |
911 "$resources_out_dir/inspector.js", | 918 "$resources_out_dir/inspector.js", |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1148 deps = [ | 1155 deps = [ |
1149 ":frontend_protocol_sources", | 1156 ":frontend_protocol_sources", |
1150 ":supported_css_properties", | 1157 ":supported_css_properties", |
1151 ] | 1158 ] |
1152 sources = generated_scripts | 1159 sources = generated_scripts |
1153 outputs = [ | 1160 outputs = [ |
1154 "$resources_out_debug_dir/{{source_file_part}}", | 1161 "$resources_out_debug_dir/{{source_file_part}}", |
1155 ] | 1162 ] |
1156 } | 1163 } |
1157 } | 1164 } |
| 1165 |
| 1166 group("eslint") { |
| 1167 data = eslint_files + all_devtools_files |
| 1168 } |
OLD | NEW |