mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
ANDROID: GKI: BUILD.bazel: Add buildifier sort hint
Add buildifier sorting directives for modules lists
to catch non sorted lists in presubmit as well as
to help sort lists using the buildifier.
Bug: 232431151
Test: TH
Change-Id: I508652429f26f85ce5d760024574d68d63f2da9e
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
(cherry picked from commit 39228dd9f2)
This commit is contained in:
@@ -22,6 +22,7 @@ load("//build/kernel/kleaf:common_kernels.bzl", "define_common_kernels", "define
|
||||
define_common_kernels(target_configs = {
|
||||
"kernel_aarch64": {
|
||||
"module_implicit_outs": [
|
||||
# keep sorted
|
||||
"drivers/block/zram/zram.ko",
|
||||
"mm/zsmalloc.ko",
|
||||
"net/mac80211/mac80211.ko",
|
||||
@@ -30,6 +31,7 @@ define_common_kernels(target_configs = {
|
||||
},
|
||||
"kernel_aarch64_16k": {
|
||||
"module_implicit_outs": [
|
||||
# keep sorted
|
||||
"drivers/block/zram/zram.ko",
|
||||
"mm/zsmalloc.ko",
|
||||
"net/mac80211/mac80211.ko",
|
||||
@@ -38,6 +40,7 @@ define_common_kernels(target_configs = {
|
||||
},
|
||||
"kernel_aarch64_debug": {
|
||||
"module_implicit_outs": [
|
||||
# keep sorted
|
||||
"drivers/block/zram/zram.ko",
|
||||
"mm/zsmalloc.ko",
|
||||
"net/mac80211/mac80211.ko",
|
||||
@@ -47,6 +50,7 @@ define_common_kernels(target_configs = {
|
||||
"kernel_x86_64": {
|
||||
"kmi_symbol_list_strict_mode": False,
|
||||
"module_implicit_outs": [
|
||||
# keep sorted
|
||||
"drivers/block/zram/zram.ko",
|
||||
"mm/zsmalloc.ko",
|
||||
"net/mac80211/mac80211.ko",
|
||||
@@ -56,6 +60,7 @@ define_common_kernels(target_configs = {
|
||||
"kernel_x86_64_debug": {
|
||||
"kmi_symbol_list_strict_mode": False,
|
||||
"module_implicit_outs": [
|
||||
# keep sorted
|
||||
"drivers/block/zram/zram.ko",
|
||||
"mm/zsmalloc.ko",
|
||||
"net/mac80211/mac80211.ko",
|
||||
|
||||
Reference in New Issue
Block a user