Let's simplify the paths and be less 'experimental'
@@ -59,7 +59,7 @@ prepare-appcompat:
|
||||
|
||||
properties:
|
||||
echo sdk.dir=$(ANDROID_SDK_HOME) >local.properties
|
||||
echo sdk.dir=$(ANDROID_SDK_HOME) >../../Bootstrap/local.properties
|
||||
echo sdk.dir=$(ANDROID_SDK_HOME) >../Bootstrap/local.properties
|
||||
echo "# File needed by ndk-gdb" >jni/Application.mk
|
||||
echo "APP_ABI := $(ANDROID_APP_ABI)" > jni/Application.mk
|
||||
echo "APP_PLATFORM := android-21" >> jni/Application.mk
|
||||
@@ -100,7 +100,7 @@ WHOLELIBS = \
|
||||
|
||||
$(OBJLOCAL)/liblo-native-code.so : native-code.cxx $(ALL_STATIC_LIBS)
|
||||
mkdir -p $(OBJLOCAL)
|
||||
$(CXX) -Wl,--gc-sections -Wl,--version-script=../../Bootstrap/version.map -Wl,--no-keep-files-mapped -Wl,--no-undefined -DANDROID -DDISABLE_DYNLOADING -shared -o $(OBJLOCAL)/liblo-native-code.so -I$(BUILDDIR)/config_host -I$(SRCDIR)/include native-code.cxx -L$(INSTDIR)/$(LIBO_LIB_FOLDER) $(WHOLELIBS) $(LIBS) -lgnustl_static -lGLESv2 -landroid -ljnigraphics -llog -lz
|
||||
$(CXX) -Wl,--gc-sections -Wl,--version-script=../Bootstrap/version.map -Wl,--no-keep-files-mapped -Wl,--no-undefined -DANDROID -DDISABLE_DYNLOADING -shared -o $(OBJLOCAL)/liblo-native-code.so -I$(BUILDDIR)/config_host -I$(SRCDIR)/include native-code.cxx -L$(INSTDIR)/$(LIBO_LIB_FOLDER) $(WHOLELIBS) $(LIBS) -lgnustl_static -lGLESv2 -landroid -ljnigraphics -llog -lz
|
||||
|
||||
$(SODEST)/liblo-native-code.so : $(OBJLOCAL)/liblo-native-code.so
|
||||
mkdir -p $(SODEST)
|
||||
|
@@ -8,22 +8,22 @@
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,android/loandroid3))
|
||||
|
||||
loandroid3_DIR := $(call gb_CustomTarget_get_workdir,android/experimental/LOAndroid3)
|
||||
loandroid3_DIR := $(call gb_CustomTarget_get_workdir,android/source)
|
||||
|
||||
$(call gb_CustomTarget_get_target,android/loandroid3) : \
|
||||
$(loandroid3_DIR)/done
|
||||
|
||||
$(loandroid3_DIR)/done : $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MAK,2)
|
||||
cd $(SRCDIR)/android/experimental/LOAndroid3 && $(MAKE) all
|
||||
cd $(SRCDIR)/android/source && $(MAKE) all
|
||||
# Copy to $(BUILDDIR)/instsetoo_native as that is where the tinderbox build script
|
||||
# still looks for the .apk, and we want fresh daily builds to be uploaded.
|
||||
# Us "foo" instead of the old INPATH
|
||||
mkdir -p $(BUILDDIR)/instsetoo_native/foo/bin; \
|
||||
cp $(SRCDIR)/android/experimental/LOAndroid3/bin/*-debug.apk $(BUILDDIR)/instsetoo_native/foo/bin
|
||||
cp $(SRCDIR)/android/source/bin/*-debug.apk $(BUILDDIR)/instsetoo_native/foo/bin
|
||||
|
||||
$(call gb_CustomTarget_get_clean_target,android/loandroid3) :
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/Clean/,,$@),$(false),MAK,2)
|
||||
cd $(SRCDIR)/android/experimental/LOAndroid3 && $(MAKE) clean
|
||||
cd $(SRCDIR)/android/source && $(MAKE) clean
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
@@ -12,7 +12,7 @@ all: build-ant
|
||||
APP_PACKAGE=org.libreoffice
|
||||
|
||||
DISABLE_UI=TRUE
|
||||
BOOTSTRAPDIR=../../Bootstrap
|
||||
BOOTSTRAPDIR=../Bootstrap
|
||||
include $(BOOTSTRAPDIR)/Makefile.shared
|
||||
|
||||
native-code.cxx: $(SRCDIR)/solenv/bin/native-code.py
|
@@ -11,5 +11,5 @@
|
||||
target=android-21
|
||||
|
||||
# Use the Bootstrap class
|
||||
android.library.reference.1=../../Bootstrap
|
||||
android.library.reference.2=../../AppCompat-v7
|
||||
android.library.reference.1=../Bootstrap
|
||||
android.library.reference.2=../AppCompat-v7
|
Before Width: | Height: | Size: 921 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 731 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 784 B After Width: | Height: | Size: 784 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B |
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |