| OLD | NEW |
| 1 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009-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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', | 464 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', |
| 465 }, | 465 }, |
| 466 }, | 466 }, |
| 467 }], | 467 }], |
| 468 ], | 468 ], |
| 469 }, | 469 }, |
| 470 { | 470 { |
| 471 'target_name': 'chrome_version_info', | 471 'target_name': 'chrome_version_info', |
| 472 'type': '<(library)', | 472 'type': '<(library)', |
| 473 'sources': [ | 473 'sources': [ |
| 474 'app/chrome_version_info.cc', | 474 'common/chrome_version_info.cc', |
| 475 'app/chrome_version_info.h', | 475 'common/chrome_version_info.h', |
| 476 ], | 476 ], |
| 477 'include_dirs': [ | 477 'include_dirs': [ |
| 478 '<(DEPTH)', | 478 '<(DEPTH)', |
| 479 ], | 479 ], |
| 480 'conditions': [ | 480 'conditions': [ |
| 481 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { | 481 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { |
| 482 'include_dirs': [ | 482 'include_dirs': [ |
| 483 '<(SHARED_INTERMEDIATE_DIR)', | 483 '<(SHARED_INTERMEDIATE_DIR)', |
| 484 ], | 484 ], |
| 485 'actions': [ | 485 'actions': [ |
| 486 { | 486 { |
| 487 'action_name': 'posix_version', | 487 'action_name': 'posix_version', |
| 488 'variables': { | 488 'variables': { |
| 489 'lastchange_path': | 489 'lastchange_path': |
| 490 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 490 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 491 'version_py_path': 'tools/build/version.py', | 491 'version_py_path': 'tools/build/version.py', |
| 492 'version_path': 'VERSION', | 492 'version_path': 'VERSION', |
| 493 'template_input_path': 'app/chrome_version_info_posix.h.version'
, | 493 'template_input_path': 'common/chrome_version_info_posix.h.versi
on', |
| 494 }, | 494 }, |
| 495 'conditions': [ | 495 'conditions': [ |
| 496 [ 'branding == "Chrome"', { | 496 [ 'branding == "Chrome"', { |
| 497 'variables': { | 497 'variables': { |
| 498 'branding_path': | 498 'branding_path': |
| 499 'app/theme/google_chrome/BRANDING', | 499 'app/theme/google_chrome/BRANDING', |
| 500 }, | 500 }, |
| 501 }, { # else branding!="Chrome" | 501 }, { # else branding!="Chrome" |
| 502 'variables': { | 502 'variables': { |
| 503 'branding_path': | 503 'branding_path': |
| 504 'app/theme/chromium/BRANDING', | 504 'app/theme/chromium/BRANDING', |
| 505 }, | 505 }, |
| 506 }], | 506 }], |
| 507 ], | 507 ], |
| 508 'inputs': [ | 508 'inputs': [ |
| 509 '<(template_input_path)', | 509 '<(template_input_path)', |
| 510 '<(version_path)', | 510 '<(version_path)', |
| 511 '<(branding_path)', | 511 '<(branding_path)', |
| 512 '<(lastchange_path)', | 512 '<(lastchange_path)', |
| 513 ], | 513 ], |
| 514 'outputs': [ | 514 'outputs': [ |
| 515 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/chrome_version_info_posix
.h', | 515 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/chrome_version_info_po
six.h', |
| 516 ], | 516 ], |
| 517 'action': [ | 517 'action': [ |
| 518 'python', | 518 'python', |
| 519 '<(version_py_path)', | 519 '<(version_py_path)', |
| 520 '-f', '<(version_path)', | 520 '-f', '<(version_path)', |
| 521 '-f', '<(branding_path)', | 521 '-f', '<(branding_path)', |
| 522 '-f', '<(lastchange_path)', | 522 '-f', '<(lastchange_path)', |
| 523 '<(template_input_path)', | 523 '<(template_input_path)', |
| 524 '<@(_outputs)', | 524 '<@(_outputs)', |
| 525 ], | 525 ], |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 'configurations': { | 569 'configurations': { |
| 570 'Common_Base': { | 570 'Common_Base': { |
| 571 'msvs_target_platform': 'x64', | 571 'msvs_target_platform': 'x64', |
| 572 }, | 572 }, |
| 573 }, | 573 }, |
| 574 }, | 574 }, |
| 575 ], | 575 ], |
| 576 }], | 576 }], |
| 577 ], | 577 ], |
| 578 } | 578 } |
| OLD | NEW |