Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=michaelbai@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8667008 git-svn-id: http://src.chromium.org/svn/trunk/src/build@111385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Instead of compiling the source file with UTF8 directly, run it through a python script that rewrites the UTF8 into C literals. BUG=95858 Review URL: http://codereview.chromium.org/7891020 git-svn-id: http://src.chromium.org/svn/trunk/src/build@101236 4ff67af0-8c30-449e-8e8b-ad334ec8d88c