summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-03-31 21:51:52 +0100
committerKristian Monsen <kristianm@google.com>2011-03-31 21:51:52 +0100
commit2934fcc75abc95fb5f67aee8184422166b9247da (patch)
treedb79983cacef7c1110e4825ea9b636091a7a4801 /base
parentdc2edc99e0ad7b585c413f4bc37da3cad1dda985 (diff)
downloadexternal_chromium-2934fcc75abc95fb5f67aee8184422166b9247da.zip
external_chromium-2934fcc75abc95fb5f67aee8184422166b9247da.tar.gz
external_chromium-2934fcc75abc95fb5f67aee8184422166b9247da.tar.bz2
Build dmg_fp as a separate library
Change-Id: I218892553ea555ead616528b820185194b3e3a0e
Diffstat (limited to 'base')
-rw-r--r--base/third_party/dmg_fp/Android.mk19
-rw-r--r--base/third_party/dmg_fp/MODULE_LICENSE_BSD_LIKE0
-rw-r--r--base/third_party/dmg_fp/NOTICE18
-rw-r--r--base/third_party/dmg_fp/ThirdPartyProject.prop7
4 files changed, 44 insertions, 0 deletions
diff --git a/base/third_party/dmg_fp/Android.mk b/base/third_party/dmg_fp/Android.mk
new file mode 100644
index 0000000..af0fab0
--- /dev/null
+++ b/base/third_party/dmg_fp/Android.mk
@@ -0,0 +1,19 @@
+####################################
+# Build dmg_fp as separate library
+
+include $(CLEAR_VARS)
+
+LOCAL_CPP_EXTENSION := .cc
+
+LOCAL_MODULE:= dmg_fp
+
+LOCAL_SRC_FILES := \
+ base/third_party/dmg_fp/dtoa.cc \
+ base/third_party/dmg_fp/g_fmt.cc
+
+LOCAL_C_INCLUDES := \
+ $(LOCAL_PATH)/base/third_party/dmg_fp
+
+LOCAL_CFLAGS := -DHAVE_CONFIG_H -DANDROID
+
+include $(BUILD_STATIC_LIBRARY)
diff --git a/base/third_party/dmg_fp/MODULE_LICENSE_BSD_LIKE b/base/third_party/dmg_fp/MODULE_LICENSE_BSD_LIKE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/base/third_party/dmg_fp/MODULE_LICENSE_BSD_LIKE
diff --git a/base/third_party/dmg_fp/NOTICE b/base/third_party/dmg_fp/NOTICE
new file mode 100644
index 0000000..716f1ef
--- /dev/null
+++ b/base/third_party/dmg_fp/NOTICE
@@ -0,0 +1,18 @@
+/****************************************************************
+ *
+ * The author of this software is David M. Gay.
+ *
+ * Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose without fee is hereby granted, provided that this entire notice
+ * is included in all copies of any software which is or includes a copy
+ * or modification of this software and in all copies of the supporting
+ * documentation for such software.
+ *
+ * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
+ * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
+ * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+ *
+ ***************************************************************/
diff --git a/base/third_party/dmg_fp/ThirdPartyProject.prop b/base/third_party/dmg_fp/ThirdPartyProject.prop
new file mode 100644
index 0000000..0a3cc6a
--- /dev/null
+++ b/base/third_party/dmg_fp/ThirdPartyProject.prop
@@ -0,0 +1,7 @@
+# Copyright 2011 Google Inc. All Rights Reserved.
+version=n/a
+isNative=true
+name=dmg_fp
+onDevice=true
+homepage=http://www.netlib.org/fp/dtoa.c
+