OSDN Git Service

aec5a956285b771ec09066ca75bf6a47453987cc
[android-x86/frameworks-native.git] / opengl / Android.bp
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
15 ndk_headers {
16     name: "libEGL_headers",
17     from: "include",
18     to: "",
19     srcs: ["include/EGL/**/*.h"],
20     license: "include/EGL/NOTICE",
21 }
22
23 ndk_headers {
24     name: "libGLESv1_CM_headers",
25     from: "include",
26     to: "",
27     srcs: ["include/GLES/**/*.h"],
28     license: "include/GLES/NOTICE",
29 }
30
31 ndk_headers {
32     name: "libGLESv2_headers",
33     from: "include",
34     to: "",
35     srcs: ["include/GLES2/**/*.h"],
36     license: "include/GLES2/NOTICE",
37 }
38
39 ndk_headers {
40     name: "libGLESv3_headers",
41     from: "include",
42     to: "",
43     srcs: ["include/GLES3/**/*.h"],
44     license: "include/GLES3/NOTICE",
45 }
46
47 ndk_headers {
48     name: "khr_headers",
49     from: "include",
50     to: "",
51     srcs: ["include/KHR/**/*.h"],
52     license: "include/KHR/NOTICE",
53 }
54
55 cc_library_headers {
56     name: "gl_headers",
57     vendor_available: true,
58     export_include_dirs: ["include"],
59 }
60
61 subdirs = [
62     "*",
63 ]