Sort out search service

The ESR52 implementation is now Basilisk specific and the older implementation is the shared toolkit one
This commit is contained in:
Matt A. Tobin 2019-04-23 14:44:40 -04:00 committed by Roy Tam
commit 85045bf6be
17 changed files with 28 additions and 50 deletions

View file

@ -4,7 +4,19 @@
# 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/.
if CONFIG['MC_BASILISK'] or CONFIG['HYPE_ICEWEASEL'] or CONFIG['HYPE_ICEDOVE']:
DIRS += ['current']
else:
DIRS += ['orginal']
EXTRA_COMPONENTS += ['nsSearchSuggestions.js']
EXTRA_PP_COMPONENTS += [
'nsSearchService.js',
'toolkitsearch.manifest',
]
if CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_FENNEC'] or CONFIG['MOZ_XULRUNNER']:
DEFINES['HAVE_SIDEBAR'] = True
EXTRA_COMPONENTS += ['nsSidebar.js']
EXTRA_JS_MODULES += [
'SearchStaticData.jsm',
'SearchSuggestionController.jsm',
]