mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 10:37:33 +09:00
Move the "native" search service to a subdirectory
This commit is contained in:
parent
81b6a47384
commit
98656b3121
8 changed files with 33 additions and 24 deletions
31
toolkit/components/search/current/moz.build
Normal file
31
toolkit/components/search/current/moz.build
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# -*- 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/.
|
||||||
|
|
||||||
|
EXTRA_COMPONENTS += [
|
||||||
|
'nsSearchSuggestions.js',
|
||||||
|
]
|
||||||
|
|
||||||
|
EXTRA_PP_COMPONENTS += [
|
||||||
|
'nsSearchService.js',
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_FENNEC'] or CONFIG['MOZ_XULRUNNER']:
|
||||||
|
DEFINES['HAVE_SIDEBAR'] = True
|
||||||
|
EXTRA_COMPONENTS += [
|
||||||
|
'nsSidebar.js',
|
||||||
|
]
|
||||||
|
|
||||||
|
EXTRA_JS_MODULES += [
|
||||||
|
'SearchSuggestionController.jsm',
|
||||||
|
]
|
||||||
|
|
||||||
|
EXTRA_PP_COMPONENTS += [
|
||||||
|
'toolkitsearch.manifest',
|
||||||
|
]
|
||||||
|
|
||||||
|
EXTRA_JS_MODULES += [
|
||||||
|
'SearchStaticData.jsm',
|
||||||
|
]
|
||||||
|
|
@ -6,30 +6,8 @@
|
||||||
|
|
||||||
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
|
||||||
|
|
||||||
EXTRA_COMPONENTS += [
|
DIRS += [
|
||||||
'nsSearchSuggestions.js',
|
'current',
|
||||||
]
|
|
||||||
|
|
||||||
EXTRA_PP_COMPONENTS += [
|
|
||||||
'nsSearchService.js',
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_FENNEC'] or CONFIG['MOZ_XULRUNNER']:
|
|
||||||
DEFINES['HAVE_SIDEBAR'] = True
|
|
||||||
EXTRA_COMPONENTS += [
|
|
||||||
'nsSidebar.js',
|
|
||||||
]
|
|
||||||
|
|
||||||
EXTRA_JS_MODULES += [
|
|
||||||
'SearchSuggestionController.jsm',
|
|
||||||
]
|
|
||||||
|
|
||||||
EXTRA_PP_COMPONENTS += [
|
|
||||||
'toolkitsearch.manifest',
|
|
||||||
]
|
|
||||||
|
|
||||||
EXTRA_JS_MODULES += [
|
|
||||||
'SearchStaticData.jsm',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
with Files('**'):
|
with Files('**'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue