summaryrefslogtreecommitdiff
path: root/chromium/third_party/harfbuzz-ng/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/harfbuzz-ng/src/meson.build')
-rw-r--r--chromium/third_party/harfbuzz-ng/src/meson.build44
1 files changed, 35 insertions, 9 deletions
diff --git a/chromium/third_party/harfbuzz-ng/src/meson.build b/chromium/third_party/harfbuzz-ng/src/meson.build
index 016ef89ccfc..26b20b6ce98 100644
--- a/chromium/third_party/harfbuzz-ng/src/meson.build
+++ b/chromium/third_party/harfbuzz-ng/src/meson.build
@@ -1,7 +1,7 @@
project('harfbuzz', 'c', 'cpp',
- meson_version: '>= 0.47.0',
+ meson_version: '>= 0.53.0',
default_options : ['cpp_std=c++11'],
- version: '2.6.5')
+ version: '2.6.6')
warning('Meson is not our main build system yet, don\'t use it for packaging HarfBuzz for *nix distros for now')
@@ -54,12 +54,9 @@ if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') !=
endif
endif
-python3 = import('python').find_installation('python3')
-
check_headers = [
['unistd.h'],
['sys/mman.h'],
- ['xlocale.h'],
['stdbool.h'],
]
@@ -70,8 +67,6 @@ check_funcs = [
['getpagesize'],
['mmap'],
['isatty'],
- ['newlocale'],
- ['strtod_l'],
['roundf'],
]
@@ -192,11 +187,11 @@ if icu_dep.found()
conf.set('HAVE_ICU', 1)
endif
-if get_option('icu-builtin')
+if get_option('icu_builtin')
conf.set('HAVE_ICU_BUILTIN', 1)
endif
-if get_option('experimental-api')
+if get_option('experimental_api')
conf.set('HB_EXPERIMENTAL_API', 1)
endif
@@ -345,4 +340,35 @@ if not get_option('tests').disabled()
subdir('test')
endif
+if not get_option('gtk_doc').disabled()
+ subdir('docs')
+endif
+
configure_file(output: 'config.h', configuration: conf)
+
+summary({'prefix': get_option('prefix'),
+ 'bindir': get_option('bindir'),
+ 'libdir': get_option('libdir'),
+ 'includedir': get_option('includedir'),
+ 'datadir': get_option('datadir'),
+ }, section: 'Directories')
+summary({'Builtin': true,
+ 'Glib': conf.get('HAVE_GLIB', 0) == 1,
+ 'ICU': conf.get('HAVE_ICU', 0) == 1,
+ }, bool_yn: true, section: 'Unicode callbacks (you want at least one)')
+summary({'FreeType': conf.get('HAVE_FREETYPE', 0) == 1,
+ }, bool_yn: true, section: 'Font callbacks (the more the merrier)')
+summary({'Cairo': conf.get('HAVE_CAIRO', 0) == 1,
+ 'Fontconfig': conf.get('HAVE_FONTCONFIG', 0) == 1,
+ }, bool_yn: true, section: 'Tools used for command-line utilities')
+summary({'Graphite2': conf.get('HAVE_GRAPHITE2', 0) == 1,
+ }, bool_yn: true, section: 'Additional shapers (the more the merrier)')
+summary({'CoreText': conf.get('HAVE_CORETEXT', 0) == 1,
+ 'DirectWrite': conf.get('HAVE_DIRECTWRITE', 0) == 1,
+ 'GDI': conf.get('HAVE_GDI', 0) == 1,
+ 'Uniscribe': conf.get('HAVE_UNISCRIBE', 0) == 1,
+ }, bool_yn: true, section: 'Platform shapers (not normally needed)')
+summary({'Documentation': conf.get('HAVE_GTK_DOC', 0) == 1,
+ 'GObject bindings': conf.get('HAVE_GOBJECT', 0) == 1,
+ 'Introspection': conf.get('HAVE_INTROSPECTION', 0) == 1,
+ }, bool_yn: true, section: 'Other features')