diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 14:44:40 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 14:44:40 -0400 |
commit | 63295d0087eb58a6eb34cad324c4c53d1b220491 (patch) | |
tree | bf5471c5eb5ac35cd81659a903bc33c3259136cb /toolkit/components/search/moz.build | |
parent | 0c84220a4f93a3e4f48d8d183aa0f5d8b15eb7ab (diff) | |
download | UXP-63295d0087eb58a6eb34cad324c4c53d1b220491.tar UXP-63295d0087eb58a6eb34cad324c4c53d1b220491.tar.gz UXP-63295d0087eb58a6eb34cad324c4c53d1b220491.tar.lz UXP-63295d0087eb58a6eb34cad324c4c53d1b220491.tar.xz UXP-63295d0087eb58a6eb34cad324c4c53d1b220491.zip |
Sort out search service
The ESR52 implementation is now Basilisk specific and the older implementation is the shared toolkit one
Diffstat (limited to 'toolkit/components/search/moz.build')
-rw-r--r-- | toolkit/components/search/moz.build | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/toolkit/components/search/moz.build b/toolkit/components/search/moz.build index e19e70f18..2f8b3e54c 100644 --- a/toolkit/components/search/moz.build +++ b/toolkit/components/search/moz.build @@ -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', +] + |