Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2013 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 | |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
Aaron Whyte | ab6ec38 | 2013-10-22 17:17:17 -0700 | [diff] [blame] | 19 | ifeq ($(USE_SENSOR_MULTI_HAL),true) |
| 20 | |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 21 | include $(CLEAR_VARS) |
| 22 | |
Nick Vaccaro | a889c09 | 2016-04-15 10:17:07 -0700 | [diff] [blame] | 23 | LOCAL_MODULE := sensors.$(TARGET_DEVICE) |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 24 | |
Satya Durga Srinivasu Prabhala | 1fd3618 | 2015-01-20 18:53:35 -0800 | [diff] [blame] | 25 | LOCAL_MODULE_RELATIVE_PATH := hw |
Po-Chien Hsueh | c535b2f | 2017-03-02 15:44:24 +0800 | [diff] [blame] | 26 | LOCAL_PROPRIETARY_MODULE := true |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 27 | |
| 28 | LOCAL_CFLAGS := -DLOG_TAG=\"MultiHal\" |
Aaron Whyte | ab6ec38 | 2013-10-22 17:17:17 -0700 | [diff] [blame] | 29 | |
| 30 | LOCAL_SRC_FILES := \ |
| 31 | multihal.cpp \ |
Aaron Whyte | ab6ec38 | 2013-10-22 17:17:17 -0700 | [diff] [blame] | 32 | SensorEventQueue.cpp \ |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 33 | |
Tri Vo | b12ae8c | 2017-06-23 11:23:54 -0700 | [diff] [blame] | 34 | LOCAL_HEADER_LIBRARIES := \ |
| 35 | libhardware_headers \ |
| 36 | |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 37 | LOCAL_SHARED_LIBRARIES := \ |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 38 | libcutils \ |
| 39 | libdl \ |
Aaron Whyte | ab6ec38 | 2013-10-22 17:17:17 -0700 | [diff] [blame] | 40 | liblog \ |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 41 | libutils \ |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 42 | |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 43 | LOCAL_STRIP_MODULE := false |
| 44 | |
Mike Lockwood | 0790832 | 2013-10-17 08:05:00 -0700 | [diff] [blame] | 45 | include $(BUILD_SHARED_LIBRARY) |
| 46 | |
| 47 | endif # USE_SENSOR_MULTI_HAL |
Aaron Whyte | ab6ec38 | 2013-10-22 17:17:17 -0700 | [diff] [blame] | 48 | |
Brian Carlstrom | 8e30097 | 2014-06-30 15:15:45 -0700 | [diff] [blame] | 49 | include $(call all-makefiles-under, $(LOCAL_PATH)) |