diff options
author | Yifan Hong <elsk@google.com> | 2024-04-15 17:06:43 -0700 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-04-16 11:50:31 +0000 |
commit | e9c44cf5ed6f6c9c0c3ee59cb2576f29c703cabb (patch) | |
tree | f81ca16a09329544e1f61fdd6a9228d559f34206 | |
parent | 7b1324748612b4b74c2ca262b1fc431b0e3b3753 (diff) | |
download | build-e9c44cf5ed6f6c9c0c3ee59cb2576f29c703cabb.tar.gz |
kleaf: kernel_filegroup_declaration: Delete meaningless colon.
Files don't prefix with colons; targets do.
So delete the colon.
Test: TH
Change-Id: I4899328eb2a06f2f6a1851d643a493d271f27550
-rw-r--r-- | kleaf/impl/kernel_filegroup_declaration.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kleaf/impl/kernel_filegroup_declaration.bzl b/kleaf/impl/kernel_filegroup_declaration.bzl index 257684d..a497eb5 100644 --- a/kleaf/impl/kernel_filegroup_declaration.bzl +++ b/kleaf/impl/kernel_filegroup_declaration.bzl @@ -196,7 +196,7 @@ def _write_filegroup_decl_file(ctx, info, deps_files, kernel_uapi_headers, templ info.internal_outs, allow_closure = True, map_each = lambda file: "{key}: {value}".format( - key = repr(":{}".format(file.path) if file else None), + key = repr(file.path if file else None), value = repr(paths.relativize(file.path, info.ruledir)), ), join_with = ",\n ", |