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

Unified Diff: content/content_renderer.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_renderer.gypi
diff --git a/content/content_renderer.gypi b/content/content_renderer.gypi
index dcc304e5edac719bf6e7c54226e384d04756ba2a..53f1b9762ceb9b8bfb9eedf31e7304f858210ac6 100644
--- a/content/content_renderer.gypi
+++ b/content/content_renderer.gypi
@@ -64,16 +64,6 @@
'renderer/navigation_state.h',
'renderer/notification_provider.cc',
'renderer/notification_provider.h',
- 'renderer/p2p/ipc_network_manager.cc',
- 'renderer/p2p/ipc_network_manager.h',
- 'renderer/p2p/ipc_socket_factory.cc',
- 'renderer/p2p/ipc_socket_factory.h',
- 'renderer/p2p/p2p_transport_impl.cc',
- 'renderer/p2p/p2p_transport_impl.h',
- 'renderer/p2p/socket_client.cc',
- 'renderer/p2p/socket_client.h',
- 'renderer/p2p/socket_dispatcher.cc',
- 'renderer/p2p/socket_dispatcher.h',
'renderer/paint_aggregator.cc',
'renderer/paint_aggregator.h',
'renderer/pepper_platform_context_3d_impl.cc',
@@ -162,6 +152,20 @@
'renderer/web_ui_bindings.h',
],
'conditions': [
+ ['p2p_apis==1', {
+ 'sources': [
+ 'renderer/p2p/ipc_network_manager.cc',
+ 'renderer/p2p/ipc_network_manager.h',
+ 'renderer/p2p/ipc_socket_factory.cc',
+ 'renderer/p2p/ipc_socket_factory.h',
+ 'renderer/p2p/p2p_transport_impl.cc',
+ 'renderer/p2p/p2p_transport_impl.h',
+ 'renderer/p2p/socket_client.cc',
+ 'renderer/p2p/socket_client.h',
+ 'renderer/p2p/socket_dispatcher.cc',
+ 'renderer/p2p/socket_dispatcher.h',
+ ],
+ }],
['enable_gpu==1', {
'dependencies': [
'../gpu/gpu.gyp:gles2_c_lib',

Powered by Google App Engine
This is Rietveld 408576698