1 # Copyright (C) 2008 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 LOCAL_PATH := $(call my-dir)
17 SENSORD_EXTEND ?= libsensordextensionstub
23 sensor_hal_thread.cpp \
24 sensor_ndk_thread.cpp \
36 libpdx_default_transport \
49 cFlags := -DLOG_TAG=\"sensord\" \
53 # Don't strip symbols so we see stack traces in logcat.
54 LOCAL_STRIP_MODULE := false
55 LOCAL_SRC_FILES := $(sourceFiles)
56 LOCAL_CFLAGS := $(cFlags)
57 LOCAL_STATIC_LIBRARIES := $(staticLibraries)
58 LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
59 LOCAL_MODULE_CLASS := EXECUTABLES
60 LOCAL_MODULE := sensord
61 LOCAL_C_INCLUDES := $(includeFiles)
63 $(call local-generated-sources-dir)/proto/frameworks/native/services/vr/sensord
64 LOCAL_INIT_RC := sensord.rc
65 include $(BUILD_EXECUTABLE)
68 LOCAL_STATIC_LIBRARIES := $(staticLibraries)
69 LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
70 LOCAL_SRC_FILES := test/poselatencytest.cpp
71 LOCAL_MODULE := poselatencytest
72 include $(BUILD_EXECUTABLE)
75 LOCAL_MODULE := libsensordextensionstub
76 LOCAL_SRC_FILES := sensord_extension.cpp
77 include $(BUILD_SHARED_LIBRARY)