build: remove Android.mk

I don't think it will work with meson, and I also don't think anyone is
using it.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2017-07-26 12:40:09 +03:00
parent 2f6616a571
commit 75ec764cee
2 changed files with 0 additions and 62 deletions

View File

@ -1,44 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LIBXKBCOMMON_TOP := $(LOCAL_PATH)
LIBXKBCOMMON_BUILT_MAKEFILES := \
$(LIBXKBCOMMON_TOP)/Android_build.mk
LIBXKBCOMMON_CONFIGURE_TARGET := $(LIBXKBCOMMON_TOP)/Makefile
$(LIBXKBCOMMON_CONFIGURE_TARGET): $(CONFIGURE_DEPENDENCIES)
cd $(LIBXKBCOMMON_TOP) && autoreconf -fiv
cd $(LIBXKBCOMMON_TOP) && \
CC="$(CONFIGURE_CC)" \
CFLAGS="$(CONFIGURE_CFLAGS)" \
LD=$(TARGET_LD) \
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
CPP=$(CONFIGURE_CPP) \
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
PKG_CONFIG_TOP_BUILD_DIR=$(PKG_CONFIG_TOP_BUILD_DIR) \
./configure --host=arm-linux-androideabi \
--prefix /system \
--with-xkb-config-root=/system/usr/share/xkb
$(LIBXKBCOMMON_BUILT_MAKEFILES): $(LIBXKBCOMMON_CONFIGURE_TARGET)
make -C $(dir $@) $(notdir $@)
.PHONY: libxkbcommon-reset libxkbcommon-clean
libxkbcommon-reset:
cd $(LIBXKBCOMMON_TOP) && \
git clean -qdxf && \
git reset --hard HEAD
libxkbcommon-clean:
contrib-reset: libxkbcommon-reset
contrib-clean: libxkbcommon-clean
CONFIGURE_PKG_CONFIG_LIBDIR := $(CONFIGURE_PKG_CONFIG_LIBDIR):$(abspath $(LIBXKBCOMMON_TOP))
include $(LIBXKBCOMMON_BUILT_MAKEFILES)

View File

@ -327,21 +327,3 @@ bench_key_proc_LDADD = $(BENCH_LDADD)
bench_rules_LDADD = $(BENCH_LDADD)
bench_rulescomp_LDADD = $(BENCH_LDADD)
bench_compose_LDADD = $(BENCH_LDADD)
##
# Android stuff
##
Android_build.mk: Makefile $(BUILT_SOURCES)
androgenizer \
-:PROJECT libxkbcommon \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
\
-:STATIC libxkbcommon \
-:TAGS eng debug \
-:SOURCES $(filter-out %.l %.y,$(libxkbcommon_la_SOURCES)) $(BUILT_SOURCES) \
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-:LDFLAGS $(AM_LDFLAGS) \
\
-:PASSTHROUGH 'libxkbcommon-clean: clean-libxkbcommon' \
> $@