Handle the "debug_devtools" build arg in GN builds
R=brettw,pfeldman
Review URL: https://codereview.chromium.org/598353003
Cr-Commit-Position: refs/heads/master@{#297401}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 8181e41..da9e63d 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -25,7 +25,10 @@
[ "../chrome_browser.gypi" ])
static_library("browser") {
- configs += [ "//build/config/compiler:wexit_time_destructors" ]
+ configs += [
+ "//build/config/compiler:wexit_time_destructors",
+ "//third_party/WebKit/public:debug_devtools",
+ ]
defines = []
sources = []
libs = []
@@ -273,10 +276,7 @@
".", "//chrome")
#deps += [ "//components/nacl:nacl_browser" ] TODO(GYP)
}
- # ["debug_devtools==1", { TODO(GYP)
- # "defines": [
- # "DEBUG_DEVTOOLS=1",
- # }],
+
if (enable_configuration_policy) {
sources += rebase_path(
gypi_values.chrome_browser_policy_shared_with_ios_sources,