wnwen@chromium.org
|
d6a7a6bd9c
|
android: Allow anonymous pipes for benchmarking
In a typical scenario we would not want to run the build server if
autoninja is run as part of a script (see https://crrev.com/c/6278629),
but specifically for benchmarking, we want to allow callers who
explicitly set AUTONINJA_STDOUT_NAME to still run the build server, as
these callers need the build server to run to properly time and
benchmark, even if all the output is discarded.
R=agrieve@chromium.org
Bug: 393136861
Change-Id: I97f556c2238eacc5cc8240287f4c6da0160efb71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6499328
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Auto-Submit: Peter Wen <wnwen@chromium.org>
|
2025-04-29 12:32:32 -07:00 |
|
Mohamed Heikal
|
f41ea50890
|
Add emoji to build server related output
Bug: 404503040
Change-Id: Ife7d3d336bfbfb6513a2bb805f4b23d48e1c61d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6368643
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
|
2025-03-18 13:00:07 -07:00 |
|
Mohamed Heikal
|
678f73bd0e
|
[autoninja] Pass the output directory to the build server
When registering the build with the build server, pass in the output
directory.
Change-Id: Ie6ed0bf5d73926fb163085067aafcd350063ee5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6249305
Auto-Submit: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Philipp Wollermann <philwo@google.com>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
|
2025-02-26 09:05:49 -08:00 |
|
Andrew Grieve
|
3b16d50864
|
android_build_server_helper.py: Do not start server when stdout is a pipe
E.g. "autoninja > foo" would result in a file called "pipe:[394765110]"
being created.
Companion change: https://chromium-review.googlesource.com/c/chromium/src/+/6236987
Bug: None
Change-Id: Idbbee3eab136cb88f9658e033ac02bd90feee34d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6278629
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
|
2025-02-18 08:50:19 -08:00 |
|
Mohamed Heikal
|
03aad37858
|
Skip printing status if we CTRL-c out
No need to print status if the user interrupts the compile. Status is
always (all tasks done) since the remaining tasks will have been
canceled.
Change-Id: I3c4e5ff867cfd460aa357197f09276d128b00e01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6207097
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
|
2025-01-28 13:38:09 -08:00 |
|
Mohamed Heikal
|
9b4d1e485d
|
Integrate autoninja.py with fast_local_dev_server.py
- Starts the build server when the build starts.
- Writes tty filename to env variable.
- Tells the build server about the current build so it does not exit
until autoninja does, even if idle.
- Cancels pending tasks on Ctrl+c.
Change-Id: I86bb9852bd0975f381b049b9ff21c38eef7cef9d
Bug: 370589852
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5917985
Reviewed-by: Junji Watanabe <jwata@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
Auto-Submit: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
|
2024-12-12 10:28:46 -08:00 |
|