summaryrefslogtreecommitdiff
path: root/chromium/mojo/environment/BUILD.gn
blob: c860250022b34e96451fc8cf7980dc52bc710e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2014 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.

# GYP version: mojo_base.gyp:mojo_environment_chromium
source_set("chromium") {
  output_name = "mojo_environment_chromium"

  sources = [
    "environment.cc",
    # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
    "../public/cpp/environment/logging.h",
    "../public/cpp/environment/lib/logging.cc",
  ]

  public_deps = [
    ":chromium_impl",
  ]
}

# GYP version: mojo_base.gyp:mojo_environment_chromium_impl
component("chromium_impl") {
  output_name = "mojo_environment_impl"
  visibility = [ "//mojo/*" ]

  sources = [
    "default_async_waiter_impl.cc",
    "default_async_waiter_impl.h",
    "default_logger_impl.cc",
    "default_logger_impl.h",
  ]

  defines = [
    "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION",
  ]

  deps = [
    "//base",
    "//base/third_party/dynamic_annotations",
    "//mojo/common",
  ]
}