Takuto Ikuta
df413c2e2b
build: remove 'from __future__ import print_function'
...
I think we don't need this line anymore.
Bug: 1406153
Change-Id: Id161854458d131645bb4b54e9ed69b1c171319ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4078643
Commit-Queue: Takuto Ikuta <tikuta@chromium.org >
Reviewed-by: Ben Pastene <bpastene@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1092171}
2023-01-13 01:00:01 +00:00
Takuto Ikuta
3dab32e086
build: update shebang to python3
...
This assumes that CQ has enough coverage for these scripts if they are
important.
Derived from https://crrev.com/c/4078643/4/build/android/pylib/symbols/mock_addr2line/mock_addr2line#1
This is made by
$ rg -l '#!.*python$' build | \
xargs sed -i 's/\(#!.*\)python$/\1python3/'
Bug: 1406153
Change-Id: I3df47e000c690ce8af341ff317539c4faa58e3bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4159758
Reviewed-by: Ben Pastene <bpastene@chromium.org >
Auto-Submit: Takuto Ikuta <tikuta@chromium.org >
Commit-Queue: Ben Pastene <bpastene@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1091953}
2023-01-12 18:52:00 +00:00
Avi Drissman
73a09d1a67
Update copyright headers in build/, build_overrides/, and buildtools/
...
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34 .
An earlier version of this CL, https://crrev.com/c/3879808 ,
was reverted due to an issue that was resolved with
https://crrev.com/c/3881211 .
No-Try: true
Bug: 1098010
Change-Id: I91174ff0a9dd8b6dee79e6cba8209b614ce2b712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3884220
Reviewed-by: Mark Mentovai <mark@chromium.org >
Auto-Submit: Avi Drissman <avi@chromium.org >
Owners-Override: Avi Drissman <avi@chromium.org >
Commit-Queue: Mark Mentovai <mark@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1044745}
2022-09-08 20:33:38 +00:00
Rebekah Potter
184a820046
Revert "Update copyright headers in build/, build_overrides/, and buildtools/"
...
This reverts commit 8996d5a5ca
.
Reason for revert: Breaks android-binary-size bot, see
https://bugs.chromium.org/p/chromium/issues/detail?id=1361092
Original change's description:
> Update copyright headers in build/, build_overrides/, and buildtools/
>
> The methodology used to generate this CL is documented in
> https://crbug.com/1098010#c21 .
>
> No-Try: true
> Bug: 1098010
> Change-Id: I0323d0734081fc1aaf3b9ec3b8184411fe1a368a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879808
> Auto-Submit: Avi Drissman <avi@chromium.org >
> Commit-Queue: Avi Drissman <avi@chromium.org >
> Owners-Override: Avi Drissman <avi@chromium.org >
> Reviewed-by: Mark Mentovai <mark@chromium.org >
> Cr-Commit-Position: refs/heads/main@{#1044227}
Bug: 1098010
Change-Id: Ie1b5a07d859e98588c1497220aac54834ea5d7f0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3880816
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com >
Owners-Override: Nidhi Jaju <nidhijaju@chromium.org >
Commit-Queue: Nidhi Jaju <nidhijaju@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1044284}
2022-09-08 01:08:54 +00:00
Avi Drissman
8996d5a5ca
Update copyright headers in build/, build_overrides/, and buildtools/
...
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c21 .
No-Try: true
Bug: 1098010
Change-Id: I0323d0734081fc1aaf3b9ec3b8184411fe1a368a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879808
Auto-Submit: Avi Drissman <avi@chromium.org >
Commit-Queue: Avi Drissman <avi@chromium.org >
Owners-Override: Avi Drissman <avi@chromium.org >
Reviewed-by: Mark Mentovai <mark@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1044227}
2022-09-07 22:46:30 +00:00
Raul Tambre
f7d4453b82
//build: Use Python 3 style exception statements
...
Conversion was done automatically using "2to3 -w -f except".
This is backwards compatible with Python 2.
There are no intended behavioural changes.
Bug: 941669
Change-Id: I00e5acf46cdf0999c5e2f6e8e85e55e2fc611eca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815871
Commit-Queue: Raul Tambre <raul@tambre.ee >
Auto-Submit: Raul Tambre <raul@tambre.ee >
Reviewed-by: Dirk Pranke <dpranke@chromium.org >
Cr-Commit-Position: refs/heads/master@{#700375}
2019-09-26 19:20:53 +00:00
Raul Tambre
9e24293bf2
//build: Convert print statements to Python 3 style
...
Ran "2to3 -w -n -f print ./base" and manually added imports.
There are no intended behaviour changes.
Bug: 941669
Change-Id: Ie2830e213eae3a5d7753ce503020e02811b726d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585890
Commit-Queue: Raul Tambre <raul@tambre.ee >
Reviewed-by: Nico Weber <thakis@chromium.org >
Reviewed-by: Dirk Pranke <dpranke@chromium.org >
Auto-Submit: Raul Tambre <raul@tambre.ee >
Cr-Commit-Position: refs/heads/master@{#658917}
2019-05-12 06:11:07 +00:00
stuartmorgan@chromium.org
92bba2412f
Fix handling of spaces with paths in copy_test_data.py
...
This allows copying files with spaces in the paths (most notably,
profiles, which have a number of files containing spaces).
There are two fixes:
- Input/output lists \-escape spaces so that gyp will convert the output back into a list correctly.
- The argument list is no longer parsed by spaces, and the gyp call instead passes the input list as a list of separate arguments instead of one giant string.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11293198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166931 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-09 18:04:50 +00:00
blundell@chromium.org
6fdd63f6e7
Change copy_test_data_ios.py to enable copying hidden files.
...
Loosen the dotfile test in this script as some tests can use hidden files.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11312084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165936 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-05 14:22:30 +00:00
rohitrao@chromium.org
14275a59ba
Ignore dotfiles when copying test data.
...
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10807006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147213 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-18 11:16:21 +00:00
rohitrao@chromium.org
da19703bc3
Adds a way to specify test data files for unittests.
...
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10790008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146995 0039d316-1c4b-4281-b951-d872f2087c98
2012-07-17 14:15:34 +00:00