blob: 82e11a837a5d538ab5c7bd7b2dee0695850f1344 [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
Bob Badourb224b362021-02-12 20:13:01 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Haoxiang Lia4a81e32020-02-11 00:32:33 -080026cc_binary {
27 name: "android.hardware.automotive.sv@1.0-service",
28 vendor: true,
29 relative_install_path: "hw",
30 srcs: [
31 "service.cpp",
Ayushi Khopkar19f40982021-05-11 14:02:16 +053032 ":automotiveSvV1.0_sources",
Haoxiang Lia4a81e32020-02-11 00:32:33 -080033 ],
34 init_rc: ["android.hardware.automotive.sv@1.0-service.rc"],
35 vintf_fragments: ["android.hardware.automotive.sv@1.0-service.xml"],
36 shared_libs: [
37 "android.hardware.automotive.sv@1.0",
38 "android.hidl.memory@1.0",
39 "libbase",
40 "libbinder",
41 "libcutils",
42 "libhardware",
43 "libhidlbase",
44 "liblog",
45 "libui",
46 "libutils",
47 "libhidlmemory",
48 ],
49
50 cflags: [
51 "-O0",
52 "-g",
53 ],
54}
Ayushi Khopkar19f40982021-05-11 14:02:16 +053055
56filegroup {
57 name: "automotiveSvV1.0_sources",
58 srcs: [
59 "SurroundViewService.cpp",
60 "SurroundView2dSession.cpp",
61 "SurroundView3dSession.cpp",
62 ],
63}
64
65cc_library_headers {
66 name: "automotiveSvV1.0_headers",
67 export_include_dirs: ["."],
68}