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 15package { 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 27ndk_headers { 28 name: "libEGL_headers", 29 from: "include", 30 to: "", 31 srcs: ["include/EGL/**/*.h"], 32 license: "include/EGL/NOTICE", 33} 34 35ndk_headers { 36 name: "libGLESv1_CM_headers", 37 from: "include", 38 to: "", 39 srcs: ["include/GLES/**/*.h"], 40 license: "include/GLES/NOTICE", 41} 42 43ndk_headers { 44 name: "libGLESv2_headers", 45 from: "include", 46 to: "", 47 srcs: ["include/GLES2/**/*.h"], 48 license: "include/GLES2/NOTICE", 49} 50 51ndk_headers { 52 name: "libGLESv3_headers", 53 from: "include", 54 to: "", 55 srcs: ["include/GLES3/**/*.h"], 56 license: "include/GLES3/NOTICE", 57} 58 59ndk_headers { 60 name: "khr_headers", 61 from: "include", 62 to: "", 63 srcs: ["include/KHR/**/*.h"], 64 license: "include/KHR/NOTICE", 65} 66 67cc_library_headers { 68 name: "gl_headers", 69 host_supported: true, 70 vendor_available: true, 71 export_include_dirs: ["include"], 72 llndk: { 73 llndk_headers: true, 74 }, 75} 76 77subdirs = [ 78 "*", 79] 80