- 11 Oct, 2019 1 commit
-
-
Marc-Antoine Ruel authored
Ran: vi $(git grep --name-only iteritems | grep -v third_party) vi $(git grep --name-only itervalues | grep -v third_party) vi $(git grep --name-only 'print ' | grep -v third_party) and edited the files quickly with adhoc macros. Then ran in recipes/: ./recipes.py test train There was only a small subset of files that had been updated to use six.iteritems() and six.itervalues(). Since the dataset size that is being used in gclient is small (pretty much always below 200 items), it's better to just switch to .items() right away and take the temporary performance hit, so that we don't need to come back to rewrite the code. Recipe-Nontrivial-Roll: build Bug: 984182 Change-Id: I5faf11486b66b0d73c9098ab0f2ce1b15a45c53e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1854900 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Marc-Antoine Ruel <maruel@chromium.org>
-
- 20 Jun, 2019 1 commit
-
-
Gabriel Charette authored
Also make autoninja.py a vpython script to use reliable version of psutil. Note: this change also makes autoninja always make a decision about -j; there's no longer a default where it lets ninja pick. The code is simpler this way and I think it's better because it lets developers always see which -j is in effect when using autoninja (and that's its exact purpose, if you wanted default you shouldn't have used autoninja). R=dpranke@chromium.org Bug: 976265 Change-Id: Ic9d12469729e4bf58da1ec1bd70437329519fc46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1663904Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Auto-Submit: Gabriel Charette <gab@chromium.org>
-
- 29 May, 2019 1 commit
-
-
Takuto Ikuta authored
This is non-windows version of https://chromium.googlesource.com/chromium/tools/depot_tools/+/840a6d66ec4f8969f38207573230624f7b8a6a46 Change-Id: Iaddd3a153011f9c15cf065e7ef96e320d1737ab0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1632034 Auto-Submit: Takuto Ikuta <tikuta@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 07 May, 2019 1 commit
-
-
Andrew Grieve authored
I want to use autoninja from //build/android/generate_gradle.py, but I invoke it with a *long* list of targets that I do not want echo'ed Bug: 803493 Change-Id: I98ad85b64ec7ce60b7e3df9827fb613cd57638e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1596535Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
-
- 29 Jan, 2019 1 commit
-
-
Takuto Ikuta authored
I noticed current autoninja does not upload build log in failed build. Change-Id: Ie58646b483e130769ad22113953c0b95b3145548 Reviewed-on: https://chromium-review.googlesource.com/c/1441892Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 10 Jan, 2019 1 commit
-
-
Takuto Ikuta authored
I got launch approval. http://shortn/_dyJK6ME7C0 Detailed document of this log upload is in https://chromium.googlesource.com/chromium/tools/depot_tools/+/HEAD/ninjalog.README.md Bug: 900161 Change-Id: Iad2f954040d40caa5b7cc1f1eb39c1088f7f316e Reviewed-on: https://chromium-review.googlesource.com/c/1401919Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Shinya Kawanaka <shinyak@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 06 Dec, 2018 1 commit
-
-
Takuto Ikuta authored
TBR=dpranke@chromium.org Bug: 900161 Change-Id: I5e481f04f281fddb08724fd27630a3fb926c5d1b Reviewed-on: https://chromium-review.googlesource.com/c/1365196Reviewed-by:
Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 29 Nov, 2018 1 commit
-
-
Takuto Ikuta authored
This CL introduces ninjalog_uploader to autoninja for posix environment. This is to collect build statistics from googler to find user side build performance bottleneck. ninjalog_uploader_wrapper is used to notify user and manage small config of upload script. Bug: 900161 Change-Id: I48ac8cd1d52f64e8fdafaec43636d2d79ef9040d Reviewed-on: https://chromium-review.googlesource.com/c/1345255Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Shinya Kawanaka <shinyak@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 15 Nov, 2018 2 commits
-
-
Yoshisato Yanagisawa authored
Change-Id: Ic7ca117435de34400fdd117741d0b321339f8cfd Reviewed-on: https://chromium-review.googlesource.com/c/1325250 Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org>
-
Yoshisato Yanagisawa authored
On Windows, without quote, whole return value would be treated as a command, and the execution would fail. On Linux and Mac, without quote, if depot_tools is settled under directories with ' ', command execution would fail because paths are separated in a wrong way. To make such a return value work on Linux and Mac, the shell script started to use eval. Bug: 902930 Change-Id: I9bb74585294af565988c0b844b6b113a5c685530 Reviewed-on: https://chromium-review.googlesource.com/c/1325249Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
-
- 17 Oct, 2018 1 commit
-
-
Yoshisato Yanagisawa authored
For ease of distinguishing a series of build from others in Goma, let me make autoninja set unique build ID. The ID can be usable for statistics purpose to see how much time is usually spent for each build. Since the unique ID is not specific to Goma, i.e. anybody invoked by ninja can use it to distinguish builds, I chose AUTONINJA_BUILD_ID. Since we do not need to distinguish each node, I chose uuid4. Bug: b/77176746 Change-Id: I0b6a67811b420c51d1fd3fd113bf7f039a41e2ab Reviewed-on: https://chromium-review.googlesource.com/c/1275685Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Fumitoshi Ukai <ukai@chromium.org> Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
-
- 13 Feb, 2018 2 commits
-
-
Bruce Dawson authored
A handy usage pattern for autoninja.bat that I was not aware of is to go autoninja -C out\Default chrome && chrome This will build chrome and then run it, but only run it if the build succeeds. The addition of post_build_ninja_summary.py broke this by losing the error code. This change fixes it by using black magic to set an error code in the failure case. Bug: chromium:787983 Change-Id: Ib87fd1799816e19d56de76e08e0f9688be903d80 Reviewed-on: https://chromium-review.googlesource.com/916705Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-
Bruce Dawson authored
post_build_ninja_summary.py gives a summary of a ninja build. It can be run standalone or it can be run automatically by autoninja. This CL updates the Python script and the autoninja bash script to make this work on Linux. This includes removing a zero-value assert, and ensuring that .so files get categorized as such. Change-Id: I2d59ab129f5ce70117beeb119719f8432bfbab7c Reviewed-on: https://chromium-review.googlesource.com/915053Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-
- 12 Jun, 2017 1 commit
-
-
Bruce Dawson authored
Using goma requires the developer to remember which build directories use goma and which don't so that they can pass an appropriate -j number. Getting this wrong makes builds slower, either by under utilizing resources or by causing a self-inflicted DOS attack. Usage: autoninja -C out/debug autoninja looks at the settings for the specified build directory and then selects either -j num_cores*20 or no -j flag based on the use_goma setting. You can set the NINJA_CORE_MULTIPLIER variable to change from the default 20* multiplier. You can also use NINJA_CORE_ADDITION if you want non-goma builds to specify -j with an offset to the number of cores, such as this Linux command: NINJA_CORE_ADDITION=-2 autoninja -C out/release base This will tell autoninja to pass -j to ninja with num_cores-2 as the parameter. On Windows you can have a ninja.bat file (ahead of ninja on the path) such that autoninja will automatically be used. It should contain this: @call autoninja.bat %* Change-Id: I4003e3fc323d1cbab612999c945b5a8dc5bc6655 Reviewed-on: https://chromium-review.googlesource.com/517662Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Fumitoshi Ukai <ukai@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-