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

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: Fixed a typo. 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
« no previous file with comments | « chrome/tools/build/win/SYMBOLS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" \
400 and platformsdk_exists == "True"', {
404 'targets': [ 401 'targets': [
405 { 402 {
406 'target_name': 'remoting_host_installation', 403 'target_name': 'remoting_host_installation',
407 'type': 'none', 404 'type': 'none',
408 'dependencies': [ 405 'dependencies': [
409 'remoting_host_controller', 406 'remoting_host_controller',
410 'remoting_service', 407 'remoting_service',
411 'remoting_me2me_host', 408 'remoting_me2me_host',
412 ], 409 ],
413 'sources': [ 410 'sources': [
414 'host/installer/chromoting.wxs', 411 'host/installer/chromoting.wxs',
415 ], 412 ],
416 'outputs': [ 413 'outputs': [
417 '<(PRODUCT_DIR)/chromoting.msi', 414 '<(PRODUCT_DIR)/chromoting.msi',
418 ], 415 ],
419 'variables': {
420 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/ x86/sas.dll'
421 },
422 'conditions': [ 416 'conditions': [
423 ['branding == "Chrome"', { 417 ['branding == "Chrome"', {
424 'variables': { 418 'variables': {
425 'branding': '-dOfficialBuild=1', 419 'branding': '-dOfficialBuild=1',
426 }, 420 },
427 }, { # else branding!="Chrome" 421 }, { # else branding!="Chrome"
428 'variables': { 422 'variables': {
429 'branding': '', 423 'branding': '',
430 }, 424 },
431 }], 425 }],
432 ], 426 ],
433 'rules': [ 427 'rules': [
434 { 428 {
435 'rule_name': 'candle', 429 'rule_name': 'candle',
436 'extension': 'wxs', 430 'extension': 'wxs',
437 'inputs': [ 431 'inputs': [
438 '<(PRODUCT_DIR)/remoting_host_controller.exe', 432 '<(PRODUCT_DIR)/remoting_host_controller.exe',
439 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 433 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
440 '<(PRODUCT_DIR)/remoting_service.exe', 434 '<(PRODUCT_DIR)/remoting_service.exe',
441 '<(sas_dll_path)' 435 '<(platformsdk_path)/redist/x86/sas.dll'
442 ], 436 ],
443 'outputs': [ 437 'outputs': [
444 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', 438 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj',
445 ], 439 ],
446 'process_outputs_as_sources': 1, 440 'process_outputs_as_sources': 1,
447 'msvs_cygwin_shell': 0, 441 'msvs_cygwin_shell': 0,
448 'msvs_quote_cmd': 0, 442 'msvs_quote_cmd': 0,
449 'action': [ 443 'action': [
450 '"<(wix_path)\\bin\\candle"', 444 '"<(wix_path)\\candle"',
451 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 445 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
452 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 446 '-ext "<(wix_path)\\WixUIExtension.dll"',
453 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 447 '-ext "<(wix_path)\\WixUtilExtension.dll"',
454 '-dVersion=<(version_full) ' 448 '-dVersion=<(version_full) '
455 '"-dFileSource=<(PRODUCT_DIR)." ' 449 '"-dFileSource=<(PRODUCT_DIR)." '
456 '"-dSasDllPath=<(sas_dll_path)" ' 450 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" '
457 '<(branding) ' 451 '<(branding) '
458 '-out <@(_outputs)', 452 '-out <@(_outputs)',
459 '"<(RULE_INPUT_PATH)"', 453 '"<(RULE_INPUT_PATH)"',
460 ], 454 ],
461 'message': 'Generating <@(_outputs)', 455 'message': 'Generating <@(_outputs)',
462 }, 456 },
463 { 457 {
464 'rule_name': 'light', 458 'rule_name': 'light',
465 'extension': 'wixobj', 459 'extension': 'wixobj',
466 'inputs': [ 460 'inputs': [
467 '<(PRODUCT_DIR)/remoting_host_controller.exe', 461 '<(PRODUCT_DIR)/remoting_host_controller.exe',
468 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 462 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
469 '<(PRODUCT_DIR)/remoting_service.exe', 463 '<(PRODUCT_DIR)/remoting_service.exe',
470 '<(sas_dll_path)' 464 '<(platformsdk_path)/redist/x86/sas.dll'
471 ], 465 ],
472 'outputs': [ 466 'outputs': [
473 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 467 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
474 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', 468 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb',
475 ], 469 ],
476 'msvs_cygwin_shell': 0, 470 'msvs_cygwin_shell': 0,
477 'msvs_quote_cmd': 0, 471 'msvs_quote_cmd': 0,
478 'action': [ 472 'action': [
479 '"<(wix_path)\\bin\\light"', 473 '"<(wix_path)\\light"',
480 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 474 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
481 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 475 '-ext "<(wix_path)\\WixUIExtension.dll"',
482 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 476 '-ext "<(wix_path)\\WixUtilExtension.dll"',
483 '-cultures:en-us', 477 '-cultures:en-us',
484 '-dVersion=<(version_full) ' 478 '-dVersion=<(version_full) '
485 '"-dFileSource=<(PRODUCT_DIR)." ' 479 '"-dFileSource=<(PRODUCT_DIR)." '
486 '"-dSasDllPath=<(sas_dll_path)" ' 480 '"-dSasDllPath=<(platformsdk_path)/redist/x86/sas.dll" '
487 '<(branding) ' 481 '<(branding) '
488 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', 482 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"',
489 '"<(RULE_INPUT_PATH)"', 483 '"<(RULE_INPUT_PATH)"',
490 ], 484 ],
491 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 485 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
492 }, 486 },
493 ], 487 ],
494 }, # end of target 'remoting_host_installation' 488 }, # end of target 'remoting_host_installation'
495 ], # end of 'targets' 489 ], # end of 'targets'
496 }], # '<(wix_path) != ""' 490 }], # '<(wix_path) != ""'
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 '../base/allocator/allocator.gyp:allocator', 1376 '../base/allocator/allocator.gyp:allocator',
1383 ], 1377 ],
1384 }, 1378 },
1385 ], 1379 ],
1386 ], 1380 ],
1387 }], 1381 }],
1388 ], # end of 'conditions' 1382 ], # end of 'conditions'
1389 }, # end of target 'remoting_unittests' 1383 }, # end of target 'remoting_unittests'
1390 ], # end of targets 1384 ], # end of targets
1391 } 1385 }
OLDNEW
« no previous file with comments | « chrome/tools/build/win/SYMBOLS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698