summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-07 02:32:23 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-07 02:32:23 +0000
commit7d19d56a979b3f6712c95a18a09b467bd5ac8c69 (patch)
tree1c44531b3e35545e2c67c6053b4fa7568d96df6f /remoting
parent9f46ff321631cd98c3702cff913b1146ed543aba (diff)
downloadchromium_src-7d19d56a979b3f6712c95a18a09b467bd5ac8c69.zip
chromium_src-7d19d56a979b3f6712c95a18a09b467bd5ac8c69.tar.gz
chromium_src-7d19d56a979b3f6712c95a18a09b467bd5ac8c69.tar.bz2
The Chrome Remote Desktop installation for Windows can be build by bots now.
Review URL: https://chromiumcodereview.appspot.com/9980015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/remoting.gyp34
1 files changed, 17 insertions, 17 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index ef927de..b3e3dc0 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -24,9 +24,8 @@
'version_full':
'<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")',
- # Windows Installer XML (WiX) path can be set in ~/.gyp/include.gypi to
- # indicate that WiX is available.
- 'wix_path%': '',
+ 'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/platformsdk_win7)',
+ 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/wix)',
'conditions': [
['OS=="mac"', {
@@ -396,11 +395,11 @@
], # end of 'targets'
}], # 'OS=="win"'
- # The host installation is generated only if WiX location is known and only
- # as part of a non-component build. WiX does not provide a easy way to
- # include all DLLs imported by the installed binaries depend on, so
- # supporting the component build becomes a burden.
- ['"<(wix_path)" != "" and component != "shared_library"', {
+ # The host installation is generated only if WiX is available and when
+ # building a non-component build. WiX does not provide a easy way to
+ # include all DLLs imported by the installed binaries, so supporting
+ # the component build becomes a burden.
+ ['OS == "win" and component != "shared_library" and wix_exists == "True" and platformsdk_exists == "True"', {
'targets': [
{
'target_name': 'remoting_host_installation',
@@ -417,7 +416,8 @@
'<(PRODUCT_DIR)/chromoting.msi',
],
'variables': {
- 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86/sas.dll'
+ 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86/sas.dll',
+ 'wix_path': '<(DEPTH)\\third_party\\wix',
},
'conditions': [
['branding == "Chrome"', {
@@ -447,10 +447,10 @@
'msvs_cygwin_shell': 0,
'msvs_quote_cmd': 0,
'action': [
- '"<(wix_path)\\bin\\candle"',
- '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"',
- '-ext "<(wix_path)\\bin\\WixUIExtension.dll"',
- '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"',
+ '"<(wix_path)\\candle"',
+ '-ext "<(wix_path)\\WixFirewallExtension.dll"',
+ '-ext "<(wix_path)\\WixUIExtension.dll"',
+ '-ext "<(wix_path)\\WixUtilExtension.dll"',
'-dVersion=<(version_full) '
'"-dFileSource=<(PRODUCT_DIR)." '
'"-dSasDllPath=<(sas_dll_path)" '
@@ -476,10 +476,10 @@
'msvs_cygwin_shell': 0,
'msvs_quote_cmd': 0,
'action': [
- '"<(wix_path)\\bin\\light"',
- '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"',
- '-ext "<(wix_path)\\bin\\WixUIExtension.dll"',
- '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"',
+ '"<(wix_path)\\light"',
+ '-ext "<(wix_path)\\WixFirewallExtension.dll"',
+ '-ext "<(wix_path)\\WixUIExtension.dll"',
+ '-ext "<(wix_path)\\WixUtilExtension.dll"',
'-cultures:en-us',
'-dVersion=<(version_full) '
'"-dFileSource=<(PRODUCT_DIR)." '