Ryan Macnak
40acd32778
[build] Remove unused "exec_script" mode from gn_run_binary.py.
...
Change-Id: Ie7d184dfe1694985fdff318736f34b45267a5bf3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509141
Reviewed-by: Alexander Aprelev <aam@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2026-06-03 12:33:31 -07:00
Ryan Macnak
b5c7496c02
Handle ARM64 in Debian package testing.
...
Change-Id: Iaff121c9a97fa5418a32efdc2550421796b70109
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506160
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2026-05-26 10:27:44 -07:00
Ryan Macnak
a8419fb546
[build] Fix building the Debian package on Resolute.
...
dpkg-buildpackage now wants a timestamp in the changelog.
Also remove --git-revision-file and --git-timestamp-file, which were part of the previous way to build Debian packages.
Change-Id: Idbcf418571889ad7588424e6d8ae6e81ec79942b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504280
Reviewed-by: Ivan Inozemtsev <iinozemtsev@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2026-05-19 07:18:47 -07:00
Ryan Macnak
2b24d38b0d
[build] Override dh_shlibdeps' determination of the libc version needed.
...
There is no libc.pc in the sysroot.
TEST=host newer than jammy
Change-Id: Ia8ce4edf4a6587bb229b4cc87b72b13f026613d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/434940
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
2025-06-16 22:44:00 -07:00
Ryan Macnak
72ee5445c3
[build] Install dartaotruntime to /usr/bin in the Debian package.
...
This removes a discrepancy in what is on PATH when installing the SDK via the Debian package versus unpacking the ZIP and adding dart-sdk/bin to PATH.
Bug: https://github.com/dart-lang/sdk/issues/49293
Cq-Include-Trybots: luci.dart.try:dart-sdk-linux-try
Change-Id: I57361cc090449dd4fd7a8e4ebbc60ace71af11fb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431741
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2025-06-02 15:14:21 -07:00
Ryan Macnak
4fb105e794
[build] Debian package test.
...
Compared to the old testing, this adds coverage for Debian 12, Ubuntu Jammy, Ubuntu Noble and `dart compile exe`.
Bug: https://github.com/dart-lang/sdk/issues/26953
Change-Id: I0201b206086007d6b975f4b12234bdb9dd162d5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431363
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Ivan Inozemtsev <iinozemtsev@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2025-06-02 08:09:36 -07:00
Ryan Macnak
a4e0a0b3f8
[build] Pass -Zxz to dh_builddeb instead of dpkg-buildpackage.
...
Passing to the later only affects source packages.
Bug: https://github.com/dart-lang/sdk/issues/26953
Change-Id: I3ca94c3ddbed4493536d3db52df6ec92c2e72bbf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431302
Reviewed-by: Brian Quinlan <bquinlan@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2025-05-27 16:54:19 -07:00
Ryan Macnak
323b247ba9
[build] Explicitly build the Debian package using xz compression.
...
Newer versions dpkg-buildpackage default to zstd, which is not supported by older versions of dpkg.
Bug: https://github.com/dart-lang/sdk/issues/26953
Change-Id: I67fdb8ab5c3b560c1687a38cb83bcd8f022e9e84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431321
Reviewed-by: Brian Quinlan <bquinlan@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2025-05-27 14:55:19 -07:00
Ryan Macnak
efda4aff7c
Add GN target to build Debian package from regular output.
...
Bug: https://github.com/dart-lang/sdk/issues/26953
Cq-Include-Trybots: luci.dart.try:dart-sdk-linux-arm64-try,dart-sdk-linux-riscv64-try,dart-sdk-linux-try
Change-Id: I38dfcadee836733c2e8824c2da21b9619dd2fc77
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/281307
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2025-01-13 10:57:09 -08:00