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'], |
}], |