Bug 1619883 - Don't include spellchecker dictionary in omni.ja of GeckoView. r=geckoview-reviewers,agi
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 23 Mar 2020 15:46:06 +0000
changeset 520702 6c28df02dc2b6f01215e21c0a58225d4b3015157
parent 520701 2998408f57b103e0ca4256d55bca54c1f046aca6
child 520703 4750f4a68ad10e95700f70581c101a109365ae67
push id111264
push userm_kato@ga2.so-net.ne.jp
push dateFri, 27 Mar 2020 06:55:06 +0000
treeherderautoland@6c28df02dc2b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgeckoview-reviewers, agi
bugs1619883
milestone76.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1619883 - Don't include spellchecker dictionary in omni.ja of GeckoView. r=geckoview-reviewers,agi Actually, we don't turn on hunspell spellchecker for Android, but, omni.ja seems have hunspell's dictionary. Let's remove it from package. Differential Revision: https://phabricator.services.mozilla.com/D65477
extensions/spellcheck/moz.build
--- a/extensions/spellcheck/moz.build
+++ b/extensions/spellcheck/moz.build
@@ -1,13 +1,17 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DIRS += ['idl', 'locales', 'hunspell', 'src']
+DIRS += ['idl', 'hunspell', 'src']
+
+if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
+    # GeckoView disables hunspell spellchecker.
+    DIRS += ['locales']
 
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
 MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
 
 with Files('**'):
     BUG_COMPONENT = ('Core', 'Spelling checker')