author Nick Alexander <>
Tue, 04 Nov 2014 17:03:55 -0500
changeset 226008 32c3529eb076
parent 208102 a48cbea17696
permissions -rw-r--r--
Bug 883254 - Add the duckduckgo searchplugin to certain locales. f=glandium, r=mfinkle, a=sledru The purpose of this patch is to union a set of extra search plugins into the set of search plugins for a specific subset of locales in a multi-locale build. This is a temporary hack for a single release; for this release, we don't care about burning single-locale repacks. I don't think we support finding a localized JAR resource -- like (%searchplugins/list.txt) -- from the object directory directly, so: * I made the list filename depend on the locale; * generated the locale-dependent list at build time; * had the generated JAR include the list from the object directory.

#filter substitution
# 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

% locale browser @AB_CD@ %locale/@AB_CD@/browser/
  locale/@AB_CD@/browser/        (%chrome/

# In addition, per-locale searchplugin XML files, and the master
# searchplugins/list.txt, are generated at build-time.

# Fennec-specific overrides of generic strings
* locale/@AB_CD@/browser/netError.dtd             (%overrides/netError.dtd)
% override chrome://global/locale/netError.dtd    chrome://browser/locale/netError.dtd
* locale/@AB_CD@/browser/    (%overrides/
% override chrome://global/locale/ chrome://browser/locale/
* locale/@AB_CD@/browser/    (%overrides/
% override chrome://passwordmgr/locale/ chrome://browser/locale/