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

Side by Side Diff: chrome/chrome_exe.gypi

Issue 3113026: Move chrome_version_info target into chrome_common. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« chrome/chrome_common.gypi ('K') | « chrome/chrome_common.gypi ('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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'chrome_exe_target': 0, 8 'chrome_exe_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 ], 462 ],
463 'msvs_settings': { 463 'msvs_settings': {
464 'VCLinkerTool': { 464 'VCLinkerTool': {
465 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', 465 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib',
466 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', 466 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb',
467 }, 467 },
468 }, 468 },
469 }], 469 }],
470 ], 470 ],
471 }, 471 },
472 {
473 'target_name': 'chrome_version_info',
474 'type': '<(library)',
475 'sources': [
476 'common/chrome_version_info.cc',
477 'common/chrome_version_info.h',
478 ],
479 'include_dirs': [
480 '<(DEPTH)',
481 ],
482 'conditions': [
483 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris "', {
484 'include_dirs': [
485 '<(SHARED_INTERMEDIATE_DIR)',
486 ],
487 'actions': [
488 {
489 'action_name': 'posix_version',
490 'variables': {
491 'lastchange_path':
492 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
493 'version_py_path': 'tools/build/version.py',
494 'version_path': 'VERSION',
495 'template_input_path': 'common/chrome_version_info_posix.h.versi on',
496 },
497 'conditions': [
498 [ 'branding == "Chrome"', {
499 'variables': {
500 'branding_path':
501 'app/theme/google_chrome/BRANDING',
502 },
503 }, { # else branding!="Chrome"
504 'variables': {
505 'branding_path':
506 'app/theme/chromium/BRANDING',
507 },
508 }],
509 ],
510 'inputs': [
511 '<(template_input_path)',
512 '<(version_path)',
513 '<(branding_path)',
514 '<(lastchange_path)',
515 ],
516 'outputs': [
517 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_po six.h',
518 ],
519 'action': [
520 'python',
521 '<(version_py_path)',
522 '-f', '<(version_path)',
523 '-f', '<(branding_path)',
524 '-f', '<(lastchange_path)',
525 '<(template_input_path)',
526 '<@(_outputs)',
527 ],
528 'message': 'Generating version information',
529 },
530 ],
531 }],
532 ]
533 }
534 ], 472 ],
535 'conditions': [ 473 'conditions': [
536 ['OS=="win"', { 474 ['OS=="win"', {
537 'targets': [ 475 'targets': [
538 { 476 {
539 'target_name': 'chrome_nacl_win64', 477 'target_name': 'chrome_nacl_win64',
540 'type': 'executable', 478 'type': 'executable',
541 'product_name': 'nacl64', 479 'product_name': 'nacl64',
542 'msvs_guid': 'BB1AE956-038B-4092-96A2-951D2B418548', 480 'msvs_guid': 'BB1AE956-038B-4092-96A2-951D2B418548',
543 'variables': { 481 'variables': {
(...skipping 27 matching lines...) Expand all
571 'configurations': { 509 'configurations': {
572 'Common_Base': { 510 'Common_Base': {
573 'msvs_target_platform': 'x64', 511 'msvs_target_platform': 'x64',
574 }, 512 },
575 }, 513 },
576 }, 514 },
577 ], 515 ],
578 }], 516 }],
579 ], 517 ],
580 } 518 }
OLDNEW
« chrome/chrome_common.gypi ('K') | « chrome/chrome_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698