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

Unified Diff: components/ui_devtools/BUILD.gn

Issue 2468263006: Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel (Closed)
Patch Set: Sync with master 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 | « no previous file | components/ui_devtools/devtools_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/BUILD.gn
diff --git a/components/ui_devtools/BUILD.gn b/components/ui_devtools/BUILD.gn
index 1f8955822f8ef1f70e013c20e1f756b9f69b195f..72f61846f641c5996c0d6d95fadca72484dab714 100644
--- a/components/ui_devtools/BUILD.gn
+++ b/components/ui_devtools/BUILD.gn
@@ -56,6 +56,7 @@ source_set("ui_devtools") {
"devtools_base_agent.h",
"devtools_client.cc",
"devtools_client.h",
+ "devtools_export.h",
"devtools_server.cc",
"devtools_server.h",
"string_util.cc",
@@ -64,6 +65,8 @@ source_set("ui_devtools") {
"switches.h",
]
+ defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
+
cflags = []
if (is_win) {
cflags += [ "/wd4800" ] # Value forced to bool.
« no previous file with comments | « no previous file | components/ui_devtools/devtools_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698