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 | |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "frameworks_native_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | // SPDX-license-identifier-BSD |
| 22 | // SPDX-license-identifier-MIT |
| 23 | // legacy_notice |
| 24 | default_applicable_licenses: ["frameworks_native_license"], |
| 25 | } |
| 26 | |
Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 27 | ndk_headers { |
| 28 | name: "libEGL_headers", |
| 29 | from: "include", |
| 30 | to: "", |
| 31 | srcs: ["include/EGL/**/*.h"], |
Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 32 | license: "include/EGL/NOTICE", |
Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 33 | } |
| 34 | |
Dan Albert | 7facb1d | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 35 | ndk_headers { |
| 36 | name: "libGLESv1_CM_headers", |
| 37 | from: "include", |
| 38 | to: "", |
| 39 | srcs: ["include/GLES/**/*.h"], |
Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 40 | license: "include/GLES/NOTICE", |
Dan Albert | 7facb1d | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Dan Albert | 00500c7 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 43 | ndk_headers { |
| 44 | name: "libGLESv2_headers", |
| 45 | from: "include", |
| 46 | to: "", |
| 47 | srcs: ["include/GLES2/**/*.h"], |
Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 48 | license: "include/GLES2/NOTICE", |
Dan Albert | 00500c7 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 49 | } |
| 50 | |
Dan Albert | d7d8efa | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 51 | ndk_headers { |
| 52 | name: "libGLESv3_headers", |
| 53 | from: "include", |
| 54 | to: "", |
| 55 | srcs: ["include/GLES3/**/*.h"], |
Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 56 | license: "include/GLES3/NOTICE", |
Dan Albert | d7d8efa | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 57 | } |
| 58 | |
Dan Albert | c439088 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 59 | ndk_headers { |
| 60 | name: "khr_headers", |
| 61 | from: "include", |
| 62 | to: "", |
| 63 | srcs: ["include/KHR/**/*.h"], |
Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 64 | license: "include/KHR/NOTICE", |
Dan Albert | c439088 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 65 | } |
| 66 | |
Jiyong Park | 5309d7d | 2017-06-21 12:26:51 +0900 | [diff] [blame] | 67 | cc_library_headers { |
| 68 | name: "gl_headers", |
Jesse Hall | edbd6d8 | 2021-01-05 10:33:32 -0800 | [diff] [blame] | 69 | host_supported: true, |
Jiyong Park | 5309d7d | 2017-06-21 12:26:51 +0900 | [diff] [blame] | 70 | vendor_available: true, |
| 71 | export_include_dirs: ["include"], |
Colin Cross | ed0e6e6 | 2021-04-26 17:19:59 -0700 | [diff] [blame] | 72 | llndk: { |
| 73 | llndk_headers: true, |
| 74 | }, |
Colin Cross | 88fd524 | 2020-12-17 10:31:34 -0800 | [diff] [blame] | 75 | } |
| 76 | |
Dan Albert | 49fbff4 | 2016-10-03 12:36:00 -0700 | [diff] [blame] | 77 | subdirs = [ |
| 78 | "*", |
| 79 | ] |