| Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 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 |  | 
 | 15 | ndk_headers { | 
 | 16 |     name: "libEGL_headers", | 
 | 17 |     from: "include", | 
 | 18 |     to: "", | 
 | 19 |     srcs: ["include/EGL/**/*.h"], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 20 |     license: "include/EGL/NOTICE", | 
| Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 21 | } | 
 | 22 |  | 
| Dan Albert | 7facb1d | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 23 | ndk_headers { | 
 | 24 |     name: "libGLESv1_CM_headers", | 
 | 25 |     from: "include", | 
 | 26 |     to: "", | 
 | 27 |     srcs: ["include/GLES/**/*.h"], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 28 |     license: "include/GLES/NOTICE", | 
| Dan Albert | 7facb1d | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 29 | } | 
 | 30 |  | 
| Dan Albert | 00500c7 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 31 | ndk_headers { | 
 | 32 |     name: "libGLESv2_headers", | 
 | 33 |     from: "include", | 
 | 34 |     to: "", | 
 | 35 |     srcs: ["include/GLES2/**/*.h"], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 36 |     license: "include/GLES2/NOTICE", | 
| Dan Albert | 00500c7 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 37 | } | 
 | 38 |  | 
| Dan Albert | d7d8efa | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 39 | ndk_headers { | 
 | 40 |     name: "libGLESv3_headers", | 
 | 41 |     from: "include", | 
 | 42 |     to: "", | 
 | 43 |     srcs: ["include/GLES3/**/*.h"], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 44 |     license: "include/GLES3/NOTICE", | 
| Dan Albert | d7d8efa | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 45 | } | 
 | 46 |  | 
| Dan Albert | c439088 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 47 | ndk_headers { | 
 | 48 |     name: "khr_headers", | 
 | 49 |     from: "include", | 
 | 50 |     to: "", | 
 | 51 |     srcs: ["include/KHR/**/*.h"], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 52 |     license: "include/KHR/NOTICE", | 
| Dan Albert | c439088 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 53 | } | 
 | 54 |  | 
| Jiyong Park | 5309d7d | 2017-06-21 12:26:51 +0900 | [diff] [blame] | 55 | cc_library_headers { | 
 | 56 |     name: "gl_headers", | 
| Jesse Hall | edbd6d8 | 2021-01-05 10:33:32 -0800 | [diff] [blame] | 57 |     host_supported: true, | 
| Jiyong Park | 5309d7d | 2017-06-21 12:26:51 +0900 | [diff] [blame] | 58 |     vendor_available: true, | 
 | 59 |     export_include_dirs: ["include"], | 
 | 60 | } | 
 | 61 |  | 
| Colin Cross | 88fd524 | 2020-12-17 10:31:34 -0800 | [diff] [blame] | 62 | llndk_headers { | 
 | 63 |     name: "gl_llndk_headers", | 
 | 64 |     export_include_dirs: ["include"], | 
 | 65 | } | 
 | 66 |  | 
| Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 67 | subdirs = [ | 
 | 68 |     "*", | 
 | 69 | ] |