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', |
}], |