Fix latent Clang plugin style issues in chrome/
[chromium-blink-merge.git] / mojo / environment / BUILD.gn
blobe10850a4826d92f712cf0687f2007d10f2f0609a
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",
12     # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
13     "../public/cpp/environment/logging.h",
14     "../public/cpp/environment/lib/logging.cc",
15   ]
17   public_deps = [
18     ":chromium_impl",
19   ]
22 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl
23 component("chromium_impl") {
24   output_name = "mojo_environment_impl"
25   visibility = [ "//mojo/*" ]
27   sources = [
28     "default_async_waiter_impl.cc",
29     "default_async_waiter_impl.h",
30     "default_logger_impl.cc",
31     "default_logger_impl.h",
32     "default_run_loop_impl.cc",
33     "default_run_loop_impl.h",
34   ]
36   defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ]
38   deps = [
39     "//base",
40     "//base/third_party/dynamic_annotations",
41     "//mojo/common",
42   ]