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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 598353003: Handle the "debug_devtools" build arg in GN builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make use of the "debug_devtools" config added on the Blink side Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index dbd8d43d1d31b696c8c620171396ff9c04fb509a..4c0dca57f9ad6bf6334221dc743dafec6f00cc33 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -19,7 +19,10 @@ static_library("ui") {
defines = []
libs = []
- configs += [ "//build/config/compiler:wexit_time_destructors" ]
+ configs += [
+ "//build/config/compiler:wexit_time_destructors",
+ "//third_party/WebKit/public:debug_devtools",
+ ]
# Since browser and browser_ui actually depend on each other,
# we must omit the dependency from browser_ui to browser.
@@ -142,9 +145,6 @@ static_library("ui") {
#"//native_client/src/trusted/service_runtime/service_runtime.gyp:sel", TODO(GYP)
]
}
- if (debug_devtools) {
- defines += [ "DEBUG_DEVTOOLS=1" ]
- }
if (enable_configuration_policy) {
sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources,
".", "//chrome")
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698