Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # This file is used to manage the dependencies of the Chromium src repo. It is | 1 # This file is used to manage the dependencies of the Chromium src repo. It is |
| 2 # used by gclient to determine what version of each dependency to check out, and | 2 # used by gclient to determine what version of each dependency to check out, and |
| 3 # where. | 3 # where. |
| 4 # | 4 # |
| 5 # For more information, please refer to the official documentation: | 5 # For more information, please refer to the official documentation: |
| 6 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code | 6 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code |
| 7 # | 7 # |
| 8 # When adding a new dependency, please update the top-level .gitignore file | 8 # When adding a new dependency, please update the top-level .gitignore file |
| 9 # to list the dependency's destination directory. | 9 # to list the dependency's destination directory. |
| 10 # | 10 # |
| (...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 740 ], | 740 ], |
| 741 }, | 741 }, |
| 742 { | 742 { |
| 743 # Pull sanitizer-instrumented third-party libraries if requested via | 743 # Pull sanitizer-instrumented third-party libraries if requested via |
| 744 # GYP_DEFINES. | 744 # GYP_DEFINES. |
| 745 'name': 'instrumented_libraries', | 745 'name': 'instrumented_libraries', |
| 746 'pattern': '\\.sha1', | 746 'pattern': '\\.sha1', |
| 747 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downloa d_binaries.py'], | 747 'action': ['python', 'src/third_party/instrumented_libraries/scripts/downloa d_binaries.py'], |
| 748 }, | 748 }, |
| 749 { | 749 { |
| 750 # Ensure that while generating dependencies lists in .gyp files we don't acc identally | |
|
scottmg
2015/06/12 22:58:25
nit; Wrap at 80 col since there's nothing preventi
mnaganov (inactive)
2015/06/12 23:26:17
Done.
| |
| 751 # reference any .pyc files whose corresponding .py files have already been d eleted. | |
| 752 'name': 'remove_stale_pyc_files_for_gyp', | |
|
scottmg
2015/06/12 22:58:25
Probably just 'remove_stale_pyc_files' is better.
mnaganov (inactive)
2015/06/12 23:26:17
Done.
| |
| 753 'pattern': '.', | |
| 754 'action': [ | |
| 755 'python', | |
| 756 'src/tools/remove_stale_pyc_files.py', | |
| 757 'src/android_webview/tools', | |
| 758 'src/gpu/gles2_conform_support', | |
| 759 'src/ppapi', | |
| 760 'src/printing', | |
| 761 'src/third_party/closure_compiler/build', | |
| 762 'src/tools', | |
| 763 ], | |
|
scottmg
2015/06/12 22:58:25
I was worried this would be kind of slow, but on W
mnaganov (inactive)
2015/06/12 23:26:17
RemoveAllStalePycFiles doesn't skip output dirs, a
| |
| 764 }, | |
| 765 { | |
| 750 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 766 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 751 'name': 'gyp', | 767 'name': 'gyp', |
| 752 'pattern': '.', | 768 'pattern': '.', |
| 753 'action': ['python', 'src/build/gyp_chromium'], | 769 'action': ['python', 'src/build/gyp_chromium'], |
| 754 }, | 770 }, |
| 755 { | 771 { |
| 756 # Verify committers' ~/.netc, gclient and git are properly configured for | 772 # Verify committers' ~/.netc, gclient and git are properly configured for |
| 757 # write access to the git repo. To be removed sometime after Chrome to git | 773 # write access to the git repo. To be removed sometime after Chrome to git |
| 758 # migration completes (let's say Sep 1 2014). | 774 # migration completes (let's say Sep 1 2014). |
| 759 'name': 'check_git_config', | 775 'name': 'check_git_config', |
| 760 'pattern': '.', | 776 'pattern': '.', |
| 761 'action': [ | 777 'action': [ |
| 762 'python', | 778 'python', |
| 763 'src/tools/check_git_config.py', | 779 'src/tools/check_git_config.py', |
| 764 '--running-as-hook', | 780 '--running-as-hook', |
| 765 ], | 781 ], |
| 766 }, | 782 }, |
| 767 { | 783 { |
| 768 # Ensure that we don't accidentally reference any .pyc files whose | 784 # Ensure that we don't accidentally reference any .pyc files whose |
|
scottmg
2015/06/12 22:58:25
Seems unnecessary to do this here too?
mnaganov (inactive)
2015/06/12 23:26:17
Right. I guess, nobody deletes .py files in hooks.
| |
| 769 # corresponding .py files have already been deleted. | 785 # corresponding .py files have already been deleted. |
| 770 'name': 'remove_stale_pyc_files', | 786 'name': 'remove_stale_pyc_files', |
| 771 'pattern': 'src/tools/.*\\.py', | 787 'pattern': 'src/tools/.*\\.py', |
| 772 'action': [ | 788 'action': [ |
| 773 'python', | 789 'python', |
| 774 'src/tools/remove_stale_pyc_files.py', | 790 'src/tools/remove_stale_pyc_files.py', |
| 775 'src/tools', | 791 'src/tools', |
| 776 ], | 792 ], |
| 777 }, | 793 }, |
| 778 ] | 794 ] |
| OLD | NEW |