mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 12:30:23 +09:00
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 <umendez@google.com> (cherry picked from commit 83379c35cd0f39f65d89aacb7fbd4166b4cc9e9a) (cherry picked from commit 69d813dd7c45045d821b8106cb827d014adabe2d)
This commit is contained in:
23
BUILD.bazel
23
BUILD.bazel
@@ -41,13 +41,24 @@ checkpatch(
|
||||
)
|
||||
|
||||
# Deprecated - Use arch specific files from below.
|
||||
write_file(
|
||||
alias(
|
||||
name = "gki_system_dlkm_modules",
|
||||
out = "android/gki_system_dlkm_modules",
|
||||
content = get_gki_modules_list("arm64") + [
|
||||
# Ensure new line at the end.
|
||||
"",
|
||||
],
|
||||
actual = "gki_system_dlkm_modules_arm64",
|
||||
deprecation = """
|
||||
Common list for all architectures is deprecated.
|
||||
Instead use the file corresponding to the architecture used:
|
||||
i.e. `gki_system_dlkm_modules_{arch}`
|
||||
""",
|
||||
)
|
||||
|
||||
alias(
|
||||
name = "android/gki_system_dlkm_modules",
|
||||
actual = "android/gki_system_dlkm_modules_arm64",
|
||||
deprecation = """
|
||||
Common list for all architectures is deprecated.
|
||||
Instead use the file corresponding to the architecture used:
|
||||
i.e. `gki_system_dlkm_modules_{arch}`
|
||||
""",
|
||||
)
|
||||
|
||||
write_file(
|
||||
|
||||
Reference in New Issue
Block a user