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

Unified Diff: net/net.gypi

Issue 1812243002: Make net pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « net/net.gyp ('k') | net/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gypi
diff --git a/net/net.gypi b/net/net.gypi
index 47d6e19fd889ad44efb82331bd619e9d7e38c76b..7513540d8952ac3525feb149d354309ffee824f2 100644
--- a/net/net.gypi
+++ b/net/net.gypi
@@ -1292,6 +1292,19 @@
'url_request/view_cache_helper.h',
'url_request/websocket_handshake_userdata_key.cc',
'url_request/websocket_handshake_userdata_key.h',
+
+ # WebSockets headers are included net/http files. Since net/http can be
+ # built without linking net/websockets code, the uses of the websockets
+ # headers from url_request are carefully written not to introduce link-
+ # time dependencies.
+ #
+ # To make "gn check" validate the header usage properly, these are the
+ # websocket headers needed by the shared net code, which are duplicated
+ # unconditionally here from the conditional websockets list below.
+ 'websockets/websocket_handshake_stream_base.h',
+ 'websockets/websocket_stream.h',
+ 'websockets/websocket_handshake_request_info.h',
+ 'websockets/websocket_handshake_response_info.h',
],
'net_extras_sources': [
'extras/sqlite/cookie_crypto_delegate.h',
« no previous file with comments | « net/net.gyp ('k') | net/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698