Index: remoting/remoting.gyp |
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp |
index 005823ccd66bb7e473c650af09697254fb72d125..3e58552fd0c1ec1f8e6063d53c52553b75b66f7a 100644 |
--- a/remoting/remoting.gyp |
+++ b/remoting/remoting.gyp |
@@ -237,8 +237,6 @@ |
'../net/net.gyp:net', |
'../third_party/expat/expat.gyp:expat', |
'../third_party/libjingle/libjingle.gyp:libjingle', |
- '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', |
- '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
'remoting_base', |
], |
'export_dependent_settings': [ |
@@ -248,6 +246,14 @@ |
'<@(remoting_protocol_sources)', |
'<@(remoting_signaling_sources)', |
], |
+ 'conditions': [ |
+ ['enable_webrtc==1', { |
+ 'dependencies': [ |
+ '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', |
+ '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
+ ], |
+ }], |
+ ], |
}, # end of target 'remoting_protocol' |
], # end of targets |
} |