Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Android.mk and config.h for harfbuzz
- Loading branch information
Showing
2 changed files
with
274 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
LOCAL_PATH:= $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
|
||
LOCAL_SRC_FILES = \ | ||
src/hb-blob.cc \ | ||
src/hb-buffer-serialize.cc \ | ||
src/hb-face.cc \ | ||
src/hb-ot-tag.cc \ | ||
src/hb-buffer.cc \ | ||
src/hb-font.cc \ | ||
src/hb-common.cc \ | ||
src/hb-set.cc \ | ||
src/hb-shape-plan.cc \ | ||
src/hb-ot-font.cc \ | ||
src/hb-shaper.cc \ | ||
src/hb-unicode.cc \ | ||
src/hb-ot-shape.cc \ | ||
src/hb-ot-face.cc \ | ||
src/hb-shape.cc \ | ||
src/hb-static.cc \ | ||
src/hb-warning.cc \ | ||
src/hb-ot-shape-complex-default.cc \ | ||
src/hb-ot-layout.cc \ | ||
src/hb-ot-math.cc \ | ||
src/hb-ot-map.cc \ | ||
src/hb-ot-shape-complex-arabic.cc \ | ||
src/hb-ot-shape-complex-hangul.cc \ | ||
src/hb-ot-shape-complex-hebrew.cc \ | ||
src/hb-ot-shape-complex-indic.cc \ | ||
src/hb-ot-shape-complex-indic-table.cc \ | ||
src/hb-ot-shape-complex-khmer.cc \ | ||
src/hb-ot-shape-complex-myanmar.cc \ | ||
src/hb-ot-shape-complex-thai.cc \ | ||
src/hb-ot-shape-complex-use.cc \ | ||
src/hb-ot-shape-complex-use-table.cc \ | ||
src/hb-ot-shape-normalize.cc \ | ||
src/hb-fallback-shape.cc \ | ||
src/hb-ot-shape-fallback.cc \ | ||
src/hb-ot-shape-complex-vowel-constraints.cc \ | ||
src/hb-ot-var.cc \ | ||
src/hb-ot-cff1-table.cc \ | ||
src/hb-ot-cff2-table.cc \ | ||
src/hb-ft.cc \ | ||
src/hb-ucdn.cc \ | ||
src/hb-ucdn/ucdn.c \ | ||
src/hb-aat-layout.cc \ | ||
src/hb-aat-map.cc | ||
|
||
|
||
LOCAL_ARM_MODE := arm | ||
|
||
LOCAL_CPP_EXTENSION := .cc | ||
|
||
LOCAL_C_INCLUDES = \ | ||
$(LOCAL_PATH)/ \ | ||
$(LOCAL_PATH)/src/ \ | ||
$(LOCAL_PATH)/src/hb-ucdn/ \ | ||
$(LOCAL_PATH)/../freetype-2.9.1/include/ \ | ||
|
||
|
||
#LOCAL_CFLAGS += -DHB_NO_MT -DHAVE_OT -DHAVE_UCDN -fPIC | ||
LOCAL_CFLAGS += -DHAVE_CONFIG_H -fPIC | ||
|
||
LOCAL_EXPORT_C_INCLUDES = $(LOCAL_PATH)/src/ | ||
|
||
# -DHAVE_ICU -DHAVE_ICU_BUILTIN | ||
LOCAL_MODULE:= harfbuzz | ||
|
||
include $(BUILD_STATIC_LIBRARY) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
/* config.h. Generated from config.h.in by configure. */ | ||
/* config.h.in. Generated from configure.ac by autoheader. */ | ||
|
||
/* The normal alignment of `struct{char;}', in bytes. */ | ||
#define ALIGNOF_STRUCT_CHAR__ 1 | ||
|
||
/* Define to 1 if you have the `atexit' function. */ | ||
#define HAVE_ATEXIT 1 | ||
|
||
/* Have cairo graphics library */ | ||
/* #undef HAVE_CAIRO */ | ||
|
||
/* Have cairo-ft support in cairo graphics library */ | ||
/* #undef HAVE_CAIRO_FT */ | ||
|
||
/* Have Core Text backend */ | ||
/* #undef HAVE_CORETEXT */ | ||
|
||
/* Have DirectWrite library */ | ||
/* #undef HAVE_DIRECTWRITE */ | ||
|
||
/* Define to 1 if you have the <dlfcn.h> header file. */ | ||
#define HAVE_DLFCN_H 1 | ||
|
||
/* Define to 1 if you have the <dwrite.h> header file. */ | ||
/* #undef HAVE_DWRITE_H */ | ||
|
||
/* Have simple TrueType Layout backend */ | ||
#define HAVE_FALLBACK 1 | ||
|
||
/* Have fontconfig library */ | ||
/* #undef HAVE_FONTCONFIG */ | ||
|
||
/* Have FreeType 2 library */ | ||
#define HAVE_FREETYPE 1 | ||
|
||
/* Define to 1 if you have the `FT_Get_Var_Blend_Coordinates' function. */ | ||
/* #undef HAVE_FT_GET_VAR_BLEND_COORDINATES */ | ||
|
||
/* Define to 1 if you have the `getpagesize' function. */ | ||
#define HAVE_GETPAGESIZE 1 | ||
|
||
/* Have glib2 library */ | ||
/* #undef HAVE_GLIB */ | ||
|
||
/* Have gobject2 library */ | ||
/* #undef HAVE_GOBJECT */ | ||
|
||
/* Have Graphite2 library */ | ||
/* #undef HAVE_GRAPHITE2 */ | ||
|
||
/* Have ICU library */ | ||
/* #undef HAVE_ICU */ | ||
|
||
/* Use hb-icu Unicode callbacks */ | ||
/* #undef HAVE_ICU_BUILTIN */ | ||
|
||
/* Have Intel __sync_* atomic primitives */ | ||
#define HAVE_INTEL_ATOMIC_PRIMITIVES 1 | ||
|
||
/* Define to 1 if you have the <inttypes.h> header file. */ | ||
#define HAVE_INTTYPES_H 1 | ||
|
||
/* Define to 1 if you have the `isatty' function. */ | ||
#define HAVE_ISATTY 1 | ||
|
||
/* Define to 1 if you have the <memory.h> header file. */ | ||
#define HAVE_MEMORY_H 1 | ||
|
||
/* Define to 1 if you have the `mmap' function. */ | ||
#define HAVE_MMAP 1 | ||
|
||
/* Define to 1 if you have the `mprotect' function. */ | ||
#define HAVE_MPROTECT 1 | ||
|
||
/* Have native OpenType Layout backend */ | ||
#define HAVE_OT 1 | ||
|
||
/* Have POSIX threads */ | ||
#define HAVE_PTHREAD 1 | ||
|
||
/* Have PTHREAD_PRIO_INHERIT. */ | ||
#define HAVE_PTHREAD_PRIO_INHERIT 1 | ||
|
||
/* Define to 1 if you have the <sched.h> header file. */ | ||
/* #undef HAVE_SCHED_H */ | ||
|
||
/* Have sched_yield */ | ||
/* #undef HAVE_SCHED_YIELD */ | ||
|
||
/* Have Solaris __machine_*_barrier and atomic_* operations */ | ||
/* #undef HAVE_SOLARIS_ATOMIC_OPS */ | ||
|
||
/* Define to 1 if you have the <stdint.h> header file. */ | ||
#define HAVE_STDINT_H 1 | ||
|
||
/* Define to 1 if you have the <stdlib.h> header file. */ | ||
#define HAVE_STDLIB_H 1 | ||
|
||
/* Define to 1 if you have the <strings.h> header file. */ | ||
#define HAVE_STRINGS_H 1 | ||
|
||
/* Define to 1 if you have the <string.h> header file. */ | ||
#define HAVE_STRING_H 1 | ||
|
||
/* Define to 1 if you have the `sysconf' function. */ | ||
#define HAVE_SYSCONF 1 | ||
|
||
/* Define to 1 if you have the <sys/mman.h> header file. */ | ||
#define HAVE_SYS_MMAN_H 1 | ||
|
||
/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
#define HAVE_SYS_STAT_H 1 | ||
|
||
/* Define to 1 if you have the <sys/types.h> header file. */ | ||
#define HAVE_SYS_TYPES_H 1 | ||
|
||
/* Have UCDN Unicode functions */ | ||
#define HAVE_UCDN 1 | ||
|
||
/* Have Uniscribe library */ | ||
/* #undef HAVE_UNISCRIBE */ | ||
|
||
/* Define to 1 if you have the <unistd.h> header file. */ | ||
#define HAVE_UNISTD_H 1 | ||
|
||
/* Define to 1 if you have the <usp10.h> header file. */ | ||
/* #undef HAVE_USP10_H */ | ||
|
||
/* Define to 1 if you have the <windows.h> header file. */ | ||
/* #undef HAVE_WINDOWS_H */ | ||
|
||
/* Define to the sub-directory in which libtool stores uninstalled libraries. */ | ||
#define LT_OBJDIR ".libs/" | ||
|
||
/* Define to the address where bug reports for this package should be sent. */ | ||
#define PACKAGE_BUGREPORT "https://github.com/harfbuzz/harfbuzz/issues/new" | ||
|
||
/* Define to the full name of this package. */ | ||
#define PACKAGE_NAME "HarfBuzz" | ||
|
||
/* Define to the full name and version of this package. */ | ||
#define PACKAGE_STRING "HarfBuzz 1.7.1" | ||
|
||
/* Define to the one symbol short name of this package. */ | ||
#define PACKAGE_TARNAME "harfbuzz" | ||
|
||
/* Define to the home page for this package. */ | ||
#define PACKAGE_URL "http://harfbuzz.org/" | ||
|
||
/* Define to the version of this package. */ | ||
#define PACKAGE_VERSION "1.7.1" | ||
|
||
/* Define to necessary symbol if this constant uses a non-standard name on | ||
your system. */ | ||
/* #undef PTHREAD_CREATE_JOINABLE */ | ||
|
||
/* Define to 1 if you have the ANSI C header files. */ | ||
#define STDC_HEADERS 1 | ||
|
||
/* Enable extensions on AIX 3, Interix. */ | ||
#ifndef _ALL_SOURCE | ||
# define _ALL_SOURCE 1 | ||
#endif | ||
/* Enable GNU extensions on systems that have them. */ | ||
#ifndef _GNU_SOURCE | ||
# define _GNU_SOURCE 1 | ||
#endif | ||
/* Enable threading extensions on Solaris. */ | ||
#ifndef _POSIX_PTHREAD_SEMANTICS | ||
# define _POSIX_PTHREAD_SEMANTICS 1 | ||
#endif | ||
/* Enable extensions on HP NonStop. */ | ||
#ifndef _TANDEM_SOURCE | ||
# define _TANDEM_SOURCE 1 | ||
#endif | ||
/* Enable general extensions on Solaris. */ | ||
#ifndef __EXTENSIONS__ | ||
# define __EXTENSIONS__ 1 | ||
#endif | ||
|
||
|
||
/* Enable large inode numbers on Mac OS X 10.5. */ | ||
#ifndef _DARWIN_USE_64_BIT_INODE | ||
# define _DARWIN_USE_64_BIT_INODE 1 | ||
#endif | ||
|
||
/* Number of bits in a file offset, on hosts where this is settable. */ | ||
/* #undef _FILE_OFFSET_BITS */ | ||
|
||
/* Define for large files, on AIX-style hosts. */ | ||
/* #undef _LARGE_FILES */ | ||
|
||
/* Define to 1 if on MINIX. */ | ||
/* #undef _MINIX */ | ||
|
||
/* Define to 2 if the system does not provide POSIX.1 features except with | ||
this defined. */ | ||
/* #undef _POSIX_1_SOURCE */ | ||
|
||
/* Define to 1 if you need to in order for `stat' and other things to work. */ | ||
/* #undef _POSIX_SOURCE */ |