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