diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 09457b6e6c51b981b61a99a2157e0b3dd4bea444 (patch) | |
tree | 2e6cfce937a68825dd8abeeeb474f3776ce58e00 /Android.mk | |
parent | bc0ee9afa1072f1943b18f74560cb71840470597 (diff) | |
download | tinyxml-09457b6e6c51b981b61a99a2157e0b3dd4bea444.tar.gz |
Initial Contributionandroid-1.0release-1.0cdma-import
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..0eec19d --- /dev/null +++ b/Android.mk @@ -0,0 +1,41 @@ +# Copyright 2005 The Android Open Source Project +# +# Android.mk for TinyXml. +# +# Add -DTIXML_USE_STL to CFLAGS to use STL. +# + +commonSources:= \ + tinyxml.cpp \ + tinyxmlparser.cpp \ + tinyxmlerror.cpp \ + tinystr.cpp + +# For the host +# ===================================================== +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + $(commonSources) + +LOCAL_MODULE:= libtinyxml + +LOCAL_CFLAGS+= $(TOOL_CFLAGS) +LOCAL_LDFLAGS:= $(TOOL_LDFLAGS) -lstdc++ -lc + +include $(BUILD_HOST_STATIC_LIBRARY) + + +# For the device +# ===================================================== +#include $(CLEAR_VARS) +# +#LOCAL_SRC_FILES:= \ +# $(commonSources) +# +#LOCAL_MODULE:= libtinyxml +# +#include $(BUILD_SHARED_LIBRARY) + + |