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

Unified Diff: ppapi/ppapi_cpp.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: ppapi/ppapi_cpp.gypi
diff --git a/ppapi/ppapi_cpp.gypi b/ppapi/ppapi_cpp.gypi
index 4ce6d019ffed2f23dcce872fd175844166fcc535..6b04efc5d1dc41ab34f3dee12e9e46620d36bc05 100644
--- a/ppapi/ppapi_cpp.gypi
+++ b/ppapi/ppapi_cpp.gypi
@@ -69,7 +69,6 @@
'c/dev/ppb_scrollbar_dev.h',
'c/dev/ppb_surface_3d_dev.h',
'c/dev/ppb_testing_dev.h',
- 'c/dev/ppb_transport_dev.h',
'c/dev/ppb_url_util_dev.h',
'c/dev/ppb_video_decoder_dev.h',
'c/dev/ppb_widget_dev.h',
@@ -108,6 +107,13 @@
'c/trusted/ppb_url_loader_trusted.h',
'c/trusted/ppp_broker.h',
],
+ 'conditions': [
+ ['p2p_apis==1', {
+ 'sources': [
+ 'c/dev/ppb_transport_dev.h',
+ ],
+ }],
+ ],
},
{
'target_name': 'ppapi_cpp_objects',
@@ -192,8 +198,6 @@
'cpp/dev/selection_dev.h',
'cpp/dev/surface_3d_dev.cc',
'cpp/dev/surface_3d_dev.h',
- 'cpp/dev/transport_dev.cc',
- 'cpp/dev/transport_dev.h',
'cpp/dev/url_util_dev.cc',
'cpp/dev/url_util_dev.h',
'cpp/dev/video_decoder_dev.cc',
@@ -231,7 +235,13 @@
'xcode_settings': {
'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
},
- }]
+ }],
+ ['p2p_apis==1', {
+ 'sources': [
+ 'cpp/dev/transport_dev.cc',
+ 'cpp/dev/transport_dev.h',
+ ],
+ }],
],
},
{

Powered by Google App Engine
This is Rietveld 408576698