Closure compiler: Cleanup compile2.py and rename.

There used to be a compile.py, so we added a compile2.py while migrating
to a newer format of GYP (which is now long gone). No real reason this
file is still "compile2" other than history. Let's fix that.

The "Checker" class does more than checking, so I've renamed it
"Compiler". And because folks invoke "check()" essentially just to run
the compiler.jar in some cases, I've renamed that "run()".

file: compile2.py -> compiler.py
class: Checker -> Compiler
main: check() -> run()

R=dpapad@chromium.org
BUG=none

Change-Id: Ib73a8cca4e14e5aa9cf6ff9db0b97263c1b16208
Reviewed-on: https://chromium-review.googlesource.com/c/1423742
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Auto-Submit: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625038}
5 files changed