OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'defines': [ | 7 'defines': [ |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', # Root of Chrome checkout | 10 '..', # Root of Chrome checkout |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 'target_name': 'chromoting_client_test_webserver', | 84 'target_name': 'chromoting_client_test_webserver', |
85 'type': 'executable', | 85 'type': 'executable', |
86 'sources': [ | 86 'sources': [ |
87 'tools/client_webserver/main.c', | 87 'tools/client_webserver/main.c', |
88 ], | 88 ], |
89 }, # end of target 'chromoting_client_test_webserver' | 89 }, # end of target 'chromoting_client_test_webserver' |
90 | 90 |
91 ], # end of Client targets | 91 ], # end of Client targets |
92 }], # end of OS conditions for Client targets | 92 }], # end of OS conditions for Client targets |
93 | 93 |
| 94 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', { |
| 95 'targets': [ |
| 96 { |
| 97 'target_name': 'chromoting_x11_client', |
| 98 'type': 'executable', |
| 99 'dependencies': [ |
| 100 'chromoting_base', |
| 101 'chromoting_client', |
| 102 'chromoting_jingle_glue', |
| 103 ], |
| 104 'link_settings': { |
| 105 'libraries': [ |
| 106 '-ldl', |
| 107 '-lX11', |
| 108 '-lXrender', |
| 109 '-lXext', |
| 110 ], |
| 111 }, |
| 112 'sources': [ |
| 113 'client/x11_client.cc', |
| 114 'client/x11_view.cc', |
| 115 'client/x11_view.h', |
| 116 ], |
| 117 }, # end of target 'chromoting_x11_client' |
| 118 ], |
| 119 }], # end of OS conditions for x11 client |
| 120 |
94 ], # end of 'conditions' | 121 ], # end of 'conditions' |
95 | 122 |
96 'targets': [ | 123 'targets': [ |
97 { | 124 { |
98 'target_name': 'chromoting_base', | 125 'target_name': 'chromoting_base', |
99 'type': '<(library)', | 126 'type': '<(library)', |
100 'dependencies': [ | 127 'dependencies': [ |
101 '../gfx/gfx.gyp:*', | 128 '../gfx/gfx.gyp:*', |
102 '../media/media.gyp:media', | 129 '../media/media.gyp:media', |
103 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', | 130 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 'chromoting_base', | 257 'chromoting_base', |
231 'chromoting_client', | 258 'chromoting_client', |
232 'chromoting_jingle_glue', | 259 'chromoting_jingle_glue', |
233 ], | 260 ], |
234 'sources': [ | 261 'sources': [ |
235 'client/simple_client.cc', | 262 'client/simple_client.cc', |
236 ], | 263 ], |
237 }, # end of target 'chromoting_simple_client' | 264 }, # end of target 'chromoting_simple_client' |
238 | 265 |
239 { | 266 { |
240 'target_name': 'chromoting_x11_client', | |
241 'type': 'executable', | |
242 'dependencies': [ | |
243 'chromoting_base', | |
244 'chromoting_client', | |
245 'chromoting_jingle_glue', | |
246 ], | |
247 'link_settings': { | |
248 'libraries': [ | |
249 '-ldl', | |
250 '-lX11', | |
251 '-lXrender', | |
252 '-lXext', | |
253 ], | |
254 }, | |
255 'sources': [ | |
256 'client/x11_client.cc', | |
257 'client/x11_view.cc', | |
258 'client/x11_view.h', | |
259 ], | |
260 }, # end of target 'chromoting_x11_client' | |
261 | |
262 { | |
263 'target_name': 'chromoting_jingle_glue', | 267 'target_name': 'chromoting_jingle_glue', |
264 'type': '<(library)', | 268 'type': '<(library)', |
265 'dependencies': [ | 269 'dependencies': [ |
266 # TODO(sergeyu): move all code that is shared between notifier and | 270 # TODO(sergeyu): move all code that is shared between notifier and |
267 # jingle_glue to a separate library and use it here. | 271 # jingle_glue to a separate library and use it here. |
268 '../chrome/chrome.gyp:notifier', | 272 '../chrome/chrome.gyp:notifier', |
269 '../third_party/libjingle/libjingle.gyp:libjingle', | 273 '../third_party/libjingle/libjingle.gyp:libjingle', |
270 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 274 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
271 ], | 275 ], |
272 'export_dependent_settings': [ | 276 'export_dependent_settings': [ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 ], | 371 ], |
368 'sources': [ | 372 'sources': [ |
369 'client/plugin/chromoting_plugin_unittest.cc', | 373 'client/plugin/chromoting_plugin_unittest.cc', |
370 'client/pepper/pepper_main.cc', | 374 'client/pepper/pepper_main.cc', |
371 'client/pepper/fake_browser.cc', | 375 'client/pepper/fake_browser.cc', |
372 'client/pepper/fake_browser.h', | 376 'client/pepper/fake_browser.h', |
373 ], | 377 ], |
374 }], | 378 }], |
375 ], # end of 'conditions' | 379 ], # end of 'conditions' |
376 }, # end of target 'chromoting_unittests' | 380 }, # end of target 'chromoting_unittests' |
377 | |
378 ], # end of targets | 381 ], # end of targets |
379 } | 382 } |
380 | 383 |
381 # Local Variables: | 384 # Local Variables: |
382 # tab-width:2 | 385 # tab-width:2 |
383 # indent-tabs-mode:nil | 386 # indent-tabs-mode:nil |
384 # End: | 387 # End: |
385 # vim: set expandtab tabstop=2 shiftwidth=2: | 388 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |