Miscellaneous fixup for mass-rename.py and friends.
- move_source_file.py now has the option to print out a message rather than
raise an exception when given a file that is not a source file.
mass-rename.py uses this option to avoid dying when a directory is moved that
includes a non-source file (e.g., DEPS).
- sort-headers.py now has an option to avoid reordering headers in
*message_generator.cc files; changing the include orders in these files can
break compilation
- sort-headers.py now handles the case where the last line of a file is an
include; previously it would die in this case.
Review URL: https://chromiumcodereview.appspot.com/17389002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206991 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed