Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: remoting/remoting.gyp

Issue 10031014: The Chrome Remote Desktop installation for Windows can be build by bots now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding remoting_host_installation target to the official build. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
11 # is brand-dependent and is defined further down. 11 # is brand-dependent and is defined further down.
12 # Must match host/plugin/constants.h 12 # Must match host/plugin/constants.h
13 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 13 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host',
14 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.', 14 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.',
15 15
16 # Borrow the scripts for generating version information for remoting 16 # Borrow the scripts for generating version information for remoting
17 # binaries from Chrome. 17 # binaries from Chrome.
18 'variables': { 18 'variables': {
19 'version_py_path': '../chrome/tools/build/version.py', 19 'version_py_path': '../chrome/tools/build/version.py',
20 'version_path': '../remoting/VERSION', 20 'version_path': '../remoting/VERSION',
21 }, 21 },
22 'version_py_path': '<(version_py_path)', 22 'version_py_path': '<(version_py_path)',
23 'version_path': '<(version_path)', 23 'version_path': '<(version_path)',
24 'version_full': 24 'version_full':
25 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU ILD@.@PATCH@")', 25 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU ILD@.@PATCH@")',
26 26
27 # Windows Installer XML (WiX) path can be set in ~/.gyp/include.gypi to
28 # indicate that WiX is available.
29 'wix_path%': '',
30
31 'conditions': [ 27 'conditions': [
32 ['OS=="mac"', { 28 ['OS=="mac"', {
33 'conditions': [ 29 'conditions': [
34 ['branding=="Chrome"', { 30 ['branding=="Chrome"', {
35 'mac_bundle_id': 'com.google.Chrome', 31 'mac_bundle_id': 'com.google.Chrome',
36 'mac_creator': 'rimZ', 32 'mac_creator': 'rimZ',
37 }, { # else: branding!="Chrome" 33 }, { # else: branding!="Chrome"
38 'mac_bundle_id': 'org.chromium.Chromium', 34 'mac_bundle_id': 'org.chromium.Chromium',
39 'mac_creator': 'Cr24', 35 'mac_creator': 'Cr24',
40 }], # branding 36 }], # branding
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 '<(template_input_path)', 385 '<(template_input_path)',
390 '<@(_outputs)', 386 '<@(_outputs)',
391 ], 387 ],
392 'message': 'Generating version information in <@(_outputs)' 388 'message': 'Generating version information in <@(_outputs)'
393 }, 389 },
394 ], 390 ],
395 }, # end of target 'remoting_version_resources' 391 }, # end of target 'remoting_version_resources'
396 ], # end of 'targets' 392 ], # end of 'targets'
397 }], # 'OS=="win"' 393 }], # 'OS=="win"'
398 394
399 # The host installation is generated only if WiX location is known and only 395 # The host installation is generated only if WiX is available and when
400 # as part of a non-component build. WiX does not provide a easy way to 396 # building a non-component build. WiX does not provide a easy way to
401 # include all DLLs imported by the installed binaries depend on, so 397 # include all DLLs imported by the installed binaries, so supporting
402 # supporting the component build becomes a burden. 398 # the component build becomes a burden.
403 ['"<(wix_path)" != "" and component != "shared_library"', { 399 ['OS == "win" and component != "shared_library" and wix_exists == "True" and platformsdk_exists == "True"', {
Sergey Ulanov 2012/04/11 18:15:37 Wrap to to fit 80-chars lines.
alexeypa (please no reviews) 2012/04/11 20:54:28 Done.
404 'targets': [ 400 'targets': [
405 { 401 {
406 'target_name': 'remoting_host_installation', 402 'target_name': 'remoting_host_installation',
407 'type': 'none', 403 'type': 'none',
408 'dependencies': [ 404 'dependencies': [
409 'remoting_host_controller', 405 'remoting_host_controller',
410 'remoting_service', 406 'remoting_service',
411 'remoting_me2me_host', 407 'remoting_me2me_host',
412 ], 408 ],
413 'sources': [ 409 'sources': [
414 'host/installer/chromoting.wxs', 410 'host/installer/chromoting.wxs',
415 ], 411 ],
416 'outputs': [ 412 'outputs': [
417 '<(PRODUCT_DIR)/chromoting.msi', 413 '<(PRODUCT_DIR)/chromoting.msi',
418 ], 414 ],
419 'variables': {
420 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/ x86/sas.dll'
421 },
422 'conditions': [ 415 'conditions': [
423 ['branding == "Chrome"', { 416 ['branding == "Chrome"', {
424 'variables': { 417 'variables': {
425 'branding': '-dOfficialBuild=1', 418 'branding': '-dOfficialBuild=1',
426 }, 419 },
427 }, { # else branding!="Chrome" 420 }, { # else branding!="Chrome"
428 'variables': { 421 'variables': {
429 'branding': '', 422 'branding': '',
430 }, 423 },
431 }], 424 }],
432 ], 425 ],
433 'rules': [ 426 'rules': [
434 { 427 {
435 'rule_name': 'candle', 428 'rule_name': 'candle',
436 'extension': 'wxs', 429 'extension': 'wxs',
437 'inputs': [ 430 'inputs': [
438 '<(PRODUCT_DIR)/remoting_host_controller.exe', 431 '<(PRODUCT_DIR)/remoting_host_controller.exe',
439 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 432 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
440 '<(PRODUCT_DIR)/remoting_service.exe', 433 '<(PRODUCT_DIR)/remoting_service.exe',
441 '<(sas_dll_path)' 434 '<(platformsdk_path)/redist/x86/sas.dll'
442 ], 435 ],
443 'outputs': [ 436 'outputs': [
444 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', 437 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj',
445 ], 438 ],
446 'process_outputs_as_sources': 1, 439 'process_outputs_as_sources': 1,
447 'msvs_cygwin_shell': 0, 440 'msvs_cygwin_shell': 0,
448 'msvs_quote_cmd': 0, 441 'msvs_quote_cmd': 0,
449 'action': [ 442 'action': [
450 '"<(wix_path)\\bin\\candle"', 443 '"<(wix_path)\\candle"',
451 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 444 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
452 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 445 '-ext "<(wix_path)\\WixUIExtension.dll"',
453 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 446 '-ext "<(wix_path)\\WixUtilExtension.dll"',
454 '-dVersion=<(version_full) ' 447 '-dVersion=<(version_full) '
455 '"-dFileSource=<(PRODUCT_DIR)." ' 448 '"-dFileSource=<(PRODUCT_DIR)." '
456 '"-dSasDllPath=<(sas_dll_path)" ' 449 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" '
457 '<(branding) ' 450 '<(branding) '
458 '-out <@(_outputs)', 451 '-out <@(_outputs)',
459 '"<(RULE_INPUT_PATH)"', 452 '"<(RULE_INPUT_PATH)"',
460 ], 453 ],
461 'message': 'Generating <@(_outputs)', 454 'message': 'Generating <@(_outputs)',
462 }, 455 },
463 { 456 {
464 'rule_name': 'light', 457 'rule_name': 'light',
465 'extension': 'wixobj', 458 'extension': 'wixobj',
466 'inputs': [ 459 'inputs': [
467 '<(PRODUCT_DIR)/remoting_host_controller.exe', 460 '<(PRODUCT_DIR)/remoting_host_controller.exe',
468 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 461 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
469 '<(PRODUCT_DIR)/remoting_service.exe', 462 '<(PRODUCT_DIR)/remoting_service.exe',
470 '<(sas_dll_path)' 463 '<(platformsdk_path)/redist/x86/sas.dll'
471 ], 464 ],
472 'outputs': [ 465 'outputs': [
473 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 466 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
474 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', 467 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb',
475 ], 468 ],
476 'msvs_cygwin_shell': 0, 469 'msvs_cygwin_shell': 0,
477 'msvs_quote_cmd': 0, 470 'msvs_quote_cmd': 0,
478 'action': [ 471 'action': [
479 '"<(wix_path)\\bin\\light"', 472 '"<(wix_path)\\light"',
480 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 473 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
481 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 474 '-ext "<(wix_path)\\WixUIExtension.dll"',
482 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 475 '-ext "<(wix_path)\\WixUtilExtension.dll"',
483 '-cultures:en-us', 476 '-cultures:en-us',
484 '-dVersion=<(version_full) ' 477 '-dVersion=<(version_full) '
485 '"-dFileSource=<(PRODUCT_DIR)." ' 478 '"-dFileSource=<(PRODUCT_DIR)." '
486 '"-dSasDllPath=<(sas_dll_path)" ' 479 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" '
487 '<(branding) ' 480 '<(branding) '
488 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', 481 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"',
489 '"<(RULE_INPUT_PATH)"', 482 '"<(RULE_INPUT_PATH)"',
490 ], 483 ],
491 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 484 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
492 }, 485 },
493 ], 486 ],
494 }, # end of target 'remoting_host_installation' 487 }, # end of target 'remoting_host_installation'
495 ], # end of 'targets' 488 ], # end of 'targets'
496 }], # '<(wix_path) != ""' 489 }], # '<(wix_path) != ""'
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 '../base/allocator/allocator.gyp:allocator', 1375 '../base/allocator/allocator.gyp:allocator',
1383 ], 1376 ],
1384 }, 1377 },
1385 ], 1378 ],
1386 ], 1379 ],
1387 }], 1380 }],
1388 ], # end of 'conditions' 1381 ], # end of 'conditions'
1389 }, # end of target 'remoting_unittests' 1382 }, # end of target 'remoting_unittests'
1390 ], # end of targets 1383 ], # end of targets
1391 } 1384 }
OLDNEW
« chrome/tools/build/win/SYMBOLS ('K') | « chrome/tools/build/win/SYMBOLS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698