toolkit/components/places/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/places/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,95 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +if CONFIG['MOZ_PLACES']:
    1.11 +    TEST_DIRS += ['tests']
    1.12 +
    1.13 +XPIDL_SOURCES += [
    1.14 +    'nsINavHistoryService.idl',
    1.15 +]
    1.16 +
    1.17 +XPIDL_MODULE = 'places'
    1.18 +
    1.19 +if CONFIG['MOZ_PLACES']:
    1.20 +    MSVC_ENABLE_PGO = True
    1.21 +
    1.22 +    XPIDL_SOURCES += [
    1.23 +        'mozIAsyncFavicons.idl',
    1.24 +        'mozIAsyncHistory.idl',
    1.25 +        'mozIAsyncLivemarks.idl',
    1.26 +        'mozIColorAnalyzer.idl',
    1.27 +        'mozIPlacesAutoComplete.idl',
    1.28 +        'nsIAnnotationService.idl',
    1.29 +        'nsIBrowserHistory.idl',
    1.30 +        'nsIFaviconService.idl',
    1.31 +        'nsINavBookmarksService.idl',
    1.32 +        'nsITaggingService.idl',
    1.33 +        'nsPIPlacesDatabase.idl',
    1.34 +        'nsPIPlacesHistoryListenersNotifier.idl',
    1.35 +    ]
    1.36 +
    1.37 +    EXPORTS.mozilla.places = [
    1.38 +        'Database.h',
    1.39 +        'History.h',
    1.40 +    ]
    1.41 +
    1.42 +    UNIFIED_SOURCES += [
    1.43 +        'AsyncFaviconHelpers.cpp',
    1.44 +        'Database.cpp',
    1.45 +        'Helpers.cpp',
    1.46 +        'History.cpp',
    1.47 +        'nsAnnoProtocolHandler.cpp',
    1.48 +        'nsAnnotationService.cpp',
    1.49 +        'nsFaviconService.cpp',
    1.50 +        'nsMaybeWeakPtr.cpp',
    1.51 +        'nsNavBookmarks.cpp',
    1.52 +        'nsNavHistory.cpp',
    1.53 +        'nsNavHistoryQuery.cpp',
    1.54 +        'nsNavHistoryResult.cpp',
    1.55 +        'nsPlacesModule.cpp',
    1.56 +        'PlaceInfo.cpp',
    1.57 +        'SQLFunctions.cpp',
    1.58 +        'VisitInfo.cpp',
    1.59 +    ]
    1.60 +
    1.61 +    LOCAL_INCLUDES += [
    1.62 +        '../build',
    1.63 +    ]
    1.64 +
    1.65 +    EXTRA_JS_MODULES = [
    1.66 +        'BookmarkHTMLUtils.jsm',
    1.67 +        'BookmarkJSONUtils.jsm',
    1.68 +        'ClusterLib.js',
    1.69 +        'ColorAnalyzer_worker.js',
    1.70 +        'ColorConversion.js',
    1.71 +        'PlacesBackups.jsm',
    1.72 +        'PlacesDBUtils.jsm',
    1.73 +        'PlacesTransactions.jsm',
    1.74 +        'PriorityUrlProvider.jsm'
    1.75 +    ]
    1.76 +
    1.77 +    EXTRA_PP_JS_MODULES += [
    1.78 +        'PlacesUtils.jsm',
    1.79 +    ]
    1.80 +
    1.81 +    EXTRA_COMPONENTS += [
    1.82 +        'ColorAnalyzer.js',
    1.83 +        'nsLivemarkService.js',
    1.84 +        'nsPlacesExpiration.js',
    1.85 +        'nsTaggingService.js',
    1.86 +        'PlacesCategoriesStarter.js',
    1.87 +        'toolkitplaces.manifest',
    1.88 +    ]
    1.89 +    if CONFIG['MOZ_XUL']:
    1.90 +        EXTRA_COMPONENTS += [
    1.91 +            'nsPlacesAutoComplete.js',
    1.92 +            'nsPlacesAutoComplete.manifest',
    1.93 +            'UnifiedComplete.js',
    1.94 +            'UnifiedComplete.manifest',
    1.95 +        ]
    1.96 +    FINAL_LIBRARY = 'xul'
    1.97 +
    1.98 +include('/ipc/chromium/chromium-config.mozbuild')

mercurial