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

Unified Diff: third_party/WebKit/Source/devtools/BUILD.gn

Issue 2486903002: DevTools: Add support for installing node and running eslint over devtools. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/BUILD.gn
diff --git a/third_party/WebKit/Source/devtools/BUILD.gn b/third_party/WebKit/Source/devtools/BUILD.gn
index 56925ef7aef8cbf7568d9eedc178dbebc5af9a37..f83c56ca248fb804a650a65d003592467930ab20 100644
--- a/third_party/WebKit/Source/devtools/BUILD.gn
+++ b/third_party/WebKit/Source/devtools/BUILD.gn
@@ -899,6 +899,13 @@ all_devtools_files = devtools_cm_css_files + devtools_cm_js_files +
devtools_core_files + devtools_module_json_files +
devtools_modules_js_files + devtools_acorn_files
+eslint_files = [
+ ".eslintignore",
+ ".eslintrc.js",
+ "scripts/lint_javascript.py",
+ "scripts/local_node/runtimes/4.5.0/bin/node",
+]
+
resources_out_dir = "$root_out_dir/resources/inspector"
generated_scripts = [
@@ -1155,3 +1162,7 @@ if (debug_devtools) {
]
}
}
+
+group("eslint") {
+ data = eslint_files + all_devtools_files
+}

Powered by Google App Engine
This is Rietveld 408576698