| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 | 7 |
| 8 'variables': { | 8 'variables': { |
| 9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
| 10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
| (...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1418 ], | 1418 ], |
| 1419 'conditions': [ | 1419 'conditions': [ |
| 1420 ['win_use_allocator_shim==1', { | 1420 ['win_use_allocator_shim==1', { |
| 1421 'dependencies': [ | 1421 'dependencies': [ |
| 1422 '../base/allocator/allocator.gyp:*', | 1422 '../base/allocator/allocator.gyp:*', |
| 1423 ], | 1423 ], |
| 1424 }], | 1424 }], |
| 1425 ], | 1425 ], |
| 1426 }, | 1426 }, |
| 1427 { | 1427 { |
| 1428 'target_name': 'chrome_dll_version', | 1428 'target_name': 'chrome_version_resources', |
| 1429 'type': 'none', | 1429 'type': 'none', |
| 1430 'dependencies': [ | 1430 'dependencies': [ |
| 1431 '../build/util/build_util.gyp:lastchange', | 1431 '../build/util/build_util.gyp:lastchange', |
| 1432 ], | 1432 ], |
| 1433 'direct_dependent_settings': { | 1433 'direct_dependent_settings': { |
| 1434 'include_dirs': [ | 1434 'include_dirs': [ |
| 1435 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version', | 1435 '<(SHARED_INTERMEDIATE_DIR)/chrome_version', |
| 1436 ], | 1436 ], |
| 1437 }, | 1437 }, |
| 1438 'actions': [ | 1438 'sources': [ |
| 1439 'app/chrome_exe.ver', |
| 1440 'app/chrome_dll.ver', |
| 1441 'app/nacl64_exe.ver', |
| 1442 'app/nacl64_dll.ver', |
| 1443 'app/other.ver', |
| 1444 ], |
| 1445 'rules': [ |
| 1439 { | 1446 { |
| 1440 'action_name': 'version', | 1447 'rule_name': 'version', |
| 1448 'extension': 'ver', |
| 1441 'variables': { | 1449 'variables': { |
| 1442 'lastchange_path': | 1450 'lastchange_path': |
| 1443 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 1451 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 1444 'template_input_path': 'app/chrome_dll_version.rc.version', | 1452 'template_input_path': 'app/chrome_version.rc.version', |
| 1445 }, | 1453 }, |
| 1446 'conditions': [ | 1454 'conditions': [ |
| 1447 [ 'branding == "Chrome"', { | 1455 [ 'branding == "Chrome"', { |
| 1448 'variables': { | 1456 'variables': { |
| 1449 'branding_path': 'app/theme/google_chrome/BRANDING', | 1457 'branding_path': 'app/theme/google_chrome/BRANDING', |
| 1450 }, | 1458 }, |
| 1451 }, { # else branding!="Chrome" | 1459 }, { # else branding!="Chrome" |
| 1452 'variables': { | 1460 'variables': { |
| 1453 'branding_path': 'app/theme/chromium/BRANDING', | 1461 'branding_path': 'app/theme/chromium/BRANDING', |
| 1454 }, | 1462 }, |
| 1455 }], | 1463 }], |
| 1456 ], | 1464 ], |
| 1457 'inputs': [ | 1465 'inputs': [ |
| 1458 '<(template_input_path)', | 1466 '<(template_input_path)', |
| 1459 '<(version_path)', | 1467 '<(version_path)', |
| 1460 '<(branding_path)', | 1468 '<(branding_path)', |
| 1461 '<(lastchange_path)', | 1469 '<(lastchange_path)', |
| 1462 ], | 1470 ], |
| 1463 'outputs': [ | 1471 'outputs': [ |
| 1464 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_versio
n.rc', | 1472 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/<(RULE_INPUT_ROOT)_ve
rsion.rc', |
| 1465 ], | 1473 ], |
| 1466 'action': [ | 1474 'action': [ |
| 1467 'python', | 1475 'python', |
| 1468 '<(version_py_path)', | 1476 '<(version_py_path)', |
| 1477 '-f', '<(RULE_INPUT_PATH)', |
| 1469 '-f', '<(version_path)', | 1478 '-f', '<(version_path)', |
| 1470 '-f', '<(branding_path)', | 1479 '-f', '<(branding_path)', |
| 1471 '-f', '<(lastchange_path)', | 1480 '-f', '<(lastchange_path)', |
| 1472 '<(template_input_path)', | 1481 '<(template_input_path)', |
| 1473 '<@(_outputs)', | 1482 '<@(_outputs)', |
| 1474 ], | 1483 ], |
| 1475 'message': 'Generating version information in <(_outputs)' | 1484 'message': 'Generating version information in <(_outputs)' |
| 1476 }, | 1485 }, |
| 1477 ], | 1486 ], |
| 1478 }, | 1487 }, |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1681 'destination': '<(PRODUCT_DIR)', | 1690 'destination': '<(PRODUCT_DIR)', |
| 1682 'files': [ | 1691 'files': [ |
| 1683 '<(INTERMEDIATE_DIR)/repack/chrome.pak' | 1692 '<(INTERMEDIATE_DIR)/repack/chrome.pak' |
| 1684 ], | 1693 ], |
| 1685 }, | 1694 }, |
| 1686 ], | 1695 ], |
| 1687 }], # targets | 1696 }], # targets |
| 1688 }], # os_posix == 1 and OS != "mac" | 1697 }], # os_posix == 1 and OS != "mac" |
| 1689 ], # 'conditions' | 1698 ], # 'conditions' |
| 1690 } | 1699 } |
| OLD | NEW |