mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Move trace into its own library in libs.
Apparently it has no testing variant.
This commit is contained in:
parent
03d7812615
commit
4bdda6d05f
1
.gitignore
vendored
1
.gitignore
vendored
@ -173,6 +173,7 @@ uptime-*.json
|
|||||||
/src/lib/libtor-ctime-testing.a
|
/src/lib/libtor-ctime-testing.a
|
||||||
/src/lib/libtor-err.a
|
/src/lib/libtor-err.a
|
||||||
/src/lib/libtor-err-testing.a
|
/src/lib/libtor-err-testing.a
|
||||||
|
/src/lib/libtor-trace.a
|
||||||
|
|
||||||
# /src/or/
|
# /src/or/
|
||||||
/src/or/Makefile
|
/src/or/Makefile
|
||||||
|
@ -71,7 +71,7 @@ TOR_INTERNAL_LIBS = \
|
|||||||
$(TOR_UTIL_LIBS) \
|
$(TOR_UTIL_LIBS) \
|
||||||
src/common/libor-event.a \
|
src/common/libor-event.a \
|
||||||
src/trunnel/libor-trunnel.a \
|
src/trunnel/libor-trunnel.a \
|
||||||
src/trace/libor-trace.a
|
src/lib/libtor-trace.a
|
||||||
|
|
||||||
# Variants of the above for linking the testing variant of tor (for coverage
|
# Variants of the above for linking the testing variant of tor (for coverage
|
||||||
# and tests)
|
# and tests)
|
||||||
@ -82,7 +82,7 @@ TOR_INTERNAL_TESTING_LIBS = \
|
|||||||
$(TOR_UTIL_TESTING_LIBS) \
|
$(TOR_UTIL_TESTING_LIBS) \
|
||||||
src/common/libor-event-testing.a \
|
src/common/libor-event-testing.a \
|
||||||
src/trunnel/libor-trunnel-testing.a \
|
src/trunnel/libor-trunnel-testing.a \
|
||||||
src/trace/libor-trace.a
|
src/lib/libtor-trace.a
|
||||||
|
|
||||||
# All libraries used to link tor-cov
|
# All libraries used to link tor-cov
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ include src/ext/include.am
|
|||||||
include src/lib/err/include.am
|
include src/lib/err/include.am
|
||||||
include src/lib/ctime/include.am
|
include src/lib/ctime/include.am
|
||||||
include src/lib/compress/include.am
|
include src/lib/compress/include.am
|
||||||
|
include src/lib/trace/include.am
|
||||||
include src/common/include.am
|
include src/common/include.am
|
||||||
include src/trunnel/include.am
|
include src/trunnel/include.am
|
||||||
include src/or/include.am
|
include src/or/include.am
|
||||||
@ -11,4 +12,3 @@ include src/tools/include.am
|
|||||||
include src/win32/include.am
|
include src/win32/include.am
|
||||||
include src/config/include.am
|
include src/config/include.am
|
||||||
include src/test/fuzz/include.am
|
include src/test/fuzz/include.am
|
||||||
include src/trace/include.am
|
|
||||||
|
18
src/lib/trace/include.am
Normal file
18
src/lib/trace/include.am
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
noinst_LIBRARIES += \
|
||||||
|
src/lib/libtor-trace.a
|
||||||
|
|
||||||
|
TRACEHEADERS = \
|
||||||
|
src/lib/trace/trace.h \
|
||||||
|
src/lib/trace/events.h
|
||||||
|
|
||||||
|
if USE_EVENT_TRACING_DEBUG
|
||||||
|
TRACEHEADERS += \
|
||||||
|
src/lib/trace/debug.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Library source files.
|
||||||
|
src_lib_libtor_trace_a_SOURCES = \
|
||||||
|
src/lib/trace/trace.c
|
||||||
|
|
||||||
|
noinst_HEADERS+= $(TRACEHEADERS)
|
@ -1,19 +0,0 @@
|
|||||||
|
|
||||||
noinst_LIBRARIES += \
|
|
||||||
src/trace/libor-trace.a
|
|
||||||
LIBOR_TRACE_A_SOURCES = \
|
|
||||||
src/trace/trace.c
|
|
||||||
|
|
||||||
TRACEHEADERS = \
|
|
||||||
src/trace/trace.h \
|
|
||||||
src/trace/events.h
|
|
||||||
|
|
||||||
if USE_EVENT_TRACING_DEBUG
|
|
||||||
TRACEHEADERS += \
|
|
||||||
src/trace/debug.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Library source files.
|
|
||||||
src_trace_libor_trace_a_SOURCES = $(LIBOR_TRACE_A_SOURCES)
|
|
||||||
|
|
||||||
noinst_HEADERS+= $(TRACEHEADERS)
|
|
Loading…
Reference in New Issue
Block a user