blob: 73f7df051358a13069ef54f70907e02f3a07d5d1 [file] [log] [blame]
Yu Shan00c39eb2021-09-09 14:21:02 -07001/*
2 * Copyright (C) 2021 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
17package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_defaults {
Yu Shan3dd24d12022-06-07 01:02:05 +000022 name: "VehicleHalInterfaceDefaults",
23 static_libs: [
Yu Shand7f9e232022-06-06 22:09:57 +000024 "android.hardware.automotive.vehicle-V2-ndk",
Yu Shan3dd24d12022-06-07 01:02:05 +000025 ],
26}
27
28cc_defaults {
Yu Shan00c39eb2021-09-09 14:21:02 -070029 name: "VehicleHalDefaults",
30 static_libs: [
Yu Shan75d311d2022-02-09 12:01:43 -080031 "android-automotive-large-parcelable-lib",
Yu Shan3d8595e2021-09-29 15:48:33 -070032 "libmath",
Yu Shan00c39eb2021-09-09 14:21:02 -070033 ],
34 shared_libs: [
35 "libbase",
36 "liblog",
37 "libutils",
38 ],
39 cflags: [
40 "-Wall",
41 "-Wextra",
42 "-Werror",
Yu Shan81fbbea2021-09-16 19:44:55 -070043 "-Wthread-safety",
Yu Shan00c39eb2021-09-09 14:21:02 -070044 ],
Yu Shan5b320fb2022-01-21 20:02:16 -080045 defaults: [
Yu Shan3dd24d12022-06-07 01:02:05 +000046 "VehicleHalInterfaceDefaults",
Yu Shan5b320fb2022-01-21 20:02:16 -080047 "android-automotive-large-parcelable-defaults",
48 ],
Yu Shan00c39eb2021-09-09 14:21:02 -070049}