Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a629e24 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Add android_text_Hyphenator to libandroid_runtime for host

android_text_Hyphenator relies on mmap to do memory mapping of the
hyphenation pattern files. This is not supported on all host platforms.
Instead, this uses the MappedFile class from libbase which is supported
on all platforms.
In addition, this allows for customization of the location of the
pattern files by using a system property instead of a hardcoded value.

Flag: NONE host-only change
Bug: 353457304
Test: build libandroid_runtime on host
Change-Id: I2c8f345fb6172c0f719732517b8c84a61109de27
parent dd5840f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment