BUILD 625 字节
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library")
2 3 4 5
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

6 7
cc_library(
    name = "perf_event_cache",
8 9
    srcs = ["perf_event_cache.cc"],
    hdrs = ["perf_event_cache.h"],
10
    deps = [
11
        ":perf_event",
A
Aaron Xiao 已提交
12
        "//cyber:state",
G
gruminions 已提交
13 14 15 16
        "//cyber/base:bounded_queue",
        "//cyber/common:global_data",
        "//cyber/common:log",
        "//cyber/common:macros",
A
Aaron Xiao 已提交
17 18
        "//cyber/time",
    ],
19 20
)

G
gruminions 已提交
21 22
cc_library(
    name = "perf_event",
A
Aaron Xiao 已提交
23
    hdrs = ["perf_event.h"],
G
gruminions 已提交
24 25 26 27 28
    deps = [
        "//cyber/common:global_data",
    ],
)

G
GoLancer 已提交
29
cpplint()