• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2015 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#
15#
16LOCAL_PATH:= $(call my-dir)
17##################################
18include $(CLEAR_VARS)
19
20LOCAL_SRC_FILES := $(patsubst ./%,%, $(shell cd $(LOCAL_PATH); \
21    find . -name "*.cpp" -and -not -name ".*")) \
22    InternalPropertyDef.c
23LOCAL_SRC_FILES := $(filter-out main_vehiclenetwork.cpp, $(LOCAL_SRC_FILES))
24
25LOCAL_C_INCLUDES += \
26    libcore/include \
27    frameworks/base/include \
28    packages/services/Car/libvehiclenetwork/include \
29    external/libxml2/include \
30    external/icu/icu4c/source/common
31
32LOCAL_MODULE := libvehiclenetworkservice
33LOCAL_MODULE_TAGS := optional
34
35include $(BUILD_STATIC_LIBRARY)
36
37##################################
38include $(CLEAR_VARS)
39
40LOCAL_SRC_FILES := \
41    main_vehiclenetwork.cpp
42
43LOCAL_C_INCLUDES += \
44    libcore/include \
45    frameworks/base/include \
46    packages/services/Car/libvehiclenetwork/include \
47    external/libxml2/include \
48    external/icu/icu4c/source/common
49
50LOCAL_SHARED_LIBRARIES := \
51    libbinder \
52    liblog \
53    libutils \
54    libhardware \
55    libvehiclenetwork-native \
56    libcutils \
57    libxml2
58
59LOCAL_WHOLE_STATIC_LIBRARIES := \
60    libvehiclenetworkservice
61
62LOCAL_STRIP_MODULE := keep_symbols
63
64LOCAL_MODULE := vehicle_network_service
65LOCAL_MODULE_TAGS := optional
66
67include $(BUILD_EXECUTABLE)
68