1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# SPDX-License-Identifier: GPL-2.0-or-later
load("//build/kernel/kleaf:kernel.bzl", "kernel_module")
filegroup(
name = "headers",
srcs = glob([
"**/*.h",
]),
visibility = [
"//private/google-modules/touch:__subpackages__",
],
)
filegroup(
name = "touch.common.kconfig",
srcs = glob([
"Kconfig",
]),
visibility = [
"//private/devices/google:__subpackages__",
"//private/google-modules/soc/gs:__pkg__",
],
)
kernel_module(
name = "touch.common",
srcs = glob([
"**/*.c",
"**/*.h",
"Kbuild",
]) + [
"//private/google-modules/aoc:headers",
"//private/google-modules/display:headers",
"//private/google-modules/display/include:headers",
"//private/google-modules/soc/gs:gs_soc_headers",
],
outs = [
"goog_touch_interface.ko",
"heatmap.ko",
"touch_bus_negotiator.ko",
"touch_offload.ko",
],
kernel_build = "//private/google-modules/soc/gs:gs_kernel_build",
visibility = [
"//private/devices/google:__subpackages__",
"//private/google-modules/soc/gs:__pkg__",
"//private/google-modules/touch:__subpackages__",
],
deps = [
"//private/google-modules/aoc",
"//private/google-modules/soc/gs:gs_soc_module",
],
)
|