Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2420)

Unified Diff: build/common.gypi

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng review Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index cdefdd1a8ecd9d239aef8e77a78b93cb3db7d44b..4cc93f1c9dd8f92db1b83dd19244c0db48afa30f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -571,6 +571,9 @@
# SpellCheckerSession on Android.
'use_browser_spellchecker%': 0,
+ # Use Minikin hyphenation engine.
+ 'use_minikin_hyphenation%': 0,
+
# Webrtc compilation is enabled by default. Set to 0 to disable.
'enable_webrtc%': 1,
@@ -826,6 +829,11 @@
'use_browser_spellchecker%': 1,
}],
+ # Android has hyphenation dictionaries for Minikin to use.
+ ['OS=="android"', {
+ 'use_minikin_hyphenation%': 1,
+ }],
+
# Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4.
# We always build Google Chrome and Chromecast with proprietary codecs.
['branding=="Chrome" or chromecast==1', {
@@ -1226,6 +1234,7 @@
'enable_print_preview%': '<(enable_print_preview)',
'enable_spellcheck%': '<(enable_spellcheck)',
'use_browser_spellchecker%': '<(use_browser_spellchecker)',
+ 'use_minikin_hyphenation%': '<(use_minikin_hyphenation)',
'cld2_table_size%': '<(cld2_table_size)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_file_support%': '<(disable_file_support)',
@@ -2941,6 +2950,9 @@
['use_browser_spellchecker', {
'defines': ['USE_BROWSER_SPELLCHECKER=1'],
}],
+ ['use_minikin_hyphenation', {
+ 'defines': ['USE_MINIKIN_HYPHENATION=1'],
+ }],
['enable_captive_portal_detection==1', {
'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'],
}],
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698