2018-12-14 14:40:16 +03:00
|
|
|
# -*- 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 = ('Toolkit', 'Safe Browsing')
|
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIURIClassifier.idl',
|
|
|
|
'nsIUrlClassifierFeature.idl',
|
2019-03-09 01:21:32 +03:00
|
|
|
'nsIUrlClassifierSkipListService.idl',
|
2018-12-14 14:40:16 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'url-classifier'
|
|
|
|
|
2019-03-09 01:21:32 +03:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'UrlClassifierSkipListService.js',
|
|
|
|
'UrlClassifierSkipListService.manifest',
|
|
|
|
]
|
|
|
|
|
2018-12-14 14:40:16 +03:00
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER'] = True
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2018-12-14 14:40:17 +03:00
|
|
|
'AsyncUrlChannelClassifier.cpp',
|
2018-12-14 14:40:16 +03:00
|
|
|
'nsChannelClassifier.cpp',
|
|
|
|
'UrlClassifierCommon.cpp',
|
|
|
|
'UrlClassifierFeatureBase.cpp',
|
2019-03-05 22:11:06 +03:00
|
|
|
'UrlClassifierFeatureCryptominingProtection.cpp',
|
2019-01-05 11:10:45 +03:00
|
|
|
'UrlClassifierFeatureCustomTables.cpp',
|
2018-12-14 14:40:16 +03:00
|
|
|
'UrlClassifierFeatureFactory.cpp',
|
2019-03-05 22:10:43 +03:00
|
|
|
'UrlClassifierFeatureFingerprintingProtection.cpp',
|
2019-01-04 16:45:42 +03:00
|
|
|
'UrlClassifierFeatureFlash.cpp',
|
2018-12-15 11:54:02 +03:00
|
|
|
'UrlClassifierFeatureLoginReputation.cpp',
|
2019-01-29 12:11:34 +03:00
|
|
|
'UrlClassifierFeaturePhishingProtection.cpp',
|
2018-12-14 14:40:17 +03:00
|
|
|
'UrlClassifierFeatureResult.cpp',
|
2018-12-14 14:40:16 +03:00
|
|
|
'UrlClassifierFeatureTrackingAnnotation.cpp',
|
|
|
|
'UrlClassifierFeatureTrackingProtection.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.net += [
|
2018-12-14 14:40:17 +03:00
|
|
|
'AsyncUrlChannelClassifier.h',
|
2018-12-14 14:40:16 +03:00
|
|
|
'UrlClassifierCommon.h',
|
|
|
|
'UrlClassifierFeatureFactory.h',
|
2018-12-14 14:40:17 +03:00
|
|
|
'UrlClassifierFeatureResult.h',
|
2018-12-14 14:40:16 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/netwerk/base',
|
|
|
|
'/netwerk/protocol/http',
|
|
|
|
'/toolkit/components/url-classifier',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|