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

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 2458573004: Move debug_devtools to a buildflag_header. (Closed)
Patch Set: Merge 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
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/public/public_features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index 5c834f910f325eff47e55f504cdc72aea53164a5..1717399fe32393d8a12f981ccaf0734dd98cdc3f 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/buildflag_header.gni")
import("//mojo/public/tools/bindings/mojom.gni")
+import("//third_party/WebKit/public/public_features.gni")
import("//third_party/WebKit/Source/config.gni")
import("//tools/grit/grit_rule.gni")
@@ -65,10 +67,10 @@ config("blink_headers_config") {
configs = [ "//v8:external_config" ]
}
-config("debug_devtools") {
- if (debug_devtools) {
- defines = [ "DEBUG_DEVTOOLS=1" ]
- }
+# Public feature flags usabout outside of Blink.
+buildflag_header("features") {
+ header = "public_features.h"
+ flags = [ "DEBUG_DEVTOOLS=$debug_devtools" ]
}
if (is_android) {
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/public/public_features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698