blob: 3878cb1899674571d9b89c6f44152a2f1521cf28 [file] [log] [blame]
Dan Albert49fbff42016-10-03 12:36:00 -07001// 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 Badour3306e492021-02-25 15:35:37 -080015package {
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 Albert49fbff42016-10-03 12:36:00 -070027ndk_headers {
28 name: "libEGL_headers",
29 from: "include",
30 to: "",
31 srcs: ["include/EGL/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070032 license: "include/EGL/NOTICE",
Dan Albert49fbff42016-10-03 12:36:00 -070033}
34
Dan Albert7facb1d2016-10-03 12:36:00 -070035ndk_headers {
36 name: "libGLESv1_CM_headers",
37 from: "include",
38 to: "",
39 srcs: ["include/GLES/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070040 license: "include/GLES/NOTICE",
Dan Albert7facb1d2016-10-03 12:36:00 -070041}
42
Dan Albert00500c72016-10-03 12:36:00 -070043ndk_headers {
44 name: "libGLESv2_headers",
45 from: "include",
46 to: "",
47 srcs: ["include/GLES2/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070048 license: "include/GLES2/NOTICE",
Dan Albert00500c72016-10-03 12:36:00 -070049}
50
Dan Albertd7d8efa2016-10-03 12:36:00 -070051ndk_headers {
52 name: "libGLESv3_headers",
53 from: "include",
54 to: "",
55 srcs: ["include/GLES3/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070056 license: "include/GLES3/NOTICE",
Dan Albertd7d8efa2016-10-03 12:36:00 -070057}
58
Dan Albertc4390882016-10-04 17:49:33 -070059ndk_headers {
60 name: "khr_headers",
61 from: "include",
62 to: "",
63 srcs: ["include/KHR/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070064 license: "include/KHR/NOTICE",
Dan Albertc4390882016-10-04 17:49:33 -070065}
66
Jiyong Park5309d7d2017-06-21 12:26:51 +090067cc_library_headers {
68 name: "gl_headers",
Jesse Halledbd6d82021-01-05 10:33:32 -080069 host_supported: true,
Jiyong Park5309d7d2017-06-21 12:26:51 +090070 vendor_available: true,
71 export_include_dirs: ["include"],
72}
73
Colin Cross88fd5242020-12-17 10:31:34 -080074llndk_headers {
75 name: "gl_llndk_headers",
76 export_include_dirs: ["include"],
77}
78
Dan Albert49fbff42016-10-03 12:36:00 -070079subdirs = [
80 "*",
81]