blob: 030f79cfc6ed58211b27820d418dc32b5d66ac99 [file] [log] [blame]
Alex Vakulenkoe4eec202017-01-27 14:41:04 -08001# Copyright (C) 2008 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
17sourceFiles := \
18 linear_pose_predictor.cpp \
19
20includeFiles := \
21 $(LOCAL_PATH)/include
22
23staticLibraries := \
24 libdvrcommon \
25 libsensor \
26 libpdx_default_transport \
27
28sharedLibraries := \
29
30
31include $(CLEAR_VARS)
32LOCAL_SRC_FILES := $(sourceFiles)
33LOCAL_C_INCLUDES := $(includeFiles)
34LOCAL_CFLAGS := -DLOG_TAG=\"libposepredictor\"
35LOCAL_CFLAGS += -DTRACE=0
36LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles)
37LOCAL_STATIC_LIBRARIES := $(staticLibraries)
38LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
39LOCAL_MODULE := libposepredictor
40include $(BUILD_STATIC_LIBRARY)
41
42
43include $(CLEAR_VARS)
44LOCAL_MODULE_TAGS := optional
45LOCAL_SRC_FILES := \
46 linear_pose_predictor_tests.cpp \
47
48LOCAL_STATIC_LIBRARIES := libposepredictor $(staticLibraries)
49LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
50LOCAL_MODULE := pose_predictor_tests
51include $(BUILD_NATIVE_TEST)