This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
# Copyright 2005 The Android Open Source Project |
| 2 |
# |
| 3 |
# Android.mk for TinyXml. |
| 4 |
# |
| 5 |
# Add -DTIXML_USE_STL to CFLAGS to use STL. |
| 6 |
# |
| 7 |
|
| 8 |
commonSources:= \ |
| 9 |
tinyxml.cpp \ |
| 10 |
tinyxmlparser.cpp \ |
| 11 |
tinyxmlerror.cpp \ |
| 12 |
tinystr.cpp |
| 13 |
|
| 14 |
# For the host |
| 15 |
# ===================================================== |
| 16 |
LOCAL_PATH:= $(call my-dir) |
| 17 |
include $(CLEAR_VARS) |
| 18 |
|
| 19 |
LOCAL_SRC_FILES:= \ |
| 20 |
$(commonSources) |
| 21 |
|
| 22 |
LOCAL_MODULE:= libtinyxml |
| 23 |
|
| 24 |
LOCAL_CFLAGS+= $(TOOL_CFLAGS) |
| 25 |
LOCAL_LDFLAGS:= $(TOOL_LDFLAGS) -lstdc++ -lc |
| 26 |
|
| 27 |
include $(BUILD_HOST_STATIC_LIBRARY) |
| 28 |
|
| 29 |
|
| 30 |
# For the device |
| 31 |
# ===================================================== |
| 32 |
#include $(CLEAR_VARS) |
| 33 |
# |
| 34 |
#LOCAL_SRC_FILES:= \ |
| 35 |
# $(commonSources) |
| 36 |
# |
| 37 |
#LOCAL_MODULE:= libtinyxml |
| 38 |
# |
| 39 |
#include $(BUILD_SHARED_LIBRARY) |