| OLD | NEW |
| 1 | 1 |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 { | 6 { |
| 7 'variables': { | 7 'variables': { |
| 8 # TODO(dmaclach): can we pick this up some other way? Right now it's | 8 # TODO(dmaclach): can we pick this up some other way? Right now it's |
| 9 # duplicated from chrome.gyp | 9 # duplicated from chrome.gyp |
| 10 'chromium_code': 1, | 10 'chromium_code': 1, |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 'remoting_host_controller', | 475 'remoting_host_controller', |
| 476 'remoting_service', | 476 'remoting_service', |
| 477 'remoting_me2me_host', | 477 'remoting_me2me_host', |
| 478 ], | 478 ], |
| 479 'sources': [ | 479 'sources': [ |
| 480 'host/installer/chromoting.wxs', | 480 'host/installer/chromoting.wxs', |
| 481 ], | 481 ], |
| 482 'outputs': [ | 482 'outputs': [ |
| 483 '<(PRODUCT_DIR)/chromoting.msi', | 483 '<(PRODUCT_DIR)/chromoting.msi', |
| 484 ], | 484 ], |
| 485 'wix_defines' : [ |
| 486 '"-dBranding=<(branding)"', |
| 487 ], |
| 485 'conditions': [ | 488 'conditions': [ |
| 486 ['buildtype == "Official"', { | 489 ['buildtype == "Official"', { |
| 487 'variables': { | 490 'wix_defines': [ |
| 488 'official_build': '-dOfficialBuild=1', | 491 '-dOfficialBuild=1', |
| 489 }, | 492 ], |
| 490 }, { # else branding!="Chrome" | |
| 491 'variables': { | |
| 492 'official_build': '', | |
| 493 }, | |
| 494 }], | 493 }], |
| 495 ], | 494 ], |
| 496 'rules': [ | 495 'rules': [ |
| 497 { | 496 { |
| 498 'rule_name': 'candle', | 497 'rule_name': 'candle', |
| 499 'extension': 'wxs', | 498 'extension': 'wxs', |
| 500 'inputs': [ | 499 'inputs': [ |
| 501 '<(PRODUCT_DIR)/remoting_host_controller.exe', | 500 '<(PRODUCT_DIR)/remoting_host_controller.exe', |
| 502 '<(PRODUCT_DIR)/remoting_me2me_host.exe', | 501 '<(PRODUCT_DIR)/remoting_me2me_host.exe', |
| 503 '<(PRODUCT_DIR)/remoting_service.exe', | 502 '<(PRODUCT_DIR)/remoting_service.exe', |
| 504 '<(platformsdk_path)/redist/x86/sas.dll' | 503 '<(platformsdk_path)/redist/x86/sas.dll', |
| 505 ], | 504 ], |
| 506 'outputs': [ | 505 'outputs': [ |
| 507 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', | 506 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', |
| 508 ], | 507 ], |
| 509 'process_outputs_as_sources': 1, | 508 'process_outputs_as_sources': 1, |
| 510 'msvs_cygwin_shell': 0, | 509 'msvs_cygwin_shell': 0, |
| 511 'msvs_quote_cmd': 0, | 510 'msvs_quote_cmd': 0, |
| 512 'action': [ | 511 'action': [ |
| 513 '"<(wix_path)\\candle"', | 512 '"<(wix_path)\\candle"', |
| 514 '-ext "<(wix_path)\\WixFirewallExtension.dll"', | 513 '-ext "<(wix_path)\\WixFirewallExtension.dll"', |
| 515 '-ext "<(wix_path)\\WixUIExtension.dll"', | 514 '-ext "<(wix_path)\\WixUIExtension.dll"', |
| 516 '-ext "<(wix_path)\\WixUtilExtension.dll"', | 515 '-ext "<(wix_path)\\WixUtilExtension.dll"', |
| 517 '-dVersion=<(version_full) ' | 516 '-dVersion=<(version_full)', |
| 518 '"-dFileSource=<(PRODUCT_DIR)." ' | 517 '"-dFileSource=<(PRODUCT_DIR)."', |
| 519 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" ' | 518 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll"', |
| 520 '<(official_build) ' | 519 '<@(_wix_defines)', |
| 521 '"-dBranding=<(branding)" ' | |
| 522 '-out <@(_outputs)', | 520 '-out <@(_outputs)', |
| 523 '"<(RULE_INPUT_PATH)"', | 521 '"<(RULE_INPUT_PATH)"', |
| 524 ], | 522 ], |
| 525 'message': 'Generating <@(_outputs)', | 523 'message': 'Generating <@(_outputs)', |
| 526 }, | 524 }, |
| 527 { | 525 { |
| 528 'rule_name': 'light', | 526 'rule_name': 'light', |
| 529 'extension': 'wixobj', | 527 'extension': 'wixobj', |
| 530 'inputs': [ | 528 'inputs': [ |
| 531 '<(PRODUCT_DIR)/remoting_host_controller.exe', | 529 '<(PRODUCT_DIR)/remoting_host_controller.exe', |
| 532 '<(PRODUCT_DIR)/remoting_me2me_host.exe', | 530 '<(PRODUCT_DIR)/remoting_me2me_host.exe', |
| 533 '<(PRODUCT_DIR)/remoting_service.exe', | 531 '<(PRODUCT_DIR)/remoting_service.exe', |
| 534 '<(platformsdk_path)/redist/x86/sas.dll' | 532 '<(platformsdk_path)/redist/x86/sas.dll', |
| 535 ], | 533 ], |
| 536 'outputs': [ | 534 'outputs': [ |
| 537 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 535 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
| 538 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', | 536 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', |
| 539 ], | 537 ], |
| 540 'msvs_cygwin_shell': 0, | 538 'msvs_cygwin_shell': 0, |
| 541 'msvs_quote_cmd': 0, | 539 'msvs_quote_cmd': 0, |
| 542 'action': [ | 540 'action': [ |
| 543 '"<(wix_path)\\light"', | 541 '"<(wix_path)\\light"', |
| 544 '-ext "<(wix_path)\\WixFirewallExtension.dll"', | 542 '-ext "<(wix_path)\\WixFirewallExtension.dll"', |
| 545 '-ext "<(wix_path)\\WixUIExtension.dll"', | 543 '-ext "<(wix_path)\\WixUIExtension.dll"', |
| 546 '-ext "<(wix_path)\\WixUtilExtension.dll"', | 544 '-ext "<(wix_path)\\WixUtilExtension.dll"', |
| 547 '-cultures:en-us', | 545 '-cultures:en-us', |
| 548 '-dVersion=<(version_full) ' | 546 '-dVersion=<(version_full)', |
| 549 '"-dFileSource=<(PRODUCT_DIR)." ' | 547 '"-dFileSource=<(PRODUCT_DIR)."', |
| 550 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" ' | 548 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll"', |
| 551 '<(official_build) ' | 549 '<@(_wix_defines)', |
| 552 '"-dBranding=<(branding)" ' | |
| 553 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', | 550 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', |
| 554 '"<(RULE_INPUT_PATH)"', | 551 '"<(RULE_INPUT_PATH)"', |
| 555 ], | 552 ], |
| 556 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 553 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
| 557 }, | 554 }, |
| 558 ], | 555 ], |
| 559 }, # end of target 'remoting_host_installation' | 556 }, # end of target 'remoting_host_installation' |
| 560 ], # end of 'targets' | 557 ], # end of 'targets' |
| 561 }], # '<(wix_path) != ""' | 558 }], # '<(wix_path) != ""' |
| 562 | 559 |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 '../base/allocator/allocator.gyp:allocator', | 1626 '../base/allocator/allocator.gyp:allocator', |
| 1630 ], | 1627 ], |
| 1631 }, | 1628 }, |
| 1632 ], | 1629 ], |
| 1633 ], | 1630 ], |
| 1634 }], | 1631 }], |
| 1635 ], # end of 'conditions' | 1632 ], # end of 'conditions' |
| 1636 }, # end of target 'remoting_unittests' | 1633 }, # end of target 'remoting_unittests' |
| 1637 ], # end of targets | 1634 ], # end of targets |
| 1638 } | 1635 } |
| OLD | NEW |