BUILD.bazel 818 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
  2. package(
  3. default_visibility = [
  4. "//visibility:public"],
  5. )
  6. ddk_headers(
  7. name = "goodix_ts_headers",
  8. hdrs = glob([
  9. "goodix_berlin_driver/*.h",
  10. "qts/*.h"
  11. ]
  12. )
  13. )
  14. ddk_headers(
  15. name = "nt36xxx_headers",
  16. hdrs = glob([
  17. "nt36xxx/*.h"
  18. ]
  19. )
  20. )
  21. ddk_headers(
  22. name = "atmel_mxt_headers",
  23. hdrs = glob([
  24. "qts/*.h"
  25. ]
  26. )
  27. )
  28. ddk_headers(
  29. name = "config_headers",
  30. hdrs = glob([
  31. "config/*.h"
  32. ]
  33. ),
  34. includes = ["config"]
  35. )
  36. ddk_headers(
  37. name = "touch_drivers_headers",
  38. hdrs = [":goodix_ts_headers", ":nt36xxx_headers", ":atmel_mxt_headers", ":config_headers"]
  39. )
  40. load(":target.bzl", "define_pineapple")
  41. define_pineapple()