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