toolkit/components/places/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 if CONFIG['MOZ_PLACES']:
     8     TEST_DIRS += ['tests']
    10 XPIDL_SOURCES += [
    11     'nsINavHistoryService.idl',
    12 ]
    14 XPIDL_MODULE = 'places'
    16 if CONFIG['MOZ_PLACES']:
    17     MSVC_ENABLE_PGO = True
    19     XPIDL_SOURCES += [
    20         'mozIAsyncFavicons.idl',
    21         'mozIAsyncHistory.idl',
    22         'mozIAsyncLivemarks.idl',
    23         'mozIColorAnalyzer.idl',
    24         'mozIPlacesAutoComplete.idl',
    25         'nsIAnnotationService.idl',
    26         'nsIBrowserHistory.idl',
    27         'nsIFaviconService.idl',
    28         'nsINavBookmarksService.idl',
    29         'nsITaggingService.idl',
    30         'nsPIPlacesDatabase.idl',
    31         'nsPIPlacesHistoryListenersNotifier.idl',
    32     ]
    34     EXPORTS.mozilla.places = [
    35         'Database.h',
    36         'History.h',
    37     ]
    39     UNIFIED_SOURCES += [
    40         'AsyncFaviconHelpers.cpp',
    41         'Database.cpp',
    42         'Helpers.cpp',
    43         'History.cpp',
    44         'nsAnnoProtocolHandler.cpp',
    45         'nsAnnotationService.cpp',
    46         'nsFaviconService.cpp',
    47         'nsMaybeWeakPtr.cpp',
    48         'nsNavBookmarks.cpp',
    49         'nsNavHistory.cpp',
    50         'nsNavHistoryQuery.cpp',
    51         'nsNavHistoryResult.cpp',
    52         'nsPlacesModule.cpp',
    53         'PlaceInfo.cpp',
    54         'SQLFunctions.cpp',
    55         'VisitInfo.cpp',
    56     ]
    58     LOCAL_INCLUDES += [
    59         '../build',
    60     ]
    62     EXTRA_JS_MODULES = [
    63         'BookmarkHTMLUtils.jsm',
    64         'BookmarkJSONUtils.jsm',
    65         'ClusterLib.js',
    66         'ColorAnalyzer_worker.js',
    67         'ColorConversion.js',
    68         'PlacesBackups.jsm',
    69         'PlacesDBUtils.jsm',
    70         'PlacesTransactions.jsm',
    71         'PriorityUrlProvider.jsm'
    72     ]
    74     EXTRA_PP_JS_MODULES += [
    75         'PlacesUtils.jsm',
    76     ]
    78     EXTRA_COMPONENTS += [
    79         'ColorAnalyzer.js',
    80         'nsLivemarkService.js',
    81         'nsPlacesExpiration.js',
    82         'nsTaggingService.js',
    83         'PlacesCategoriesStarter.js',
    84         'toolkitplaces.manifest',
    85     ]
    86     if CONFIG['MOZ_XUL']:
    87         EXTRA_COMPONENTS += [
    88             'nsPlacesAutoComplete.js',
    89             'nsPlacesAutoComplete.manifest',
    90             'UnifiedComplete.js',
    91             'UnifiedComplete.manifest',
    92         ]
    93     FINAL_LIBRARY = 'xul'
    95 include('/ipc/chromium/chromium-config.mozbuild')

mercurial