blob: 8417949eba40b0a872dbc1b3fefe7af4b0f4ef75 [file] [log] [blame]
Haoxiang Lia4a81e32020-02-11 00:32:33 -08001//
2// Copyright (C) 2020 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_binary {
18 name: "android.hardware.automotive.sv@1.0-service",
19 vendor: true,
20 relative_install_path: "hw",
21 srcs: [
22 "service.cpp",
23 "SurroundViewService.cpp",
24 "SurroundView2dSession.cpp",
25 "SurroundView3dSession.cpp",
26 ],
27 init_rc: ["android.hardware.automotive.sv@1.0-service.rc"],
28 vintf_fragments: ["android.hardware.automotive.sv@1.0-service.xml"],
29 shared_libs: [
30 "android.hardware.automotive.sv@1.0",
31 "android.hidl.memory@1.0",
32 "libbase",
33 "libbinder",
34 "libcutils",
35 "libhardware",
36 "libhidlbase",
37 "liblog",
38 "libui",
39 "libutils",
40 "libhidlmemory",
41 ],
42
43 cflags: [
44 "-O0",
45 "-g",
46 ],
47}