BUILD.bazel 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/uapi/linux/smcinvoke*.h",
  12. "include/linux/IClientE*.h",
  13. "include/linux/ITrustedCameraDriver.h",
  14. "include/linux/CTrustedCameraDriver.h",
  15. "linux/misc/qseecom_kernel.h",
  16. "linux/misc/qseecom_priv.h",
  17. ]),
  18. includes = [
  19. "include",
  20. "include/linux",
  21. "linux",
  22. "include/uapi/linux",
  23. ],
  24. )
  25. ddk_headers(
  26. name = "securemsm_kernel_headers",
  27. hdrs = [
  28. "linux/misc/qseecom_kernel.h",
  29. "linux/misc/qseecom_priv.h",
  30. ],
  31. includes = ["linux"],
  32. )
  33. ddk_headers(
  34. name = "hdcp_qseecom_dlkm",
  35. hdrs = glob([
  36. ":smcinvoke_kernel_headers",
  37. "linux/*.h",
  38. "include/linux/*h",
  39. "include/smci/uid/*h",
  40. "include/smci/interface/*h",
  41. "linux/misc/*.h",
  42. "config/*.h",
  43. ]),
  44. includes = [
  45. ".",
  46. "config",
  47. "include",
  48. "linux",
  49. ],
  50. )
  51. ddk_headers(
  52. name = "qcedev_local_headers",
  53. hdrs = glob([
  54. "include/uapi/linux/*.h",
  55. "crypto-qti/*.h"
  56. ]),
  57. includes = ["include/uapi", "include/uapi/linux", "crypto-qti"]
  58. )
  59. ddk_headers(
  60. name = "smmu_proxy_headers",
  61. hdrs = glob([
  62. "smmu-proxy/*.h",
  63. "smmu-proxy/linux/*.h",
  64. "smmu-proxy/uapi/linux/*.h"
  65. ]),
  66. includes = [".", "smmu-proxy"],
  67. )
  68. load("pineapple.bzl", "define_pineapple")
  69. define_pineapple()