diff options
author | Yifan Hong <elsk@google.com> | 2024-04-11 15:39:05 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2024-04-12 19:34:38 +0000 |
commit | 6ba242d42d4f1fec5ba3d00c1cae3bcdabf0a71a (patch) | |
tree | 5441e82b8ed30be0e73ed6d79eb26035b4a33d82 /kleaf | |
parent | f389785c30add7c119b00d560eed3abeb6df50cc (diff) | |
download | build-6ba242d42d4f1fec5ba3d00c1cae3bcdabf0a71a.tar.gz |
kleaf: workspace.bzl does not use auto_download_config.
Just use the download_configs dictionary directly.
This is a step towards eradicating auto_download_config;
it should be provided by the build.
Test: TH
Bug: 291918087
Change-Id: I02a278b5f29c2fafb0142cd02afd0950e2a6fd8e
Diffstat (limited to 'kleaf')
-rw-r--r-- | kleaf/workspace.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kleaf/workspace.bzl b/kleaf/workspace.bzl index f262bc0..ee73547 100644 --- a/kleaf/workspace.bzl +++ b/kleaf/workspace.bzl @@ -175,13 +175,13 @@ WARNING: define_kleaf_workspace() should be called with common_kernel_package={} }, ) - for repo_name in CI_TARGET_MAPPING: + for repo_name, value in CI_TARGET_MAPPING.items(): kernel_prebuilt_repo( name = repo_name, apparent_name = repo_name, artifact_url_fmt = artifact_url_fmt, - auto_download_config = True, - target = CI_TARGET_MAPPING[repo_name]["target"], + download_configs = json.encode(value["download_configs"]), + target = value["target"], ) maybe( |