Age | Commit message (Collapse) | Author |
|
Updating our MODULE.bazel definition along
with @platforms update.
Test: TH
Change-Id: I018e76cf5e2602a745b92c18d668e06321bdbd58
Signed-off-by: Yifan Hong <elsk@google.com>
|
|
It is no longer used.
Bug: 340944112
Bug: 284390729
Change-Id: I23f1f85ffdf50581ba56c392cabe27f0b79d71c7
|
|
This allows to build the toybox binary from sources instead of using the
prebuilt binary.
Bug: 339377804
Change-Id: I6e6f1da6439ed8f13dadc23c21a63b526e97ca27
Signed-off-by: Matthias Maennich <maennich@google.com>
|
|
This allows to replace "-lz" (hermetic prebuilt zlib) by "@zlib" (built from
sources).
Bug: 315488400
Bug: 339377804
Change-Id: Ib1a40c491109dfae896c1b4f1326a49550425f5b
Signed-off-by: Matthias Maennich <maennich@google.com>
|
|
This allows to build the lz4 binary from sources instead of using the
prebuilt binary.
Change-Id: I781692e2693429105b9a4b60e2a23cc044aae3d5
Signed-off-by: Matthias Maennich <maennich@google.com>
|
|
Test: TH
Bug: 324907235
Change-Id: Ifa1a0ba50c33bed7b5e6b8c2dc41f6ce58070ead
|
|
Update rules_rust from 0.39.0 to 0.40.0, matching the update performed in r.android.com/3001716.
Bug: 326310435
Change-Id: Ib795f24e139bfffeddaa8cd67e93908e3033960c
|
|
If using //common:build.config.constants, simply
skip the declare_toolchain_constants call.
This simplifies the Kleaf's MODULE.bazel, or the
root MODULE.bazel when using Kleaf as the root module.
Test: TH
Bug: 328465178
Change-Id: I16c4e8c15e2ad9e0180100b6485e7dab2075d0ac
|
|
If using the default list of host tools, simply
skip the declare_host_tools() call.
This simplifies the Kleaf's MODULE.bazel, or the
root MODULE.bazel when using Kleaf as the root module.
Test: TH
Bug: 328465178
Change-Id: I8225bdabc378e459f70d10a768aea0d15cb4160b
|
|
Modify rules to build docs properly under bzlmod.
Bug: 324643611
Test: TH
Change-Id: I3871f23d996ccf984579009c83f34c35cfb405d1
|
|
Rename it back to kernel_toolchain_ext.bzl. This
is done in multiple CLs to preserve git history.
Bug: 291918087
Test: TH
Change-Id: Ib61f3083dfde0e7be78a983efa72ad58d1c770d7
|
|
kernel_ext.bzl is the central extension for Kleaf. Move
the existing kleaf_host_tools_repo.bzl into the central place.
Bug: 291918087
Test: TH
Change-Id: Ie2f17ed1dc6da18b49ef31f0cc84b2f03be4eeca
|
|
kernel_ext.bzl is the temporary extension for toolchains Kleaf.
Hide the existing kernel_toolchain_ext.bzl and re-export it in
kernel_ext.bzl.
Bug: 291918087
Test: TH
Change-Id: I315f12d5e4cb57c0f41354b1f92586cb6e8bdb8d
|
|
If RUSTC_VERSION is set in kernel_toolchain_ext, kernel_build depends
on rules_rust, so rules_rust is needed for at least GKI.
However, if @kleaf is used as a dependent module in a DDKv2 set up and
drivers are building against prebuilts, kernel_build might not be
involved, and rules_rust might not be needed. If a DDKv2 driver is
building against a core kernel built from source, it needs to have
a direct dependency against rules_rust and call rust.toolchain() as well.
Bug: 326373147
Test: manually verify that, without this change, DDKv2 project
fails without explicitly depending on rules_rust because
rules_rust is a transitive dependency.
Change-Id: I42c5c806a4980be4c84694e66e45f3ab64e4d1da
|
|
Make it non-configurable to make the implementation simple.
In the case where @kleaf is used as the root module (which
will become a legacy method after DDKv2 is completed), the
constant's path is hard-coded, and a symlink is needed.
If @kleaf is used as a dependent module, it is addressed
in the next CL.
This makes the implementation much simpler.
Bug: 293260835
Change-Id: Ia50b0e6f395750b458d3733a22dd79d823e38005
|
|
* This is now a transitive dependency needed when configuring this
module in bzlmod.
Bug: 325494729
Change-Id: Ieaaf8ea0fd920f80a3d537a465a48d83bd17872e
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
|
|
* upstream/0.20.0 -> upstream/0.39.0
Bug: 325494729
Change-Id: I3cca5834b0aac30b9c80f771294633e31d4f8914
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
|
|
Rust is enabled on android15-6.6, so it needs to be present
in MODULE.bazel.
With rust enabled, kernel_env targets has an explicit
dependency on //prebuilts/rust/linux-x86/1.73.0:binaries.
The package requires @rules_rust to be present.
Test: TH
Bug: 276493276
Change-Id: Id2830e438ade014daf635a1efcda82619d7d18d8
|
|
- Fix link.
- Add link to workspace.md
- Move to docs/bzlmod.md
Bug: 276493276
Change-Id: I521dd799040cd49f7992dfb9237cb60af30ef5c1
|
|
local_path_override yields a much simpler design
and update process.
Stardoc is temporarily removed because it does not
have MODULE.bazel. It needs to be updated to make
this working.
Bug: 276493276
Change-Id: I184c6eb9c01685e5b6bd687cf4a4444a83459dae
|
|
If --config=bzlmod is set, enable bzlmod.
Test: bazel build //common:kernel_aarch64 --config=bzlmod
Bug: 276493276
Change-Id: I73f2b10115ba789e04a41d05e053d49d3f04fc9d
|