90 lines
1.6 KiB
Python
Executable File
90 lines
1.6 KiB
Python
Executable File
load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
|
|
|
|
package(
|
|
default_visibility = [
|
|
"//visibility:public"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "linux_includes",
|
|
hdrs = glob([
|
|
"include/linux/*.h",
|
|
]),
|
|
includes = ["include"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "uapi_headers",
|
|
hdrs = glob([
|
|
"include/uapi/display/drm/*.h",
|
|
"include/uapi/display/hdcp/*.h",
|
|
"include/uapi/display/media/*.h",
|
|
]),
|
|
includes = ["include/uapi/display"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "dp_headers",
|
|
hdrs = glob([
|
|
"msm/dp/*.h",
|
|
]),
|
|
includes = ["msm/dp"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "dsi_headers",
|
|
hdrs = glob([
|
|
"msm/dsi/*.h",
|
|
]),
|
|
includes = ["msm/dsi"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "sde_headers",
|
|
hdrs = glob([
|
|
"msm/sde/*.h",
|
|
]),
|
|
includes = ["msm/sde"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "rotator_headers",
|
|
hdrs = glob([
|
|
"rotator/*.h",
|
|
]),
|
|
includes = ["rotator"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "msm_headers",
|
|
hdrs = glob([
|
|
"msm/*.h",
|
|
]),
|
|
includes = ["msm"]
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "sec_display_headers",
|
|
hdrs = glob([
|
|
"msm/samsung/**/*.h",
|
|
]),
|
|
includes = ["msm/samsung"],
|
|
)
|
|
|
|
ddk_headers(
|
|
name = "display_drivers_headers",
|
|
hdrs = [ ":linux_includes", ":uapi_headers", ":msm_headers",":dp_headers",":dsi_headers",":sde_headers",":rotator_headers",":sec_display_headers"]
|
|
)
|
|
|
|
load(":targets/sun.bzl", "define_sun")
|
|
define_sun()
|
|
|
|
load(":targets/pineapple.bzl", "define_pineapple")
|
|
define_pineapple()
|
|
|
|
load(":targets/niobe.bzl", "define_niobe")
|
|
define_niobe()
|
|
|
|
load(":targets/monaco.bzl", "define_monaco")
|
|
define_monaco()
|