blob: 9ca8b0b0fdbf8ddee79cca97e02fde684cbc4ba3 [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
15ndk_headers {
16 name: "libEGL_headers",
17 from: "include",
18 to: "",
19 srcs: ["include/EGL/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070020 license: "include/EGL/NOTICE",
Dan Albert49fbff42016-10-03 12:36:00 -070021}
22
Dan Albert7facb1d2016-10-03 12:36:00 -070023ndk_headers {
24 name: "libGLESv1_CM_headers",
25 from: "include",
26 to: "",
27 srcs: ["include/GLES/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070028 license: "include/GLES/NOTICE",
Dan Albert7facb1d2016-10-03 12:36:00 -070029}
30
Dan Albert00500c72016-10-03 12:36:00 -070031ndk_headers {
32 name: "libGLESv2_headers",
33 from: "include",
34 to: "",
35 srcs: ["include/GLES2/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070036 license: "include/GLES2/NOTICE",
Dan Albert00500c72016-10-03 12:36:00 -070037}
38
Dan Albertd7d8efa2016-10-03 12:36:00 -070039ndk_headers {
40 name: "libGLESv3_headers",
41 from: "include",
42 to: "",
43 srcs: ["include/GLES3/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070044 license: "include/GLES3/NOTICE",
Dan Albertd7d8efa2016-10-03 12:36:00 -070045}
46
Dan Albertc4390882016-10-04 17:49:33 -070047ndk_headers {
48 name: "khr_headers",
49 from: "include",
50 to: "",
51 srcs: ["include/KHR/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070052 license: "include/KHR/NOTICE",
Dan Albertc4390882016-10-04 17:49:33 -070053}
54
Jiyong Park8d455e92017-08-10 20:30:56 +090055llndk_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
Jiyong Park5309d7d2017-06-21 12:26:51 +090079cc_library_headers {
80 name: "gl_headers",
81 vendor_available: true,
82 export_include_dirs: ["include"],
83}
84
Dan Albert49fbff42016-10-03 12:36:00 -070085subdirs = [
86 "*",
87]