Android.bp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Copyright (C) 2016 The Android Open Source Project
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. ndk_headers {
  15. name: "libEGL_headers",
  16. from: "include",
  17. to: "",
  18. srcs: ["include/EGL/**/*.h"],
  19. license: "include/EGL/NOTICE",
  20. }
  21. ndk_headers {
  22. name: "libGLESv1_CM_headers",
  23. from: "include",
  24. to: "",
  25. srcs: ["include/GLES/**/*.h"],
  26. license: "include/GLES/NOTICE",
  27. }
  28. ndk_headers {
  29. name: "libGLESv2_headers",
  30. from: "include",
  31. to: "",
  32. srcs: ["include/GLES2/**/*.h"],
  33. license: "include/GLES2/NOTICE",
  34. }
  35. ndk_headers {
  36. name: "libGLESv3_headers",
  37. from: "include",
  38. to: "",
  39. srcs: ["include/GLES3/**/*.h"],
  40. license: "include/GLES3/NOTICE",
  41. }
  42. ndk_headers {
  43. name: "khr_headers",
  44. from: "include",
  45. to: "",
  46. srcs: ["include/KHR/**/*.h"],
  47. license: "include/KHR/NOTICE",
  48. }
  49. llndk_library {
  50. name: "libEGL",
  51. symbol_file: "libs/libEGL.map.txt",
  52. export_include_dirs: ["include"],
  53. }
  54. llndk_library {
  55. name: "libGLESv1_CM",
  56. symbol_file: "libs/libGLESv1_CM.map.txt",
  57. export_include_dirs: ["include"],
  58. }
  59. llndk_library {
  60. name: "libGLESv2",
  61. symbol_file: "libs/libGLESv2.map.txt",
  62. export_include_dirs: ["include"],
  63. }
  64. llndk_library {
  65. name: "libGLESv3",
  66. symbol_file: "libs/libGLESv3.map.txt",
  67. export_include_dirs: ["include"],
  68. }
  69. cc_library_headers {
  70. name: "gl_headers",
  71. vendor_available: true,
  72. export_include_dirs: ["include"],
  73. }
  74. subdirs = [
  75. "*",
  76. ]