Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: DEPS

Issue 1186593003: Add a stale .pyc cleanup step before running gyp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a bug reference Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
751 # accidentally reference any .pyc files whose corresponding .py files have
752 # already been deleted.
753 # We should actually try to avoid generating .pyc files, crbug.com/500078.
754 'name': 'remove_stale_pyc_files',
755 'pattern': '.',
756 'action': [
757 'python',
758 'src/tools/remove_stale_pyc_files.py',
759 'src/android_webview/tools',
760 'src/gpu/gles2_conform_support',
761 'src/ppapi',
762 'src/printing',
763 'src/third_party/closure_compiler/build',
764 'src/tools',
765 ],
766 },
767 {
750 # A change to a .gyp, .gypi, or to GYP itself should run the generator. 768 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
751 'name': 'gyp', 769 'name': 'gyp',
752 'pattern': '.', 770 'pattern': '.',
753 'action': ['python', 'src/build/gyp_chromium'], 771 'action': ['python', 'src/build/gyp_chromium'],
754 }, 772 },
755 { 773 {
756 # Verify committers' ~/.netc, gclient and git are properly configured for 774 # 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 775 # write access to the git repo. To be removed sometime after Chrome to git
758 # migration completes (let's say Sep 1 2014). 776 # migration completes (let's say Sep 1 2014).
759 'name': 'check_git_config', 777 'name': 'check_git_config',
760 'pattern': '.', 778 'pattern': '.',
761 'action': [ 779 'action': [
762 'python', 780 'python',
763 'src/tools/check_git_config.py', 781 'src/tools/check_git_config.py',
764 '--running-as-hook', 782 '--running-as-hook',
765 ], 783 ],
766 }, 784 },
767 {
768 # Ensure that we don't accidentally reference any .pyc files whose
769 # corresponding .py files have already been deleted.
770 'name': 'remove_stale_pyc_files',
771 'pattern': 'src/tools/.*\\.py',
772 'action': [
773 'python',
774 'src/tools/remove_stale_pyc_files.py',
775 'src/tools',
776 ],
777 },
778 ] 785 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698