bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r=nalexander
authorTed Mielczarek <ted@mielczarek.org>
Mon, 13 Nov 2017 15:45:12 -0500
changeset 392939 0cfaf6902748f13a602ec69c5cd6f56b7713a4e5
parent 392938 bca7bf9ad9bf54e1c0e96c2dd8be27f61c50cfbd
child 392940 7954209d276dd0a864d86814679edafcb19b4cde
push id32946
push userccoroiu@mozilla.com
push dateTue, 21 Nov 2017 23:34:39 +0000
treeherdermozilla-central@b96f00947898 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1407374
milestone59.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 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r=nalexander MozReview-Commit-ID: 833pqKcr4T9
extensions/spellcheck/locales/Makefile.in
extensions/spellcheck/locales/moz.build
deleted file mode 100644
--- a/extensions/spellcheck/locales/Makefile.in
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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/.
-
-DICTIONARY_FILES = $(strip $(wildcard $(LOCALE_SRCDIR)/hunspell/*.dic) $(wildcard $(LOCALE_SRCDIR)/hunspell/*.aff))
-DICTIONARY_DEST = $(FINAL_TARGET)/dictionaries
-INSTALL_TARGETS += DICTIONARY
--- a/extensions/spellcheck/locales/moz.build
+++ b/extensions/spellcheck/locales/moz.build
@@ -1,6 +1,10 @@
 # -*- 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/.
 
+LOCALIZED_FILES.dictionaries += [
+    'en-US/hunspell/*.aff',
+    'en-US/hunspell/*.dic',
+]