From 253c4832d270df477aa68778c060fb49ddeadcde Mon Sep 17 00:00:00 2001 From: Ramji Jiyani Date: Thu, 27 Oct 2022 22:39:20 +0000 Subject: [PATCH] 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 (cherry picked from commit 39228dd9f2eadd22a747eac65dc14dc6436fb0d8) --- BUILD.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index e2ff7b6bc168..6faced191d6d 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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",