| 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 | 8d455e9 | 2017-08-10 20:30:56 +0900 | [diff] [blame] | 55 | llndk_library { | 
 | 56 |     name: "libEGL", | 
 | 57 |     symbol_file: "libs/libEGL.map.txt", | 
 | 58 |     export_include_dirs: ["include"], | 
 | 59 | } | 
 | 60 |  | 
 | 61 | llndk_library { | 
 | 62 |     name: "libGLESv1_CM", | 
 | 63 |     symbol_file: "libs/libGLESv1_CM.map.txt", | 
 | 64 |     export_include_dirs: ["include"], | 
 | 65 | } | 
 | 66 |  | 
 | 67 | llndk_library { | 
 | 68 |     name: "libGLESv2", | 
 | 69 |     symbol_file: "libs/libGLESv2.map.txt", | 
 | 70 |     export_include_dirs: ["include"], | 
 | 71 | } | 
 | 72 |  | 
 | 73 | llndk_library { | 
 | 74 |     name: "libGLESv3", | 
 | 75 |     symbol_file: "libs/libGLESv3.map.txt", | 
 | 76 |     export_include_dirs: ["include"], | 
 | 77 | } | 
 | 78 |  | 
| Jiyong Park | 5309d7d | 2017-06-21 12:26:51 +0900 | [diff] [blame] | 79 | cc_library_headers { | 
 | 80 |     name: "gl_headers", | 
 | 81 |     vendor_available: true, | 
 | 82 |     export_include_dirs: ["include"], | 
 | 83 | } | 
 | 84 |  | 
| Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 85 | subdirs = [ | 
 | 86 |     "*", | 
 | 87 | ] |