bazel/external/perfetto/BUILD.bazel
raw| 1 | # This file will be copied into //third_party/externals/perfetto via the |
| 2 | # new_local_repository rule in WORKSPACE.bazel, so all files should be relative to that path. |
| 3 | |
| 4 | load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 5 | |
| 6 | cc_library( |
| 7 | name = "perfetto", |
| 8 | srcs = ["sdk/perfetto.cc"], |
| 9 | hdrs = [ |
| 10 | "sdk/perfetto.h", |
| 11 | ], |
| 12 | defines = ["SK_USE_PERFETTO"], |
| 13 | includes = ["sdk"], |
| 14 | visibility = ["//visibility:public"], |
| 15 | ) |