Change the conditions for the peerconnectin_client project.

Now the project is completely within a "win" condition which
should fix the mac build problem.
Review URL: http://webrtc-codereview.appspot.com/20021

git-svn-id: http://webrtc.googlecode.com/svn/trunk@20 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tommi@google.com 2011-05-31 15:49:22 +00:00
parent 3ec779893b
commit aefcdf49ba

View File

@ -19,11 +19,25 @@
'video_engine.gyp:vie_auto_test',
],
},
{
'target_name': 'peerconnection_client',
'target_name': 'peerconnection_server',
'type': 'executable',
'sources': [
'peerconnection/samples/server/data_socket.cc',
'peerconnection/samples/server/data_socket.h',
'peerconnection/samples/server/main.cc',
'peerconnection/samples/server/peer_channel.cc',
'peerconnection/samples/server/peer_channel.h',
'peerconnection/samples/server/utils.cc',
'peerconnection/samples/server/utils.h',
],
},
],
'conditions': [
['OS=="win"', {
'targets': [
{
'target_name': 'peerconnection_client',
'type': 'executable',
'sources': [
'peerconnection/samples/client/conductor.cc',
@ -43,10 +57,6 @@
'SubSystem': '2', # Windows
},
},
}, {
'type': 'none',
}],
], # conditions
'dependencies': [
'../third_party/libjingle/libjingle.gyp:libjingle_app',
],
@ -54,19 +64,7 @@
'../third_party/libjingle/source',
],
},
{
'target_name': 'peerconnection_server',
'type': 'executable',
'sources': [
'peerconnection/samples/server/data_socket.cc',
'peerconnection/samples/server/data_socket.h',
'peerconnection/samples/server/main.cc',
'peerconnection/samples/server/peer_channel.cc',
'peerconnection/samples/server/peer_channel.h',
'peerconnection/samples/server/utils.cc',
'peerconnection/samples/server/utils.h',
],
},
],
], # targets
}, ], # OS="win"
], # conditions
}