From 327945c979cf675306bcfe44662c42f0404880f3 Mon Sep 17 00:00:00 2001 From: Zhipeng Wang Date: Tue, 14 May 2024 17:03:21 +0900 Subject: [PATCH] MA-22436 Kleaf: Add wlan as an external module Test: tools/bazel run --lto=thin //common:imx_abi_update_symbol_list Change-Id: I2bee9b8ee864e4151f1ea7021677a518d464cb11 Signed-off-by: Zhipeng Wang --- BUILD.bazel | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 BUILD.bazel diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 0000000..0b9574d --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,21 @@ +# NOTE: THIS FILE IS EXPERIMENTAL FOR THE BAZEL MIGRATION AND NOT USED FOR +# YOUR BUILDS CURRENTLY. +# +# It is not yet the source of truth for your build. If you're looking to modify +# the build file, modify the Android.bp file instead. Do *not* modify this file +# unless you have coordinated with the team managing the Soong to Bazel +# migration. + +load("//build/kernel/kleaf:kernel.bzl", "kernel_module") + +kernel_module( + name = "wlan.imx", + outs = [ + "mlan.ko", + "moal.ko", + ], + kernel_build = "//common:imx", + visibility = [ + "//common:__pkg__", + ], +)