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

Unified Diff: net/BUILD.gn

Issue 2082603002: Introduce an 'ENABLE_WEBSOCKETS' define in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hsts
Patch Set: Created 4 years, 6 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 | « no previous file | net/net.gyp » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 020e7d170fc60753f06f48d85b43cd75bceac719..c8cc2a6c074a57b189ff2c49fd54516c318d83b8 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -68,6 +68,9 @@ config("net_config") {
if (disable_ftp_support) {
defines += [ "DISABLE_FTP_SUPPORT=1" ]
}
+ if (enable_websockets) {
+ defines += [ "ENABLE_WEBSOCKETS" ]
mmenke 2016/06/20 15:14:09 Hrm...We should probably go with DISABLE_WEBSOCKET
Mike West 2016/06/21 10:31:15 It doesn't look that clearcut. We have "DISABLE_FI
mmenke 2016/06/21 16:33:54 SGTM.
+ }
}
config("net_internal_config") {
« no previous file with comments | « no previous file | net/net.gyp » ('j') | net/url_request/url_request_http_job_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698