Clone in a terminal:
Commit df8bb9a
Johan Mattsson - 2018-11-07T19:01:31+00:00
df8bb9af10b1f1e8fd0594104f69be1d0e2e69b1johan.mattsson.m@gmail.com

Drop Android build script

Changed files (5)

Diff

diff --git a/scripts/AndroidBirdFont.mk b/scripts/AndroidBirdFont.mkdeleted file mode 100644index f285956..0000000--- a/scripts/AndroidBirdFont.mk+++ /dev/null@@ -1,46 +0,0 @@-LOCAL_PATH := $(call my-dir)--include $(CLEAR_VARS)--LOCAL_MODULE    := birdfont--LOCAL_CFLAGS    := -D 'GETTEXT_PACKAGE="birdfont"'-LOCAL_CFLAGS    += -Wno-missing-field-initializers -LOCAL_CFLAGS    += -I $(LOCAL_PATH)-LOCAL_CFLAGS    += -I ../../libbirdxml-LOCAL_CFLAGS    += -I ../../libbirdgems-LOCAL_CFLAGS    += -I /opt/android/include -LOCAL_CFLAGS    += -I /opt/android/include/glib-2.0-LOCAL_CFLAGS    += -I /opt/android/lib/glib-2.0/include-LOCAL_CFLAGS    += -I /opt/android/include/gee-1.0-LOCAL_CFLAGS    += -I /opt/android/include/freetype-LOCAL_CFLAGS    += -I /opt/android/include/cairo---#FIXME: $(TARGET_ARCH_ABI)--LOCAL_LDLIBS    += /opt/android/lib/libsqlite.a-LOCAL_LDLIBS	+= -L/opt/android/lib-LOCAL_LDLIBS    += -ljava-bitmap -LOCAL_LDLIBS    += -lgee-LOCAL_LDLIBS    += -lft2-LOCAL_LDLIBS    += -lglib-2.0-LOCAL_LDLIBS    += -lgio-2.0-LOCAL_LDLIBS    += -lintl-LOCAL_LDLIBS    += -liconv-LOCAL_LDLIBS    += -lgobject-2.0--LOCAL_LDLIBS    += -lm-LOCAL_LDLIBS    += -lc-LOCAL_LDLIBS    += -lz-LOCAL_LDLIBS    += -llog--LOCAL_LDLIBS	+= -L $(LOCAL_PATH)/../../-LOCAL_LDLIBS    += -lbirdxml-LOCAL_LDLIBS    += -lbirdgems--LOCAL_SRC_FILES := $(wildcard *.c) --include $(BUILD_SHARED_LIBRARY)--$(call import-module,android/cpufeatures)diff --git a/scripts/AndroidBirdGems.mk b/scripts/AndroidBirdGems.mkdeleted file mode 100644index a13637d..0000000--- a/scripts/AndroidBirdGems.mk+++ /dev/null@@ -1,29 +0,0 @@-LOCAL_PATH := $(call my-dir)--include $(CLEAR_VARS)--LOCAL_MODULE    := birdgems--LOCAL_CFLAGS    += -Wno-missing-field-initializers -LOCAL_CFLAGS    += -I ../-LOCAL_CFLAGS    += -I /opt/android/include -LOCAL_CFLAGS    += -I /opt/android/include/glib-2.0-LOCAL_CFLAGS    += -I /opt/android/lib/glib-2.0/include--#FIXME: $(TARGET_ARCH_ABI)--LOCAL_LDLIBS	+= -L/opt/android/lib-LOCAL_LDLIBS    += -lglib-2.0-LOCAL_LDLIBS    += -lintl-LOCAL_LDLIBS    += -liconv-LOCAL_LDLIBS    += -lgobject-2.0--LOCAL_LDLIBS    += -lm-LOCAL_LDLIBS    += -lc-LOCAL_LDLIBS    += -llog--LOCAL_SRC_FILES := $(wildcard *.c) --include $(BUILD_SHARED_LIBRARY)--$(call import-module,android/cpufeatures)diff --git a/scripts/AndroidBirdXml.mk b/scripts/AndroidBirdXml.mkdeleted file mode 100644index e9b927f..0000000--- a/scripts/AndroidBirdXml.mk+++ /dev/null@@ -1,32 +0,0 @@-LOCAL_PATH := $(call my-dir)--include $(CLEAR_VARS)--LOCAL_MODULE    := birdxml--LOCAL_CFLAGS    += -Wno-missing-field-initializers -LOCAL_CFLAGS    += -I ../-LOCAL_CFLAGS    += -I /opt/android/include -LOCAL_CFLAGS    += -I /opt/android/include/glib-2.0-LOCAL_CFLAGS    += -I /opt/android/lib/glib-2.0/include-LOCAL_CFLAGS    += -I /opt/android/include/gee-1.0---#FIXME: $(TARGET_ARCH_ABI)--LOCAL_LDLIBS	+= -L/opt/android/lib-LOCAL_LDLIBS    += -lglib-2.0-LOCAL_LDLIBS    += -lintl-LOCAL_LDLIBS    += -liconv-LOCAL_LDLIBS    += -lgobject-2.0-LOCAL_LDLIBS    += -lgee--LOCAL_LDLIBS    += -lm-LOCAL_LDLIBS    += -lc-LOCAL_LDLIBS    += -llog--LOCAL_SRC_FILES := $(wildcard *.c) --include $(BUILD_SHARED_LIBRARY)--$(call import-module,android/cpufeatures)diff --git a/scripts/Application.mk b/scripts/Application.mkdeleted file mode 100644index 54a07ab..0000000--- a/scripts/Application.mk+++ /dev/null@@ -1,2 +0,0 @@-APP_ABI := armeabi -# armeabi-v7adiff --git a/scripts/android_build.py b/scripts/android_build.pydeleted file mode 100755index 34f1428..0000000--- a/scripts/android_build.py+++ /dev/null@@ -1,56 +0,0 @@-#!/usr/bin/python-"""-Copyright (C) 2013 Johan Mattsson--This library is free software; you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as -published by the Free Software Foundation; either version 3 of the -License, or (at your option) any later version.--This library is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details.-"""--import build-from translations import compile_translations-import configfile-from run import run-import version--prefix = ""-valac = "valac"-valaflags = "--define ANDROID --vapidir=/opt/birdfont/include --vapidir=./ --pkg android"-cc = ""-cflags = ""-ldflags = ""-library_cflags = ""-library_ldflags = ""-library = "libbirdfont.so" --configfile.write_config (prefix)-compile_translations()--build.libbirdgems(prefix, cc, cflags, library_ldflags, valac, valaflags, library)-run ("mkdir -p build/libbirdgems/jni");-run ("cp scripts/AndroidBirdGems.mk build/libbirdgems/jni/Android.mk");-run ("cp build/libbirdgems/*.c build/libbirdgems/jni/");-run ("cd build/libbirdgems/jni && ndk-build");-run ("cp -ra build/libbirdgems/libs/armeabi/libbirdgems.so build/");--build.libbirdxml(prefix, cc, cflags, library_ldflags, valac, valaflags, library)-run ("mkdir -p build/libbirdxml/jni");-run ("cp scripts/AndroidBirdXml.mk build/libbirdxml/jni/Android.mk");-run ("cp build/libbirdxml/*.c build/libbirdxml/jni/");-run ("cd build/libbirdxml/jni && ndk-build");-run ("cp -ra build/libbirdxml/libs/armeabi/libbirdxml.so build/");--build.libbirdfont(prefix, cc, cflags, library_ldflags, valac, valaflags, library)-run ("mkdir -p build/libbirdfont/jni");-run ("cp scripts/AndroidBirdFont.mk build/libbirdfont/jni/Android.mk");-run ("cp build/libbirdfont/*.c build/libbirdfont/jni/");-run ("cd build/libbirdfont/jni && ndk-build");-run ("cp -ra build/libbirdfont/libs/armeabi/libbirdfont.so build/");--print ("Done")

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112