From d6054a36475b5ff502b4af78f7d272a713c1a8e7 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- Android.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Android.mk (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..05dc61a --- /dev/null +++ b/Android.mk @@ -0,0 +1,22 @@ +# Copyright 2006 The Android Open Source Project + +# Setting LOCAL_PATH will mess up all-subdir-makefiles, so do it beforehand. +SAVE_MAKEFILES := $(call all-subdir-makefiles) + +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_SHARED_LIBRARIES := libutils libcutils libwpa_client + +include $(SAVE_MAKEFILES) + +# need "-lrt" on Linux simulator to pick up clock_gettime +ifeq ($(TARGET_SIMULATOR),true) + ifeq ($(HOST_OS),linux) + LOCAL_LDLIBS += -lrt -lpthread + endif +endif + +LOCAL_MODULE:= libhardware + +include $(BUILD_SHARED_LIBRARY) -- cgit v1.1