| # Copyright 2018 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| static_library("core_headers") { |
| public_configs = ["//third_party/abseil-cpp:abseil_config"] |
| |
| sources = [ |
| "attributes.h", |
| "macros.h", |
| "optimization.h", |
| "port.h", |
| "thread_annotations.h", |
| ] |
| } |
| |
| |
| static_library("base") { |
| public_configs = ["//third_party/abseil-cpp:abseil_config"] |
| |
| sources = [ |
| "call_once.h", |
| "casts.h", |
| "internal/atomic_hook.h", |
| "internal/cycleclock.cc", |
| "internal/cycleclock.h", |
| "internal/low_level_scheduling.h", |
| "internal/per_thread_tls.h", |
| "internal/raw_logging.cc", |
| "internal/raw_logging.h", |
| "internal/spinlock.cc", |
| "internal/spinlock.h", |
| "internal/sysinfo.cc", |
| "internal/sysinfo.h", |
| "internal/thread_identity.cc", |
| "internal/thread_identity.h", |
| "internal/tsan_mutex_interface.h", |
| "internal/unscaledcycleclock.cc", |
| "internal/unscaledcycleclock.h", |
| "log_severity.h", |
| ] |
| |
| deps = [":core_headers"] |
| } |