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

Unified Diff: build/common.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
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | content/common/content_switches.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 63331603b4a3e66ac413ab50e2e7ca7470774540..0a51eab96c7dc633d4adcc4aa6b7fed174425341 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -129,6 +129,10 @@
# Remoting compilation is enabled by default. Set to 0 to disable.
'remoting%': 1,
+ # P2P APIs are compiled in by default. Set to 0 to disable.
+ # Also note that this should be enabled for remoting to compile.
+ 'p2p_apis%': 1,
+
# If this is set, the clang plugins used on the buildbot will be used.
# Run tools/clang/scripts/update.sh to make sure they are compiled.
# This causes 'clang_chrome_plugins_flags' to be set.
@@ -199,6 +203,7 @@
'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
'use_third_party_translations%': '<(use_third_party_translations)',
'remoting%': '<(remoting)',
+ 'p2p_apis%': '<(p2p_apis)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
# The release channel that this build targets. This is used to restrict
@@ -609,6 +614,9 @@
['remoting==1', {
'defines': ['ENABLE_REMOTING=1'],
}],
+ ['p2p_apis==1', {
+ 'defines': ['ENABLE_P2P_APIS=1'],
+ }],
['proprietary_codecs==1', {
'defines': ['USE_PROPRIETARY_CODECS'],
}],
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | content/common/content_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698