Commit Graph

3 Commits (1248b8ef4a7b3747c9f8aaa5a077316d34ae7435)

Author SHA1 Message Date
Sebastien Marchand a74bd78e9c Make it clear that compile_single_file.py doesn't support Jumbo builds
compile_single_file.py doesn't support Jumbo build because compiling a
single file goes against the concept of Jumbo builds (where files get
merged together).

Change-Id: Ib53dc22ed8b61839dc936e8e20f7febbb477eff8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1657789
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
6 years ago
Raul Tambre 80ee78e7fa Convert print statements to Python 3 style
Ran "2to3 -w -n -f print ./" and manually added imports.
Ran "^\s*print " and "\s+print " to find batch/shell scripts, comments and the like with embedded code, and updated them manually.
Also manually added imports to files, which used print as a function, but were missing the import.

The scripts still work with Python 2.
There are no intended behaviour changes.

Bug: 942522
Change-Id: Id777e4d4df4adcdfdab1b18bde89f235ef491b9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1595684
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
6 years ago
Sebastien Marchand 4dd9682b11 Add a script to make it easier to build a single source file with ninja
Bug: 759146
Change-Id: I19edd0b525044655bb9a38b7ada0be9064457f38
Reviewed-on: https://chromium-review.googlesource.com/636446
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
8 years ago