mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
69 lines
1.4 KiB
Makefile
69 lines
1.4 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
|
|
|
|
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_JS_MODULES = \
|
|
SafeBrowsing.jsm \
|
|
$(NULL)
|
|
|
|
ifdef ENABLE_TESTS
|
|
TOOL_DIRS += tests
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|