OLD | NEW |
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 '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 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 '-f', '<(branding_path)', | 1398 '-f', '<(branding_path)', |
1399 '-f', '<(lastchange_path)', | 1399 '-f', '<(lastchange_path)', |
1400 '<(template_input_path)', | 1400 '<(template_input_path)', |
1401 '<@(_outputs)', | 1401 '<@(_outputs)', |
1402 ], | 1402 ], |
1403 'message': 'Generating version information in <(_outputs)' | 1403 'message': 'Generating version information in <(_outputs)' |
1404 }, | 1404 }, |
1405 ], | 1405 ], |
1406 }, | 1406 }, |
1407 { | 1407 { |
| 1408 'target_name': 'chrome_version_header', |
| 1409 'type': 'none', |
| 1410 'actions': [ |
| 1411 { |
| 1412 'action_name': 'version_header', |
| 1413 'variables': { |
| 1414 'lastchange_path': |
| 1415 '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 1416 }, |
| 1417 'conditions': [ |
| 1418 [ 'branding == "Chrome"', { |
| 1419 'variables': { |
| 1420 'branding_path': 'app/theme/google_chrome/BRANDING', |
| 1421 }, |
| 1422 }, { # else branding!="Chrome" |
| 1423 'variables': { |
| 1424 'branding_path': 'app/theme/chromium/BRANDING', |
| 1425 }, |
| 1426 }], |
| 1427 ], |
| 1428 'inputs': [ |
| 1429 '<(version_path)', |
| 1430 '<(branding_path)', |
| 1431 '<(lastchange_path)', |
| 1432 'version.h.in', |
| 1433 ], |
| 1434 'outputs': [ |
| 1435 '<(SHARED_INTERMEDIATE_DIR)/version.h', |
| 1436 ], |
| 1437 'action': [ |
| 1438 'python', |
| 1439 '<(version_py_path)', |
| 1440 '-f', '<(version_path)', |
| 1441 '-f', '<(branding_path)', |
| 1442 '-f', '<(lastchange_path)', |
| 1443 'version.h.in', |
| 1444 '<@(_outputs)', |
| 1445 ], |
| 1446 'message': 'Generating version header file: <@(_outputs)', |
| 1447 }, |
| 1448 ], |
| 1449 }, |
| 1450 { |
1408 'target_name': 'automation', | 1451 'target_name': 'automation', |
1409 'type': '<(library)', | 1452 'type': '<(library)', |
1410 'msvs_guid': '1556EF78-C7E6-43C8-951F-F6B43AC0DD12', | 1453 'msvs_guid': '1556EF78-C7E6-43C8-951F-F6B43AC0DD12', |
1411 'dependencies': [ | 1454 'dependencies': [ |
1412 'chrome_version_info', | 1455 'chrome_version_info', |
1413 'theme_resources', | 1456 'theme_resources', |
1414 '../skia/skia.gyp:skia', | 1457 '../skia/skia.gyp:skia', |
1415 '../testing/gtest.gyp:gtest', | 1458 '../testing/gtest.gyp:gtest', |
1416 ], | 1459 ], |
1417 'include_dirs': [ | 1460 'include_dirs': [ |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 }], # targets | 1640 }], # targets |
1598 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 1641 }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
1599 ], # 'conditions' | 1642 ], # 'conditions' |
1600 } | 1643 } |
1601 | 1644 |
1602 # Local Variables: | 1645 # Local Variables: |
1603 # tab-width:2 | 1646 # tab-width:2 |
1604 # indent-tabs-mode:nil | 1647 # indent-tabs-mode:nil |
1605 # End: | 1648 # End: |
1606 # vim: set expandtab tabstop=2 shiftwidth=2: | 1649 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |