Yu Shan | 00c39eb | 2021-09-09 14:21:02 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | package { |
| 18 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 19 | } |
| 20 | |
| 21 | cc_defaults { |
Yu Shan | 3dd24d1 | 2022-06-07 01:02:05 +0000 | [diff] [blame^] | 22 | name: "VehicleHalInterfaceDefaults", |
| 23 | static_libs: [ |
| 24 | "android.hardware.automotive.vehicle-V1-ndk", |
| 25 | ], |
| 26 | } |
| 27 | |
| 28 | cc_defaults { |
Yu Shan | 00c39eb | 2021-09-09 14:21:02 -0700 | [diff] [blame] | 29 | name: "VehicleHalDefaults", |
| 30 | static_libs: [ |
Yu Shan | 75d311d | 2022-02-09 12:01:43 -0800 | [diff] [blame] | 31 | "android-automotive-large-parcelable-lib", |
Yu Shan | 3d8595e | 2021-09-29 15:48:33 -0700 | [diff] [blame] | 32 | "libmath", |
Yu Shan | 00c39eb | 2021-09-09 14:21:02 -0700 | [diff] [blame] | 33 | ], |
| 34 | shared_libs: [ |
| 35 | "libbase", |
| 36 | "liblog", |
| 37 | "libutils", |
| 38 | ], |
| 39 | cflags: [ |
| 40 | "-Wall", |
| 41 | "-Wextra", |
| 42 | "-Werror", |
Yu Shan | 81fbbea | 2021-09-16 19:44:55 -0700 | [diff] [blame] | 43 | "-Wthread-safety", |
Yu Shan | 00c39eb | 2021-09-09 14:21:02 -0700 | [diff] [blame] | 44 | ], |
Yu Shan | 5b320fb | 2022-01-21 20:02:16 -0800 | [diff] [blame] | 45 | defaults: [ |
Yu Shan | 3dd24d1 | 2022-06-07 01:02:05 +0000 | [diff] [blame^] | 46 | "VehicleHalInterfaceDefaults", |
Yu Shan | 5b320fb | 2022-01-21 20:02:16 -0800 | [diff] [blame] | 47 | "android-automotive-large-parcelable-defaults", |
| 48 | ], |
Yu Shan | 00c39eb | 2021-09-09 14:21:02 -0700 | [diff] [blame] | 49 | } |