Index: remoting/remoting.gyp |
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp |
index feaebad6ee1b9f5b8185f156597ecd3719f401a4..3ed718d1165953ffe8a16f238211f0013e937111 100644 |
--- a/remoting/remoting.gyp |
+++ b/remoting/remoting.gyp |
@@ -7,6 +7,7 @@ |
# TODO(dmaclach): can we pick this up some other way? Right now it's |
# duplicated from chrome.gyp |
'chromium_code': 1, |
+ 'remoting_audio': 0, |
# Use consistent strings across all platforms. Note that the plugin name |
# is brand-dependent and is defined further down. |
# Must match host/plugin/constants.h |
@@ -1507,6 +1508,13 @@ |
'target_name': 'remoting_protocol', |
'type': 'static_library', |
'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'conditions': [ |
Sergey Ulanov
2012/07/24 19:49:59
Please move this condition to target_defaults sect
kxing
2012/07/24 20:11:52
Done.
|
+ ['remoting_audio == 1', { |
+ 'defines': [ |
+ 'ENABLE_REMOTING_AUDIO', |
+ ], |
+ }], |
+ ], |
'dependencies': [ |
'remoting_base', |
'remoting_jingle_glue', |