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
15ndk_headers {
16    name: "libEGL_headers",
17    from: "include",
18    to: "",
19    srcs: ["include/EGL/**/*.h"],
20    license: "include/EGL/NOTICE",
21}
22
23ndk_headers {
24    name: "libGLESv1_CM_headers",
25    from: "include",
26    to: "",
27    srcs: ["include/GLES/**/*.h"],
28    license: "include/GLES/NOTICE",
29}
30
31ndk_headers {
32    name: "libGLESv2_headers",
33    from: "include",
34    to: "",
35    srcs: ["include/GLES2/**/*.h"],
36    license: "include/GLES2/NOTICE",
37}
38
39ndk_headers {
40    name: "libGLESv3_headers",
41    from: "include",
42    to: "",
43    srcs: ["include/GLES3/**/*.h"],
44    license: "include/GLES3/NOTICE",
45}
46
47ndk_headers {
48    name: "khr_headers",
49    from: "include",
50    to: "",
51    srcs: ["include/KHR/**/*.h"],
52    license: "include/KHR/NOTICE",
53}
54
55llndk_library {
56    name: "libEGL",
57    symbol_file: "libs/libEGL.map.txt",
58    export_include_dirs: ["include"],
59}
60
61llndk_library {
62    name: "libGLESv1_CM",
63    symbol_file: "libs/libGLESv1_CM.map.txt",
64    export_include_dirs: ["include"],
65}
66
67llndk_library {
68    name: "libGLESv2",
69    symbol_file: "libs/libGLESv2.map.txt",
70    export_include_dirs: ["include"],
71}
72
73llndk_library {
74    name: "libGLESv3",
75    symbol_file: "libs/libGLESv3.map.txt",
76    export_include_dirs: ["include"],
77}
78
79cc_library_headers {
80    name: "gl_headers",
81    vendor_available: true,
82    export_include_dirs: ["include"],
83}
84
85subdirs = [
86    "*",
87]
88