summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/search/moz.build')
-rw-r--r--toolkit/components/search/moz.build20
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',
+]
+