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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 'product_name': 'chromoting_plugin', | 63 'product_name': 'chromoting_plugin', |
64 'dependencies': [ | 64 'dependencies': [ |
65 'chromoting_client_plugin_lib', | 65 'chromoting_client_plugin_lib', |
66 ], | 66 ], |
67 'sources': [ | 67 'sources': [ |
68 # Required here (rather than in lib) so that functions are | 68 # Required here (rather than in lib) so that functions are |
69 # exported properly. | 69 # exported properly. |
70 'client/pepper/pepper_main.cc', | 70 'client/pepper/pepper_main.cc', |
71 ], | 71 ], |
72 'conditions': [ | 72 'conditions': [ |
73 | |
74 ['OS=="linux" and target_arch=="x64" and linux_fpic!=1', { | 73 ['OS=="linux" and target_arch=="x64" and linux_fpic!=1', { |
75 # Shared libraries need -fPIC on x86-64 | 74 # Shared libraries need -fPIC on x86-64 |
76 'cflags': [ | 75 'cflags': [ |
77 '-fPIC' | 76 '-fPIC' |
78 ], | 77 ], |
79 }], | 78 }], |
80 ], # end of 'conditions' | 79 ], # end of 'conditions' |
81 }, # end of target 'chromoting_client_plugin' | 80 }, # end of target 'chromoting_client_plugin' |
82 | 81 |
83 # Simple webserver for testing chromoting client plugin. | 82 # Simple webserver for testing chromoting client plugin. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 }, # end of target 'chromoting_host' | 186 }, # end of target 'chromoting_host' |
188 | 187 |
189 { | 188 { |
190 'target_name': 'chromoting_client', | 189 'target_name': 'chromoting_client', |
191 'type': '<(library)', | 190 'type': '<(library)', |
192 'dependencies': [ | 191 'dependencies': [ |
193 'chromoting_base', | 192 'chromoting_base', |
194 'chromoting_jingle_glue', | 193 'chromoting_jingle_glue', |
195 ], | 194 ], |
196 'sources': [ | 195 'sources': [ |
| 196 'client/client_util.cc', |
| 197 'client/client_util.h', |
| 198 'client/chromoting_view.h', |
197 'client/decoder.h', | 199 'client/decoder.h', |
198 'client/decoder_verbatim.cc', | 200 'client/decoder_verbatim.cc', |
199 'client/decoder_verbatim.h', | 201 'client/decoder_verbatim.h', |
| 202 'client/host_connection.cc', |
| 203 'client/host_connection.h', |
200 ], | 204 ], |
201 }, # end of target 'chromoting_client' | 205 }, # end of target 'chromoting_client' |
202 | 206 |
203 { | 207 { |
204 'target_name': 'chromoting_simple_host', | 208 'target_name': 'chromoting_simple_host', |
205 'type': 'executable', | 209 'type': 'executable', |
206 'dependencies': [ | 210 'dependencies': [ |
207 'chromoting_base', | 211 'chromoting_base', |
208 'chromoting_host', | 212 'chromoting_host', |
209 'chromoting_jingle_glue', | 213 'chromoting_jingle_glue', |
(...skipping 11 matching lines...) Expand all Loading... |
221 | 225 |
222 { | 226 { |
223 'target_name': 'chromoting_simple_client', | 227 'target_name': 'chromoting_simple_client', |
224 'type': 'executable', | 228 'type': 'executable', |
225 'dependencies': [ | 229 'dependencies': [ |
226 'chromoting_base', | 230 'chromoting_base', |
227 'chromoting_client', | 231 'chromoting_client', |
228 'chromoting_jingle_glue', | 232 'chromoting_jingle_glue', |
229 ], | 233 ], |
230 'sources': [ | 234 'sources': [ |
231 'client/host_connection.cc', | |
232 'client/host_connection.h', | |
233 'client/simple_client.cc', | 235 'client/simple_client.cc', |
234 ], | 236 ], |
235 }, # end of target 'chromoting_simple_client' | 237 }, # end of target 'chromoting_simple_client' |
236 | 238 |
237 { | 239 { |
| 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 { |
238 'target_name': 'chromoting_jingle_glue', | 263 'target_name': 'chromoting_jingle_glue', |
239 'type': '<(library)', | 264 'type': '<(library)', |
240 'dependencies': [ | 265 'dependencies': [ |
241 '../chrome/chrome.gyp:notifier', | 266 '../chrome/chrome.gyp:notifier', |
242 '../third_party/libjingle/libjingle.gyp:libjingle', | 267 '../third_party/libjingle/libjingle.gyp:libjingle', |
243 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 268 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
244 ], | 269 ], |
245 'export_dependent_settings': [ | 270 'export_dependent_settings': [ |
246 '../third_party/libjingle/libjingle.gyp:libjingle', | 271 '../third_party/libjingle/libjingle.gyp:libjingle', |
247 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 272 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 }, # end of target 'chromoting_unittests' | 373 }, # end of target 'chromoting_unittests' |
349 | 374 |
350 ], # end of targets | 375 ], # end of targets |
351 } | 376 } |
352 | 377 |
353 # Local Variables: | 378 # Local Variables: |
354 # tab-width:2 | 379 # tab-width:2 |
355 # indent-tabs-mode:nil | 380 # indent-tabs-mode:nil |
356 # End: | 381 # End: |
357 # vim: set expandtab tabstop=2 shiftwidth=2: | 382 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |