зеркало из https://github.com/mozilla/gecko-dev.git
59 строки
1.3 KiB
Python
59 строки
1.3 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
with Files('**'):
|
|
BUG_COMPONENT = ('Core', 'Privacy: Anti-Tracking')
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIAsyncStreamReader.idl',
|
|
'nsITrackingDBService.idl',
|
|
'nsIURLDecorationAnnotationsService.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'toolkit_antitracking'
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'antitracking.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'AsyncStreamReader.jsm',
|
|
'ContentBlockingAllowList.jsm',
|
|
'TrackingDBService.jsm',
|
|
'URLDecorationAnnotationsService.jsm',
|
|
]
|
|
|
|
XPCOM_MANIFESTS += [
|
|
'components.conf',
|
|
]
|
|
|
|
EXPORTS.mozilla = [
|
|
'AntiTrackingCommon.h',
|
|
'StorageAccess.h',
|
|
'StoragePrincipalHelper.h',
|
|
'URLDecorationStripper.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AntiTrackingCommon.cpp',
|
|
'StorageAccess.cpp',
|
|
'StoragePrincipalHelper.cpp',
|
|
'URLDecorationStripper.cpp',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/extensions/permissions',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
|
|
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
|