blob: 8b77a5d738b880d99ccd734cb35f84dc3b2a8494 [file] [log] [blame]
Haoxiang Liac9dca62019-08-08 17:32:02 -07001// Copyright (C) 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//
15//
16
17//#################################
18cc_library_shared {
19 name: "libevssupport",
20
21 srcs: [
Haoxiang Liac9dca62019-08-08 17:32:02 -070022 "RenderBase.cpp",
23 "RenderDirectView.cpp",
Haoxiang Liac9dca62019-08-08 17:32:02 -070024 "ConfigManager.cpp",
25 "glError.cpp",
26 "shader.cpp",
27 "TexWrapper.cpp",
28 "VideoTex.cpp",
29 "StreamHandler.cpp",
Haoxiang Lic8888592019-09-19 16:39:53 -070030 "ResourceManager.cpp",
Haoxiang Liac9dca62019-08-08 17:32:02 -070031 "FormatConvert.cpp",
Haoxiang Lid2454a52019-06-18 13:23:12 -070032 "DisplayUseCase.cpp",
Haoxiang Li3993d002019-09-17 14:42:02 -070033 "AnalyzeUseCase.cpp",
Haoxiang Lid2454a52019-06-18 13:23:12 -070034 "Utils.cpp",
Haoxiang Liac9dca62019-08-08 17:32:02 -070035 ],
36
37 shared_libs: [
38 "libcutils",
39 "liblog",
40 "libutils",
41 "libui",
42 "libhidlbase",
Haoxiang Liac9dca62019-08-08 17:32:02 -070043 "libEGL",
44 "libGLESv2",
45 "libhardware",
46 "libpng",
47 "android.hardware.automotive.evs@1.0",
Haoxiang Liac9dca62019-08-08 17:32:02 -070048 ],
49
50 static_libs: [
51 "libmath",
52 "libjsoncpp",
53 ],
54
Haoxiang Lid2454a52019-06-18 13:23:12 -070055 required: [
56 "camera_config.json",
57 ],
58
Haoxiang Liac9dca62019-08-08 17:32:02 -070059 cflags: ["-DLOG_TAG=\"libevssupport\""] + [
60 "-DGL_GLEXT_PROTOTYPES",
61 "-DEGL_EGLEXT_PROTOTYPES",
62 ] + [
63 "-Wall",
64 "-Werror",
65 "-Wunused",
66 "-Wunreachable-code",
67 ],
Haoxiang Liac9dca62019-08-08 17:32:02 -070068}
Haoxiang Lid2454a52019-06-18 13:23:12 -070069
70prebuilt_etc {
71 name: "camera_config.json",
72
73 src: "config.json",
74 sub_dir: "automotive/evs_support_lib",
75}
76