From 44cc28224068164ff5bd4bfd5fce516465bb589c Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Thu, 9 Nov 2023 10:02:03 +0800 Subject: alsa: fix build warning add build dependency for disaplay port audio, and fix buildifiler error Glob pattern "Kbuild" has no wildcard ('*'). Constant patterns can be error-prone, move the file outside the glob. http://go/buildifier-warnings#constant-glob Bug: 309871378 Test: build and no warning is output Change-Id: Iee8dff7b7e0d38eb1e299186a7d599e570705c68 Signed-off-by: Robert Lee --- alsa/BUILD.bazel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alsa/BUILD.bazel b/alsa/BUILD.bazel index 4e25b19..563fd31 100644 --- a/alsa/BUILD.bazel +++ b/alsa/BUILD.bazel @@ -17,9 +17,9 @@ kernel_module( srcs = glob([ "**/*.c", "**/*.h", + ]) + [ "Kbuild", "Makefile", - ]) + [ "//private/google-modules/amplifiers/audiometrics:headers", "//private/google-modules/aoc:headers", "//private/google-modules/aoc_ipc:headers", @@ -39,6 +39,7 @@ kernel_module( deps = [ "//private/google-modules/amplifiers/audiometrics", "//private/google-modules/aoc", + "//private/google-modules/display/samsung:display.samsung", "//private/google-modules/soc/gs:gs_soc_module", ], ) -- cgit v1.2.3