Initial conversion performed using '2to3 -f print .'.
Imports added and duplicate parentheses removed manually.
Manually converted files, comments and inline code that 2to3 missed.
Presubmit disabled due to an unrelated error in find_runtime_symbols/find_runtime_symbols.py.
Afterwards ran "git cl format --python" and cherry-picked the formatting changes.
There are no intended behavioural changes.
NOPRESUBMIT=true
Bug: 941669
Change-Id: I3174ed0eb7005d493c6bc44751353b8fae18a1f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818478
Commit-Queue: Raul Tambre <raul@tambre.ee>
Reviewed-by: Nico Weber <thakis@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Cr-Commit-Position: refs/heads/master@{#699202}
Directories in Blink are unnecessary now because Blink headers are
included with qualified path names now.
Also, xcodebuild/ and third_party/npapi/ are not used now.
Change-Id: I2f742aafbde638f0da508fa982a79ec46eae1e62
Reviewed-on: https://chromium-review.googlesource.com/1086565
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#564367}
- Do not crash with |#include SK_REF_CNT_MIXIN_INCLUDE|.
"SK_REF_CND_MIXIN_INCLUDE" will be handled as a file name, and Walk()
will show the " -- not found" message for it.
- Do not crash with '#include "..."'.
Support multiple spaces between '#include' and '"' or '<'.
Bug: 849199
Change-Id: I67ef457778fad47b2a6a7edf050fbe3c86e951df
Reviewed-on: https://chromium-review.googlesource.com/1086547
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#564365}
This is being split from the following review in order to get through
the bots safely without breaking the tree:
https://codereview.chromium.org/1917903004/
We will delete the DEPS to ensure no build-time dependencies at all on
CLD, then break/delete the problematic
compact_lang_det_generated_quadschrome.cc file that is causing bots to
have issues with the larger patchset.
TBR as this is already reviewed at the link above.
BUG=605688
Review-Url: https://codereview.chromium.org/1972543003
Cr-Commit-Position: refs/heads/master@{#394417}
Instead we add a gyp file in third_party/google_toolbox_for_mac to build
the sources from third_party/GTM. This is the third and last patch in
this series.
BUG=299841
TEST=None
R=mark@chromium.org,ben@chromium.org
TBR=ben
Review URL: https://codereview.chromium.org/107933006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241471 0039d316-1c4b-4281-b951-d872f2087c98
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=timurrrr@chromium.org
BUG=105108
TEST=
Review URL: http://codereview.chromium.org/8678023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111960 0039d316-1c4b-4281-b951-d872f2087c98
This is meant to be used mostly to measure how much IWYU saves on some files, so that we can brag about it.
Based on an almost identical script by jyrki@google.com (Jyrki Alakuijala)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6873034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82006 0039d316-1c4b-4281-b951-d872f2087c98