Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 83379c3

Browse files
author
Ulises Mendez Martinez
committed
ANDROID: Use alias for old rules.
* This is in preparation for removal of these targets. Bug: 293529933 Change-Id: I7b7400bb95b0d2c571be18b97727d878996ab575 Signed-off-by: Ulises Mendez Martinez <[email protected]>
1 parent 7dbf265 commit 83379c3

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

BUILD.bazel

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,24 @@ checkpatch(
4646
)
4747

4848
# Deprecated - Use arch specific files from below.
49-
write_file(
49+
alias(
5050
name = "gki_system_dlkm_modules",
51-
out = "android/gki_system_dlkm_modules",
52-
content = get_gki_modules_list("arm64") + [
53-
# Ensure new line at the end.
54-
"",
55-
],
51+
actual = "gki_system_dlkm_modules_arm64",
52+
deprecation = """
53+
Common list for all architectures is deprecated.
54+
Instead use the file corresponding to the architecture used:
55+
i.e. `gki_system_dlkm_modules_{arch}`
56+
""",
57+
)
58+
59+
alias(
60+
name = "android/gki_system_dlkm_modules",
61+
actual = "android/gki_system_dlkm_modules_arm64",
62+
deprecation = """
63+
Common list for all architectures is deprecated.
64+
Instead use the file corresponding to the architecture used:
65+
i.e. `gki_system_dlkm_modules_{arch}`
66+
""",
5667
)
5768

5869
write_file(

0 commit comments

Comments
 (0)