Index: remoting/remoting_host.gypi |
diff --git a/remoting/remoting_host.gypi b/remoting/remoting_host.gypi |
index 32cb97ae213e0bb6516cca8688ecb3dd548258fa..8ee22546ece09cb4e2d94eb4b29f2f2e5187b8d9 100644 |
--- a/remoting/remoting_host.gypi |
+++ b/remoting/remoting_host.gypi |
@@ -39,8 +39,6 @@ |
'../crypto/crypto.gyp:crypto', |
'../google_apis/google_apis.gyp:google_apis', |
'../ipc/ipc.gyp:ipc', |
- '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
- '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
'../ui/events/events.gyp:dom4_keycode_converter', |
], |
'defines': [ |
@@ -355,6 +353,12 @@ |
'message': 'Running message compiler on <(RULE_INPUT_PATH)', |
}], |
}], |
+ ['enable_webrtc==1', { |
+ 'dependencies': [ |
+ '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
+ '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
+ ], |
+ }], |
], |
}, # end of target 'remoting_host' |