blob: a30d753f33a2649b1ba2782d5859bbfc518d64a6 [file] [log] [blame]
Pavel Maltseva2f426a2016-10-04 10:17:05 -07001# Copyright (C) 2016 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
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18LOCAL_MODULE := android.hardware.vehicle@2.0-impl
19# TODO(pavelm): add LOCAL_INIT_RC
20LOCAL_MODULE_RELATIVE_PATH := hw
21LOCAL_SRC_FILES := \
22 Vehicle.cpp \
23 VehicleCallback.cpp \
24
25LOCAL_SHARED_LIBRARIES := \
26 libhidl \
27 libhwbinder \
28 libutils \
29 android.hardware.vehicle@2.0 \
30
31include $(BUILD_SHARED_LIBRARY)
32
33
34include $(CLEAR_VARS)
35LOCAL_MODULE := android.hardware.vehicle@2.0-service
36LOCAL_MODULE_RELATIVE_PATH := hw
37LOCAL_SRC_FILES := \
38 VehicleService.cpp
39
40LOCAL_SHARED_LIBRARIES := \
41 liblog \
42 libbinder \
43 libhidl \
44 libhwbinder \
45 libutils \
46 android.hardware.vehicle@2.0
47
48include $(BUILD_EXECUTABLE)