diff options
author | Mike Lockwood <lockwood@android.com> | 2010-02-23 18:49:32 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-04-05 12:38:06 -0400 |
commit | b2134e41180171ec975abc5159697575333d09a8 (patch) | |
tree | 434137aa17ac4977fbc659fafc1b38260a91da3f /emulator/gps/Android.mk | |
parent | 964400638c75cc53ea8228d7fc4a3084f1052a8f (diff) | |
download | sdk-b2134e41180171ec975abc5159697575333d09a8.zip sdk-b2134e41180171ec975abc5159697575333d09a8.tar.gz sdk-b2134e41180171ec975abc5159697575333d09a8.tar.bz2 |
New GPS HAL for qemu
This will replace equivalent code in libhardware_legacy
Change-Id: I611e34a187ed8460490f793538446c11c7c83cab
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'emulator/gps/Android.mk')
-rw-r--r-- | emulator/gps/Android.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/emulator/gps/Android.mk b/emulator/gps/Android.mk new file mode 100644 index 0000000..77b2de5 --- /dev/null +++ b/emulator/gps/Android.mk @@ -0,0 +1,30 @@ +# Copyright (C) 2010 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +LOCAL_PATH := $(call my-dir) + +ifneq ($(TARGET_PRODUCT),sim) +# HAL module implemenation, not prelinked and stored in +# hw/<GPS_HARDWARE_MODULE_ID>.<ro.hardware>.so +include $(CLEAR_VARS) +LOCAL_PRELINK_MODULE := false +LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw +LOCAL_CFLAGS += -DQEMU_HARDWARE +LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware +LOCAL_SRC_FILES := gps_qemu.c +LOCAL_MODULE := gps.goldfish +LOCAL_MODULE_TAGS := debug +include $(BUILD_SHARED_LIBRARY) +endif |