Wrap the p2p transport API in a compile time flag.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6882021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82295 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi
index 4c4271c..eaf9ece 100644
--- a/ppapi/ppapi_tests.gypi
+++ b/ppapi/ppapi_tests.gypi
@@ -224,8 +224,6 @@
         'tests/test_scrollbar.cc',
         'tests/test_scrollbar.h',
         'tests/test_struct_sizes.c',
-        'tests/test_transport.cc',
-        'tests/test_transport.h',
         'tests/test_url_loader.cc',
         'tests/test_url_loader.h',
         'tests/test_url_util.cc',
@@ -258,6 +256,12 @@
           'product_name': 'ppapi_tests',
           'product_extension': 'plugin',
         }],
+        ['p2p_apis==1', {
+          'sources': [
+            'tests/test_transport.cc',
+            'tests/test_transport.h',
+          ],
+        }],
       ],
 # TODO(dmichael):  Figure out what is wrong with the script on Windows and add
 #                  it as an automated action.