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

Side by Side Diff: remoting/remoting.gyp

Issue 9980015: 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: 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 27 'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party /platformsdk_win7)',
28 # indicate that WiX is available. 28 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/wix)',
29 'wix_path%': '',
30 29
31 'conditions': [ 30 'conditions': [
32 ['OS=="mac"', { 31 ['OS=="mac"', {
33 'conditions': [ 32 'conditions': [
34 ['branding=="Chrome"', { 33 ['branding=="Chrome"', {
35 'mac_bundle_id': 'com.google.Chrome', 34 'mac_bundle_id': 'com.google.Chrome',
36 'mac_creator': 'rimZ', 35 'mac_creator': 'rimZ',
37 }, { # else: branding!="Chrome" 36 }, { # else: branding!="Chrome"
38 'mac_bundle_id': 'org.chromium.Chromium', 37 'mac_bundle_id': 'org.chromium.Chromium',
39 'mac_creator': 'Cr24', 38 'mac_creator': 'Cr24',
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 '<(template_input_path)', 366 '<(template_input_path)',
368 '<@(_outputs)', 367 '<@(_outputs)',
369 ], 368 ],
370 'message': 'Generating version information in <@(_outputs)' 369 'message': 'Generating version information in <@(_outputs)'
371 }, 370 },
372 ], 371 ],
373 }, # end of target 'remoting_version_resources' 372 }, # end of target 'remoting_version_resources'
374 ], # end of 'targets' 373 ], # end of 'targets'
375 }], # 'OS=="win"' 374 }], # 'OS=="win"'
376 375
377 # The host installation is generated only if WiX location is known and only 376 # The host installation is generated only if WiX is available and when
378 # as part of a non-component build. WiX does not provide a easy way to 377 # building a non-component build. WiX does not provide a easy way to
379 # include all DLLs imported by the installed binaries depend on, so 378 # include all DLLs imported by the installed binaries, so supporting
380 # supporting the component build becomes a burden. 379 # the component build becomes a burden.
381 ['"<(wix_path)" != "" and component != "shared_library"', { 380 ['OS == "win" and component != "shared_library" and wix_exists == "True" and platformsdk_exists == "True"', {
382 'targets': [ 381 'targets': [
383 { 382 {
384 'target_name': 'remoting_host_installation', 383 'target_name': 'remoting_host_installation',
385 'type': 'none', 384 'type': 'none',
386 'dependencies': [ 385 'dependencies': [
387 'remoting_host_controller', 386 'remoting_host_controller',
388 'remoting_service', 387 'remoting_service',
389 'remoting_me2me_host', 388 'remoting_me2me_host',
390 ], 389 ],
391 'sources': [ 390 'sources': [
392 'host/installer/chromoting.wxs', 391 'host/installer/chromoting.wxs',
393 ], 392 ],
394 'outputs': [ 393 'outputs': [
395 '<(PRODUCT_DIR)/chromoting.msi', 394 '<(PRODUCT_DIR)/chromoting.msi',
396 ], 395 ],
397 'variables': { 396 'variables': {
398 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/ x86/sas.dll' 397 'sas_dll_path': '<(DEPTH)/third_party/platformsdk_win7/files/redist/ x86/sas.dll',
398 'wix_path': '<(DEPTH)\\third_party\\wix',
399 }, 399 },
400 'conditions': [ 400 'conditions': [
401 ['branding == "Chrome"', { 401 ['branding == "Chrome"', {
402 'variables': { 402 'variables': {
403 'branding': '-dOfficialBuild=1', 403 'branding': '-dOfficialBuild=1',
404 }, 404 },
405 }, { # else branding!="Chrome" 405 }, { # else branding!="Chrome"
406 'variables': { 406 'variables': {
407 'branding': '', 407 'branding': '',
408 }, 408 },
409 }], 409 }],
410 ], 410 ],
411 'rules': [ 411 'rules': [
412 { 412 {
413 'rule_name': 'candle', 413 'rule_name': 'candle',
414 'extension': 'wxs', 414 'extension': 'wxs',
415 'inputs': [ 415 'inputs': [
416 '<(PRODUCT_DIR)/remoting_host_controller.exe', 416 '<(PRODUCT_DIR)/remoting_host_controller.exe',
417 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 417 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
418 '<(PRODUCT_DIR)/remoting_service.exe', 418 '<(PRODUCT_DIR)/remoting_service.exe',
419 '<(sas_dll_path)' 419 '<(sas_dll_path)'
420 ], 420 ],
421 'outputs': [ 421 'outputs': [
422 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj', 422 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).wixobj',
423 ], 423 ],
424 'process_outputs_as_sources': 1, 424 'process_outputs_as_sources': 1,
425 'msvs_cygwin_shell': 0, 425 'msvs_cygwin_shell': 0,
426 'msvs_quote_cmd': 0, 426 'msvs_quote_cmd': 0,
427 'action': [ 427 'action': [
428 '"<(wix_path)\\bin\\candle"', 428 '"<(wix_path)\\candle"',
429 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 429 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
430 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 430 '-ext "<(wix_path)\\WixUIExtension.dll"',
431 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 431 '-ext "<(wix_path)\\WixUtilExtension.dll"',
432 '-dVersion=<(version_full) ' 432 '-dVersion=<(version_full) '
433 '"-dFileSource=<(PRODUCT_DIR)." ' 433 '"-dFileSource=<(PRODUCT_DIR)." '
434 '"-dSasDllPath=<(sas_dll_path)" ' 434 '"-dSasDllPath=<(sas_dll_path)" '
435 '<(branding) ' 435 '<(branding) '
436 '-out <@(_outputs)', 436 '-out <@(_outputs)',
437 '"<(RULE_INPUT_PATH)"', 437 '"<(RULE_INPUT_PATH)"',
438 ], 438 ],
439 'message': 'Generating <@(_outputs)', 439 'message': 'Generating <@(_outputs)',
440 }, 440 },
441 { 441 {
442 'rule_name': 'light', 442 'rule_name': 'light',
443 'extension': 'wixobj', 443 'extension': 'wixobj',
444 'inputs': [ 444 'inputs': [
445 '<(PRODUCT_DIR)/remoting_host_controller.exe', 445 '<(PRODUCT_DIR)/remoting_host_controller.exe',
446 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 446 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
447 '<(PRODUCT_DIR)/remoting_service.exe', 447 '<(PRODUCT_DIR)/remoting_service.exe',
448 '<(sas_dll_path)' 448 '<(sas_dll_path)'
449 ], 449 ],
450 'outputs': [ 450 'outputs': [
451 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 451 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
452 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb', 452 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).wixpdb',
453 ], 453 ],
454 'msvs_cygwin_shell': 0, 454 'msvs_cygwin_shell': 0,
455 'msvs_quote_cmd': 0, 455 'msvs_quote_cmd': 0,
456 'action': [ 456 'action': [
457 '"<(wix_path)\\bin\\light"', 457 '"<(wix_path)\\light"',
458 '-ext "<(wix_path)\\bin\\WixFirewallExtension.dll"', 458 '-ext "<(wix_path)\\WixFirewallExtension.dll"',
459 '-ext "<(wix_path)\\bin\\WixUIExtension.dll"', 459 '-ext "<(wix_path)\\WixUIExtension.dll"',
460 '-ext "<(wix_path)\\bin\\WixUtilExtension.dll"', 460 '-ext "<(wix_path)\\WixUtilExtension.dll"',
461 '-cultures:en-us', 461 '-cultures:en-us',
462 '-dVersion=<(version_full) ' 462 '-dVersion=<(version_full) '
463 '"-dFileSource=<(PRODUCT_DIR)." ' 463 '"-dFileSource=<(PRODUCT_DIR)." '
464 '"-dSasDllPath=<(sas_dll_path)" ' 464 '"-dSasDllPath=<(sas_dll_path)" '
465 '<(branding) ' 465 '<(branding) '
466 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"', 466 '-out "<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi"',
467 '"<(RULE_INPUT_PATH)"', 467 '"<(RULE_INPUT_PATH)"',
468 ], 468 ],
469 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 469 'message': 'Generating <(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
470 }, 470 },
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 '../base/allocator/allocator.gyp:allocator', 1351 '../base/allocator/allocator.gyp:allocator',
1352 ], 1352 ],
1353 }, 1353 },
1354 ], 1354 ],
1355 ], 1355 ],
1356 }], 1356 }],
1357 ], # end of 'conditions' 1357 ], # end of 'conditions'
1358 }, # end of target 'remoting_unittests' 1358 }, # end of target 'remoting_unittests'
1359 ], # end of targets 1359 ], # end of targets
1360 } 1360 }
OLDNEW
« chrome/tools/build/win/FILES.cfg ('K') | « chrome/tools/build/win/FILES.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698