2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:19:09 +04:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_PLACES']:
|
|
|
|
TEST_DIRS += ['tests']
|
2013-03-12 21:17:46 +04:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsINavHistoryService.idl',
|
|
|
|
]
|
|
|
|
|
2013-10-20 11:25:19 +04:00
|
|
|
MODULE = 'places'
|
|
|
|
|
2013-03-12 21:20:41 +04:00
|
|
|
if CONFIG['MOZ_PLACES']:
|
2013-08-22 10:56:01 +04:00
|
|
|
LIBXUL_LIBRARY = True
|
2013-10-20 11:25:19 +04:00
|
|
|
EXPORT_LIBRARY = True
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
2013-08-15 17:12:40 +04:00
|
|
|
LIBRARY_NAME = 'places'
|
2013-08-22 10:56:01 +04:00
|
|
|
|
2013-03-12 21:20:41 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'mozIAsyncFavicons.idl',
|
2013-05-03 20:54:45 +04:00
|
|
|
'mozIAsyncHistory.idl',
|
2013-03-12 21:20:41 +04:00
|
|
|
'mozIAsyncLivemarks.idl',
|
|
|
|
'mozIColorAnalyzer.idl',
|
2013-05-03 20:54:45 +04:00
|
|
|
'mozIPlacesAutoComplete.idl',
|
2013-03-12 21:20:41 +04:00
|
|
|
'nsIAnnotationService.idl',
|
|
|
|
'nsIBrowserHistory.idl',
|
|
|
|
'nsIFaviconService.idl',
|
|
|
|
'nsINavBookmarksService.idl',
|
2013-06-25 19:15:51 +04:00
|
|
|
'nsITaggingService.idl',
|
2013-03-12 21:20:41 +04:00
|
|
|
'nsPIPlacesDatabase.idl',
|
|
|
|
'nsPIPlacesHistoryListenersNotifier.idl',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.places = [
|
|
|
|
'History.h',
|
|
|
|
'Database.h',
|
|
|
|
]
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
CPP_SOURCES += [
|
2013-10-24 03:00:23 +04:00
|
|
|
'AsyncFaviconHelpers.cpp',
|
|
|
|
'Database.cpp',
|
|
|
|
'Helpers.cpp',
|
|
|
|
'History.cpp',
|
|
|
|
'PlaceInfo.cpp',
|
|
|
|
'SQLFunctions.cpp',
|
|
|
|
'VisitInfo.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsAnnoProtocolHandler.cpp',
|
|
|
|
'nsAnnotationService.cpp',
|
|
|
|
'nsFaviconService.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'nsMaybeWeakPtr.cpp',
|
|
|
|
'nsNavBookmarks.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsNavHistory.cpp',
|
|
|
|
'nsNavHistoryQuery.cpp',
|
|
|
|
'nsNavHistoryResult.cpp',
|
|
|
|
'nsPlacesModule.cpp',
|
|
|
|
]
|
|
|
|
|
2013-10-20 11:25:19 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../build',
|
|
|
|
]
|
|
|
|
|
2013-06-17 23:22:56 +04:00
|
|
|
EXTRA_JS_MODULES = [
|
|
|
|
'BookmarkJSONUtils.jsm',
|
|
|
|
'ClusterLib.js',
|
|
|
|
'ColorAnalyzer_worker.js',
|
|
|
|
'ColorConversion.js',
|
|
|
|
'PlacesBackups.jsm',
|
|
|
|
'PlacesDBUtils.jsm',
|
|
|
|
]
|
|
|
|
|
2013-08-02 11:03:25 +04:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
|
|
|
'BookmarkHTMLUtils.jsm',
|
|
|
|
'PlacesUtils.jsm',
|
|
|
|
]
|
|
|
|
|
2013-06-10 19:19:28 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'ColorAnalyzer.js',
|
|
|
|
'PlacesCategoriesStarter.js',
|
|
|
|
'nsLivemarkService.js',
|
|
|
|
'nsPlacesExpiration.js',
|
|
|
|
'nsTaggingService.js',
|
|
|
|
'toolkitplaces.manifest',
|
|
|
|
]
|
|
|
|
if CONFIG['MOZ_XUL']:
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsPlacesAutoComplete.js',
|
|
|
|
'nsPlacesAutoComplete.manifest',
|
|
|
|
]
|