mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
77 lines
1.7 KiB
Makefile
77 lines
1.7 KiB
Makefile
#
|
|
# 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/.
|
|
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = url-classifier
|
|
LIBRARY_NAME = urlclassifier_s
|
|
XPIDL_MODULE = url-classifier
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
FAIL_ON_WARNINGS = 1
|
|
|
|
# Normally the "client ID" sent in updates is appinfo.name, but for
|
|
# official Firefox releases from Mozilla we use a special identifier.
|
|
ifdef MOZILLA_OFFICIAL
|
|
ifdef MOZ_PHOENIX
|
|
DEFINES += -DUSE_HISTORIC_SAFEBROWSING_ID=1
|
|
endif
|
|
endif
|
|
|
|
XPIDLSRCS = \
|
|
nsIUrlClassifierDBService.idl \
|
|
nsIUrlClassifierHashCompleter.idl \
|
|
nsIUrlClassifierStreamUpdater.idl \
|
|
nsIUrlClassifierPrefixSet.idl \
|
|
nsIUrlClassifierUtils.idl \
|
|
nsIUrlListManager.idl \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
ChunkSet.cpp \
|
|
Classifier.cpp \
|
|
HashStore.cpp \
|
|
ProtocolParser.cpp \
|
|
LookupCache.cpp \
|
|
nsUrlClassifierDBService.cpp \
|
|
nsUrlClassifierStreamUpdater.cpp \
|
|
nsUrlClassifierUtils.cpp \
|
|
nsUrlClassifierPrefixSet.cpp \
|
|
nsUrlClassifierProxies.cpp \
|
|
nsCheckSummedOutputStream.cpp \
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES = \
|
|
-I$(srcdir)/../build \
|
|
$(SQLITE_CFLAGS) \
|
|
$(NULL)
|
|
|
|
EXTRA_COMPONENTS = \
|
|
nsUrlClassifierHashCompleter.js \
|
|
nsURLClassifier.manifest \
|
|
$(NULL)
|
|
|
|
# Same as JS components that are run through the pre-processor.
|
|
EXTRA_PP_COMPONENTS = \
|
|
nsUrlClassifierLib.js \
|
|
nsUrlClassifierListManager.js \
|
|
$(NULL)
|
|
|
|
EXTRA_PP_JS_MODULES = \
|
|
SafeBrowsing.jsm \
|
|
$(NULL)
|
|
|
|
ifdef ENABLE_TESTS
|
|
TOOL_DIRS += tests
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|