BUILD.gn 580 字节
Newer Older
1 2 3 4 5 6
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("glue") {
  sources = [
A
Adam Barth 已提交
7
    "stack_trace.h",
8
    "trace_event.h",
9 10 11
  ]

  deps = [
A
Adam Barth 已提交
12
    "//lib/ftl",
13
  ]
14

P
P.Y. Laligand 已提交
15
  if (is_fuchsia || is_fuchsia_host) {
16
    sources += [ "stack_trace_fuchsia.cc" ]
A
Adam Barth 已提交
17 18 19 20

    public_deps = [
      "//apps/tracing/lib/trace",
    ]
21 22 23 24 25 26 27
  } else {
    sources += [
      "stack_trace_base.cc",
      "task_runner_adaptor.cc",
      "task_runner_adaptor.h",
    ]

28
    deps += [ "//base" ]
29
  }
30
}