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-11-18 18:47:43 -08:00
|
|
|
XPIDL_MODULE = 'places'
|
2013-10-20 00:25:19 -07:00
|
|
|
|
2013-03-12 10:20:41 -07:00
|
|
|
if CONFIG['MOZ_PLACES']:
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
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 = [
|
|
|
|
'Database.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'History.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
]
|
|
|
|
|
2013-11-29 15:29:49 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 16:00:23 -07:00
|
|
|
'AsyncFaviconHelpers.cpp',
|
|
|
|
'Database.cpp',
|
|
|
|
'Helpers.cpp',
|
|
|
|
'History.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsAnnoProtocolHandler.cpp',
|
|
|
|
'nsAnnotationService.cpp',
|
|
|
|
'nsFaviconService.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'nsMaybeWeakPtr.cpp',
|
|
|
|
'nsNavBookmarks.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsNavHistory.cpp',
|
|
|
|
'nsNavHistoryQuery.cpp',
|
|
|
|
'nsNavHistoryResult.cpp',
|
|
|
|
'nsPlacesModule.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'PlaceInfo.cpp',
|
|
|
|
'SQLFunctions.cpp',
|
|
|
|
'VisitInfo.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-10-20 00:25:19 -07:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../build',
|
|
|
|
]
|
|
|
|
|
2013-06-17 12:22:56 -07:00
|
|
|
EXTRA_JS_MODULES = [
|
2014-03-03 08:51:42 -08:00
|
|
|
'BookmarkHTMLUtils.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'BookmarkJSONUtils.jsm',
|
|
|
|
'ClusterLib.js',
|
|
|
|
'ColorAnalyzer_worker.js',
|
|
|
|
'ColorConversion.js',
|
|
|
|
'PlacesBackups.jsm',
|
|
|
|
'PlacesDBUtils.jsm',
|
2014-03-12 05:12:15 -07:00
|
|
|
'PlacesTransactions.jsm',
|
2014-03-22 06:24:36 -07:00
|
|
|
'PriorityUrlProvider.jsm'
|
2013-06-17 12:22:56 -07:00
|
|
|
]
|
|
|
|
|
2013-08-02 00:03:25 -07:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
|
|
|
'PlacesUtils.jsm',
|
|
|
|
]
|
|
|
|
|
2013-06-10 08:19:28 -07:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'ColorAnalyzer.js',
|
|
|
|
'nsLivemarkService.js',
|
|
|
|
'nsPlacesExpiration.js',
|
|
|
|
'nsTaggingService.js',
|
2013-10-23 16:05:43 -07:00
|
|
|
'PlacesCategoriesStarter.js',
|
2013-06-10 08:19:28 -07:00
|
|
|
'toolkitplaces.manifest',
|
|
|
|
]
|
|
|
|
if CONFIG['MOZ_XUL']:
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsPlacesAutoComplete.js',
|
|
|
|
'nsPlacesAutoComplete.manifest',
|
2014-04-14 04:10:16 -07:00
|
|
|
'UnifiedComplete.js',
|
|
|
|
'UnifiedComplete.manifest',
|
2013-06-10 08:19:28 -07:00
|
|
|
]
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-10-02 10:17:55 -07:00
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|