Migrate some internal base targets
This commit is contained in:
parent
027ebfdb8f
commit
73b908fbcf
1 changed files with 27 additions and 34 deletions
|
@ -83,20 +83,17 @@ absl_library(
|
||||||
base
|
base
|
||||||
)
|
)
|
||||||
|
|
||||||
# throw delegate library
|
absl_cc_library(
|
||||||
set(THROW_DELEGATE_SRC "internal/throw_delegate.cc")
|
NAME
|
||||||
|
|
||||||
absl_library(
|
|
||||||
TARGET
|
|
||||||
absl_throw_delegate
|
|
||||||
SOURCES
|
|
||||||
${THROW_DELEGATE_SRC}
|
|
||||||
PUBLIC_LIBRARIES
|
|
||||||
${THROW_DELEGATE_PUBLIC_LIBRARIES}
|
|
||||||
PRIVATE_COMPILE_FLAGS
|
|
||||||
${ABSL_EXCEPTIONS_FLAG}
|
|
||||||
EXPORT_NAME
|
|
||||||
throw_delegate
|
throw_delegate
|
||||||
|
SRCS
|
||||||
|
"internal/throw_delegate.cc"
|
||||||
|
HDRS
|
||||||
|
"internal/throw_delegate.h"
|
||||||
|
COPTS
|
||||||
|
${ABSL_EXCEPTIONS_FLAG}
|
||||||
|
DEPS
|
||||||
|
absl::base
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -131,29 +128,25 @@ absl_library(
|
||||||
${DYNAMIC_ANNOTATIONS_SRC}
|
${DYNAMIC_ANNOTATIONS_SRC}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
absl_cc_library(
|
||||||
# spinlock_wait library
|
NAME
|
||||||
set(SPINLOCK_WAIT_SRC "internal/spinlock_wait.cc")
|
spinlock_wait
|
||||||
|
SRCS
|
||||||
absl_library(
|
"internal/spinlock_wait.cc"
|
||||||
TARGET
|
HDRS
|
||||||
absl_spinlock_wait
|
"internal/scheduling_mode.h"
|
||||||
SOURCES
|
"internal/spinlock_wait.h"
|
||||||
${SPINLOCK_WAIT_SRC}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
absl_cc_library(
|
||||||
# malloc_internal library
|
NAME
|
||||||
list(APPEND MALLOC_INTERNAL_SRC
|
malloc_internal
|
||||||
"internal/low_level_alloc.cc"
|
SRCS
|
||||||
)
|
"internal/low_level_alloc.cc"
|
||||||
|
HDRS
|
||||||
absl_library(
|
"internal/direct_mmap.h"
|
||||||
TARGET
|
"internal/low_level_alloc.h"
|
||||||
absl_malloc_internal
|
DEPS
|
||||||
SOURCES
|
|
||||||
${MALLOC_INTERNAL_SRC}
|
|
||||||
PUBLIC_LIBRARIES
|
|
||||||
absl_dynamic_annotations
|
absl_dynamic_annotations
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue