diff options
author | Yifan Hong <elsk@google.com> | 2022-09-13 20:00:02 +0000 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2022-09-13 22:08:31 +0000 |
commit | 32ed2fd5bb81f9bb2a53d8c75028113fd30f3229 (patch) | |
tree | 2db331c8931696674b79e80f1fd272659ce56fb0 | |
parent | 648ec81fa7b200a05419b4b4a25a03cc1c9f6c4c (diff) | |
download | build-32ed2fd5bb81f9bb2a53d8c75028113fd30f3229.tar.gz |
kleaf: Support building boot-img.tar.gz for x86_64 GKI.
boot-img.tar.gz is also available for x86_64
arch, so remove the conditional.
Test: builds
Bug: 245302247
Change-Id: Ib5699ee822e4eb2fc2a8f13db22c679d4d4bcad5
(cherry picked from commit 3ac8be54503d8bc9d893e902d51e75b6e3f7bda3)
-rw-r--r-- | kleaf/impl/gki_artifacts.bzl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/kleaf/impl/gki_artifacts.bzl b/kleaf/impl/gki_artifacts.bzl index 9db0ee53..67488836 100644 --- a/kleaf/impl/gki_artifacts.bzl +++ b/kleaf/impl/gki_artifacts.bzl @@ -32,13 +32,10 @@ def _gki_artifacts_impl(ctx): outs = [] - # build_gki_artifacts_aarch64 builds boot-img.tar.gz additionally. - # build_gki_artifacts_x86_64 does not build boot-img.tar.gz. - if ctx.attr.arch == "arm64": - tarball = ctx.actions.declare_file("{}/boot-img.tar.gz".format(ctx.label.name)) - outs.append(tarball) - gki_info = ctx.actions.declare_file("{}/gki-info.txt".format(ctx.label.name)) - outs.append(gki_info) + tarball = ctx.actions.declare_file("{}/boot-img.tar.gz".format(ctx.label.name)) + outs.append(tarball) + gki_info = ctx.actions.declare_file("{}/gki-info.txt".format(ctx.label.name)) + outs.append(gki_info) size_cmd = "" images = [] |