OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # GYP version: mojo_base.gyp:mojo_environment_chromium | 5 # GYP version: mojo_base.gyp:mojo_environment_chromium |
6 source_set("chromium") { | 6 source_set("chromium") { |
7 output_name = "mojo_environment_chromium" | 7 output_name = "mojo_environment_chromium" |
8 | 8 |
9 sources = [ | 9 sources = [ |
10 "environment.cc", | 10 "environment.cc", |
11 | 11 |
12 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) | 12 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) |
13 "../public/cpp/environment/logging.h", | 13 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", |
14 "../public/cpp/environment/lib/logging.cc", | 14 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", |
15 ] | 15 ] |
16 | 16 |
17 public_deps = [ | 17 public_deps = [ |
18 ":chromium_impl", | 18 ":chromium_impl", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl | 22 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl |
23 component("chromium_impl") { | 23 component("chromium_impl") { |
24 output_name = "mojo_environment_impl" | 24 output_name = "mojo_environment_impl" |
25 visibility = [ "//mojo/*" ] | 25 visibility = [ "//mojo/*" ] |
26 | 26 |
27 sources = [ | 27 sources = [ |
28 "default_async_waiter_impl.cc", | 28 "default_async_waiter_impl.cc", |
29 "default_async_waiter_impl.h", | 29 "default_async_waiter_impl.h", |
30 "default_logger_impl.cc", | 30 "default_logger_impl.cc", |
31 "default_logger_impl.h", | 31 "default_logger_impl.h", |
32 "default_run_loop_impl.cc", | 32 "default_run_loop_impl.cc", |
33 "default_run_loop_impl.h", | 33 "default_run_loop_impl.h", |
34 ] | 34 ] |
35 | 35 |
36 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] | 36 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] |
37 | 37 |
| 38 public_configs = [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk"
] |
| 39 |
38 deps = [ | 40 deps = [ |
39 "//base", | 41 "//base", |
40 "//base/third_party/dynamic_annotations", | 42 "//base/third_party/dynamic_annotations", |
41 "//mojo/common", | 43 "//mojo/common", |
42 ] | 44 ] |
43 } | 45 } |
OLD | NEW |