Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / mojo / environment / BUILD.gn
blobcba8cac18845c49788f01e9b6e36a94c67193d32
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # GYP version: mojo_base.gyp:mojo_environment_chromium
6 source_set("chromium") {
7   output_name = "mojo_environment_chromium"
9   sources = [
10     "environment.cc",
11     # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
12     "../public/cpp/environment/logging.h",
13     "../public/cpp/environment/lib/logging.cc",
14   ]
16   deps = [
17     ":chromium_impl",
18   ]
20   forward_dependent_configs_from = [
21     ":chromium_impl",
22   ]
25 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl
26 component("chromium_impl") {
27   output_name = "mojo_environment_impl"
28   visibility = "//mojo/*"
30   sources = [
31     "default_async_waiter_impl.cc",
32     "default_async_waiter_impl.h",
33     "default_logger_impl.cc",
34     "default_logger_impl.h",
35   ]
37   defines = [
38     "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION",
39   ]
41   deps = [
42     "//base",
43     "//base/third_party/dynamic_annotations",
44     "//mojo/common",
45   ]