blob: a9b8d6693391ddc985054fa695b3cf45ba373086 [file] [log] [blame]
Alec Mouri671d0f52019-09-05 13:59:19 -07001// Copyright 2019 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
Alec Mouricc445222019-10-22 10:19:17 -070015ndk_headers {
16 name: "libachoreographer_ndk_headers",
17 from: "include/android",
18 to: "android",
19 srcs: ["include/android/*.h"],
20 license: "NOTICE",
21}
22
Alec Mouri671d0f52019-09-05 13:59:19 -070023cc_library_headers {
24 name: "libnativedisplay_headers",
25 export_include_dirs: ["include"],
26}
27
28cc_library {
29 name: "libnativedisplay",
30 export_include_dirs: [
31 "include",
32 ],
33
34 clang: true,
35
36 cflags: [
37 "-Wall",
38 "-Werror",
39 "-Wno-enum-compare",
40 "-Wno-unused-function",
41 ],
42
43 srcs: [
Alec Mouricc445222019-10-22 10:19:17 -070044 "AChoreographer.cpp",
Alec Mouri671d0f52019-09-05 13:59:19 -070045 "ADisplay.cpp",
46 ],
47
48 shared_libs: [
Alec Mouricc445222019-10-22 10:19:17 -070049 "libandroidfw",
Alec Mouri671d0f52019-09-05 13:59:19 -070050 "libgui",
51 "liblog",
Alec Mouri46170512019-11-20 11:04:55 -080052 "libnativewindow",
Alec Mouri671d0f52019-09-05 13:59:19 -070053 "libui",
54 "libutils",
55 ],
56
57 header_libs: [
58 "libnativedisplay_headers",
59 ],
60
61}