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

Unified Diff: content/content_browser.gypi

Issue 6882021: Wrap the p2p transport API in a compile time flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 8 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
Index: content/content_browser.gypi
diff --git a/content/content_browser.gypi b/content/content_browser.gypi
index 1e1869105b1eb473d4e78c28e2862aff08098e1e..bbd18c9dd42041bb97228c3e2bb0cc92e96a6da2 100644
--- a/content/content_browser.gypi
+++ b/content/content_browser.gypi
@@ -221,16 +221,6 @@
'browser/renderer_host/pepper_file_message_filter.h',
'browser/renderer_host/pepper_message_filter.cc',
'browser/renderer_host/pepper_message_filter.h',
- 'browser/renderer_host/p2p/socket_host.cc',
- 'browser/renderer_host/p2p/socket_host.h',
- 'browser/renderer_host/p2p/socket_host_tcp.cc',
- 'browser/renderer_host/p2p/socket_host_tcp.h',
- 'browser/renderer_host/p2p/socket_host_tcp_server.cc',
- 'browser/renderer_host/p2p/socket_host_tcp_server.h',
- 'browser/renderer_host/p2p/socket_host_udp.cc',
- 'browser/renderer_host/p2p/socket_host_udp.h',
- 'browser/renderer_host/p2p/socket_dispatcher_host.cc',
- 'browser/renderer_host/p2p/socket_dispatcher_host.h',
'browser/renderer_host/quota_dispatcher_host.cc',
'browser/renderer_host/quota_dispatcher_host.h',
'browser/renderer_host/redirect_to_file_resource_handler.cc',
@@ -345,6 +335,20 @@
'browser/zygote_main_linux.cc',
],
'conditions': [
+ ['p2p_apis==1', {
+ 'sources': [
+ 'browser/renderer_host/p2p/socket_host.cc',
+ 'browser/renderer_host/p2p/socket_host.h',
+ 'browser/renderer_host/p2p/socket_host_tcp.cc',
+ 'browser/renderer_host/p2p/socket_host_tcp.h',
+ 'browser/renderer_host/p2p/socket_host_tcp_server.cc',
+ 'browser/renderer_host/p2p/socket_host_tcp_server.h',
+ 'browser/renderer_host/p2p/socket_host_udp.cc',
+ 'browser/renderer_host/p2p/socket_host_udp.h',
+ 'browser/renderer_host/p2p/socket_dispatcher_host.cc',
+ 'browser/renderer_host/p2p/socket_dispatcher_host.h',
+ ],
+ }],
['OS=="win"', {
'msvs_guid': '639DB58D-32C2-435A-A711-65A12F62E442',
}],

Powered by Google App Engine
This is Rietveld 408576698