BUILD.bazel 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package(
  2. default_visibility = [
  3. "//visibility:public",
  4. ],
  5. )
  6. load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
  7. ddk_headers(
  8. name = "smcinvoke_kernel_headers",
  9. hdrs = glob([
  10. "include/linux/smcinvoke*.h",
  11. "include/linux/IClientE*.h",
  12. "include/linux/ITrustedCameraDriver.h",
  13. "include/linux/CTrustedCameraDriver.h",
  14. "linux/misc/qseecom_kernel.h",
  15. "linux/misc/qseecom_priv.h",
  16. ]),
  17. includes = [
  18. "include",
  19. "include/linux",
  20. "linux",
  21. ],
  22. )
  23. ddk_headers(
  24. name = "securemsm_kernel_headers",
  25. hdrs = [
  26. "linux/misc/qseecom_kernel.h",
  27. "linux/misc/qseecom_priv.h",
  28. ],
  29. includes = ["linux"],
  30. )
  31. ddk_headers(
  32. name = "hdcp_qseecom_dlkm",
  33. hdrs = glob([
  34. ":smcinvoke_kernel_headers",
  35. "linux/*.h",
  36. "include/linux/*h",
  37. "include/smci/uid/*h",
  38. "include/smci/interface/*h",
  39. "linux/misc/*.h",
  40. "config/*.h",
  41. ]),
  42. includes = [
  43. ".",
  44. "config",
  45. "include",
  46. "linux",
  47. ],
  48. )
  49. ddk_headers(
  50. name = "qcedev_local_headers",
  51. hdrs = glob([
  52. "linux/*.h",
  53. "crypto-qti/*.h"
  54. ]),
  55. includes = [".", "crypto-qti"]
  56. )
  57. ddk_headers(
  58. name = "smmu_proxy_headers",
  59. hdrs = glob([
  60. "smmu-proxy/*.h",
  61. "smmu-proxy/linux/*.h",
  62. "smmu-proxy/uapi/linux/*.h"
  63. ]),
  64. includes = [".", "smmu-proxy"],
  65. )
  66. load("pineapple.bzl", "define_pineapple")
  67. define_pineapple()