[Libreoffice-commits] .: solenv/gbuild

Tor Lillqvist tml at kemper.freedesktop.org
Sat Jun 11 11:59:02 PDT 2011


 solenv/gbuild/gbuild.mk           |    2 ++
 solenv/gbuild/platform/android.mk |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

New commits:
commit d5c8cf93aba28fe11f0cc32141299d8110c9cce3
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sat Jun 11 21:57:44 2011 +0300

    Add Android platform file

diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 44da070..b94215d 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -167,6 +167,8 @@ else ifeq ($(OS),SOLARIS)
 include $(GBUILDDIR)/platform/solaris.mk
 else ifeq ($(OS),IOS)
 include $(GBUILDDIR)/platform/ios.mk
+else ifeq ($(OS),ANDROID)
+include $(GBUILDDIR)/platform/android.mk
 else
 $(eval $(call gb_Output_error,Unsupported OS: $(OS)))
 endif
diff --git a/solenv/gbuild/platform/android.mk b/solenv/gbuild/platform/android.mk
new file mode 100644
index 0000000..df39d54
--- /dev/null
+++ b/solenv/gbuild/platform/android.mk
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (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.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+#        Caolán McNamara <caolanm at redhat.com> (Red Hat, Inc.)
+# Portions created by the Initial Developer are Copyright (C) 2010 the
+# Initial Developer. All Rights Reserved.
+#
+# Contributor(s): Caolán McNamara <caolanm at redhat.com>
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#
+#*************************************************************************
+
+#please make generic modifications to unxgcc.mk or linux.mk
+gb_CPUDEFS += -DARM32
+gb_COMPILERDEFAULTOPTFLAGS := -Os
+gb_CXXFLAGS += -fno-omit-frame-pointer
+gb_CFLAGS += -fno-omit-frame-pointer
+
+include $(GBUILDDIR)/platform/unxgcc.mk
+
+# vim: set noet sw=4:


More information about the Libreoffice-commits mailing list