From 6ba242d42d4f1fec5ba3d00c1cae3bcdabf0a71a Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 11 Apr 2024 15:39:05 -0700 Subject: 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 --- kleaf/workspace.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kleaf') 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( -- cgit v1.2.3