OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # Use consistent strings across all platforms. Note that the plugin name | 10 # Use consistent strings across all platforms. Note that the plugin name |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 ], | 279 ], |
280 }, # end of target 'remoting_host_uninstaller' | 280 }, # end of target 'remoting_host_uninstaller' |
281 | 281 |
282 # This packages up the files needed for the remoting host installer so | 282 # This packages up the files needed for the remoting host installer so |
283 # they can be sent off to be signed. | 283 # they can be sent off to be signed. |
284 # We don't build an installer here because we don't have signed binaries
. | 284 # We don't build an installer here because we don't have signed binaries
. |
285 { | 285 { |
286 'target_name': 'remoting_me2me_host_archive', | 286 'target_name': 'remoting_me2me_host_archive', |
287 'type': 'none', | 287 'type': 'none', |
288 'dependencies': [ | 288 'dependencies': [ |
| 289 'remoting_host_prefpane', |
| 290 'remoting_host_uninstaller', |
289 'remoting_me2me_host', | 291 'remoting_me2me_host', |
290 'remoting_host_uninstaller', | |
291 ], | 292 ], |
292 'sources': [ | 293 'sources': [ |
293 'host/installer/build-installer-archive.py', | 294 'host/installer/build-installer-archive.py', |
294 '<@(remoting_host_installer_mac_files)', | 295 '<@(remoting_host_installer_mac_files)', |
295 ], | 296 ], |
296 'conditions': [ | 297 'conditions': [ |
297 ['branding == "Chrome"', { | 298 ['branding == "Chrome"', { |
298 'variables': { | 299 'variables': { |
299 'copyright_by': 'Google Inc.', | 300 'copyright_by': 'Google Inc.', |
300 'host_name': 'Chrome Remote Desktop Host', | 301 'host_name': 'Chrome Remote Desktop Host', |
(...skipping 10 matching lines...) Expand all Loading... |
311 'bundle_prefix': 'org.chromium.pkg', | 312 'bundle_prefix': 'org.chromium.pkg', |
312 }, | 313 }, |
313 }], | 314 }], |
314 ], # conditions | 315 ], # conditions |
315 'actions': [ | 316 'actions': [ |
316 { | 317 { |
317 'action_name': 'Zip installer files for signing', | 318 'action_name': 'Zip installer files for signing', |
318 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', | 319 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', |
319 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 320 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
320 'generated_files': [ | 321 'generated_files': [ |
| 322 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
321 '<(PRODUCT_DIR)/remoting_me2me_host', | 323 '<(PRODUCT_DIR)/remoting_me2me_host', |
322 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 324 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
323 ], | 325 ], |
324 'generated_files_dst': [ | 326 'generated_files_dst': [ |
| 327 'PreferencePanes/org.chromium.chromoting.prefPane', |
325 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', | 328 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', |
326 'Applications/<(host_uninstaller_name).app', | 329 'Applications/<(host_uninstaller_name).app', |
327 ], | 330 ], |
328 'source_files': [ | 331 'source_files': [ |
329 '<@(remoting_host_installer_mac_files)', | 332 '<@(remoting_host_installer_mac_files)', |
330 ], | 333 ], |
331 'defs': [ | 334 'defs': [ |
332 'VERSION=<(version_full)', | 335 'VERSION=<(version_full)', |
333 'VERSION_SHORT=<(version_short)', | 336 'VERSION_SHORT=<(version_short)', |
334 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) -
t "@MAJOR@")', | 337 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) -
t "@MAJOR@")', |
(...skipping 30 matching lines...) Expand all Loading... |
365 '--generated-files', | 368 '--generated-files', |
366 '<@(_generated_files)', | 369 '<@(_generated_files)', |
367 '--generated-files-dst', | 370 '--generated-files-dst', |
368 '<@(_generated_files_dst)', | 371 '<@(_generated_files_dst)', |
369 '--defs', | 372 '--defs', |
370 '<@(_defs)', | 373 '<@(_defs)', |
371 ], | 374 ], |
372 }, | 375 }, |
373 ], # actions | 376 ], # actions |
374 }, # end of target 'remoting_me2me_host_archive' | 377 }, # end of target 'remoting_me2me_host_archive' |
| 378 |
| 379 { |
| 380 'target_name': 'remoting_host_prefpane', |
| 381 'type': 'loadable_module', |
| 382 'mac_bundle': 1, |
| 383 'product_extension': 'prefPane', |
| 384 'dependencies': [ |
| 385 'remoting_base', |
| 386 'remoting_host', |
| 387 ], |
| 388 'sources': [ |
| 389 'host/me2me_preference_pane.h', |
| 390 'host/me2me_preference_pane.mm', |
| 391 ], |
| 392 'link_settings': { |
| 393 'libraries': [ |
| 394 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
| 395 ], |
| 396 }, |
| 397 'xcode_settings': { |
| 398 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist', |
| 399 'INFOPLIST_PREPROCESS': 'YES', |
| 400 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)"', |
| 401 }, |
| 402 'mac_bundle_resources': [ |
| 403 'host/me2me_preference_pane.xib', |
| 404 'host/me2me_preference_pane-Info.plist', |
| 405 'resources/chromoting128.png', |
| 406 ], |
| 407 'mac_bundle_resources!': [ |
| 408 'host/me2me_preference_pane-Info.plist', |
| 409 ], |
| 410 'conditions': [ |
| 411 ['mac_breakpad==1', { |
| 412 'variables': { |
| 413 # A real .dSYM is needed for dump_syms to operate on. |
| 414 'mac_real_dsym': 1, |
| 415 }, |
| 416 }], |
| 417 ['branding == "Chrome"', { |
| 418 'variables': { |
| 419 'copyright_by': 'Google Inc.', |
| 420 'bundle_id': 'com.google.chromeremotedesktop.preferences', |
| 421 'bundle_name': 'Chrome Remote Desktop Host Preferences', |
| 422 }, |
| 423 }, { # else branding!="Chrome" |
| 424 'variables': { |
| 425 'copyright_by': 'The Chromium Authors.', |
| 426 'bundle_id': 'org.chromium.remoting.preferences', |
| 427 'bundle_name': 'Chromoting Host Preferences', |
| 428 }, |
| 429 }], |
| 430 ], # conditions |
| 431 }, # end of target 'remoting_host_prefpane' |
375 ], # end of 'targets' | 432 ], # end of 'targets' |
376 }], # 'OS=="mac"' | 433 }], # 'OS=="mac"' |
377 | 434 |
378 ['OS=="win"', { | 435 ['OS=="win"', { |
379 'targets': [ | 436 'targets': [ |
380 { | 437 { |
381 'target_name': 'remoting_elevated_controller', | 438 'target_name': 'remoting_elevated_controller', |
382 'type': 'static_library', | 439 'type': 'static_library', |
383 'sources': [ | 440 'sources': [ |
384 'host/elevated_controller.idl', | 441 'host/elevated_controller.idl', |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 '../base/allocator/allocator.gyp:allocator', | 1755 '../base/allocator/allocator.gyp:allocator', |
1699 ], | 1756 ], |
1700 }, | 1757 }, |
1701 ], | 1758 ], |
1702 ], | 1759 ], |
1703 }], | 1760 }], |
1704 ], # end of 'conditions' | 1761 ], # end of 'conditions' |
1705 }, # end of target 'remoting_unittests' | 1762 }, # end of target 'remoting_unittests' |
1706 ], # end of targets | 1763 ], # end of targets |
1707 } | 1764 } |
OLD | NEW |