Commit 2d79de25 authored by hclam@chromium.org's avatar hclam@chromium.org

Fix chromoting build for windows

Build chromoting_x11_client only on posix systems.

Review URL: http://codereview.chromium.org/2766004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49347 0039d316-1c4b-4281-b951-d872f2087c98
parent 0756b454
...@@ -91,6 +91,33 @@ ...@@ -91,6 +91,33 @@
], # end of Client targets ], # end of Client targets
}], # end of OS conditions for Client targets }], # end of OS conditions for Client targets
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', {
'targets': [
{
'target_name': 'chromoting_x11_client',
'type': 'executable',
'dependencies': [
'chromoting_base',
'chromoting_client',
'chromoting_jingle_glue',
],
'link_settings': {
'libraries': [
'-ldl',
'-lX11',
'-lXrender',
'-lXext',
],
},
'sources': [
'client/x11_client.cc',
'client/x11_view.cc',
'client/x11_view.h',
],
}, # end of target 'chromoting_x11_client'
],
}], # end of OS conditions for x11 client
], # end of 'conditions' ], # end of 'conditions'
'targets': [ 'targets': [
...@@ -236,29 +263,6 @@ ...@@ -236,29 +263,6 @@
], ],
}, # end of target 'chromoting_simple_client' }, # end of target 'chromoting_simple_client'
{
'target_name': 'chromoting_x11_client',
'type': 'executable',
'dependencies': [
'chromoting_base',
'chromoting_client',
'chromoting_jingle_glue',
],
'link_settings': {
'libraries': [
'-ldl',
'-lX11',
'-lXrender',
'-lXext',
],
},
'sources': [
'client/x11_client.cc',
'client/x11_view.cc',
'client/x11_view.h',
],
}, # end of target 'chromoting_x11_client'
{ {
'target_name': 'chromoting_jingle_glue', 'target_name': 'chromoting_jingle_glue',
'type': '<(library)', 'type': '<(library)',
...@@ -374,7 +378,6 @@ ...@@ -374,7 +378,6 @@
}], }],
], # end of 'conditions' ], # end of 'conditions'
}, # end of target 'chromoting_unittests' }, # end of target 'chromoting_unittests'
], # end of targets ], # end of targets
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment