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 "default_async_waiter_impl.cc", | |
11 "default_async_waiter_impl.h", | |
12 "default_logger_impl.cc", | |
13 "default_logger_impl.h", | |
14 "default_run_loop_impl.cc", | |
15 "default_run_loop_impl.h", | |
16 "default_task_tracker_impl.cc", | |
17 "default_task_tracker_impl.h", | |
18 "environment.cc", | 10 "environment.cc", |
19 | 11 |
20 # 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.) |
21 "//third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", | 13 "//third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", |
22 "//third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc", | 14 "//third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc", |
23 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", | 15 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", |
24 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.cc", | 16 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.cc", |
25 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.h", | 17 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.h", |
26 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", | 18 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", |
27 "//third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", | 19 "//third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", |
28 ] | 20 ] |
29 | 21 |
| 22 public_deps = [ |
| 23 ":chromium_impl", |
| 24 ] |
| 25 |
| 26 deps = [ |
| 27 "//third_party/mojo/src/mojo/public/c/environment", |
| 28 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
| 29 "//third_party/mojo/src/mojo/public/cpp/environment", |
| 30 "//third_party/mojo/src/mojo/public/cpp/system", |
| 31 ] |
| 32 } |
| 33 |
| 34 # GYP version: mojo_base.gyp:mojo_environment_chromium_impl |
| 35 component("chromium_impl") { |
| 36 output_name = "mojo_environment_impl" |
| 37 visibility = [ "//mojo/*" ] |
| 38 |
| 39 sources = [ |
| 40 "default_async_waiter_impl.cc", |
| 41 "default_async_waiter_impl.h", |
| 42 "default_logger_impl.cc", |
| 43 "default_logger_impl.h", |
| 44 "default_run_loop_impl.cc", |
| 45 "default_run_loop_impl.h", |
| 46 "default_task_tracker_impl.cc", |
| 47 "default_task_tracker_impl.h", |
| 48 ] |
| 49 |
| 50 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] |
| 51 |
| 52 public_configs = |
| 53 [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ] |
| 54 |
30 deps = [ | 55 deps = [ |
31 "//base", | 56 "//base", |
32 "//base/third_party/dynamic_annotations", | 57 "//base/third_party/dynamic_annotations", |
33 "//mojo/common:common_base", | 58 "//mojo/common:common_base", |
34 "//third_party/mojo/src/mojo/public/cpp/environment:environment", | 59 "//third_party/mojo/src/mojo/public/cpp/environment:environment", |
35 "//third_party/mojo/src/mojo/public/c/environment", | |
36 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | |
37 "//third_party/mojo/src/mojo/public/cpp/environment", | |
38 "//third_party/mojo/src/mojo/public/cpp/system", | |
39 ] | 60 ] |
40 | |
41 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] | |
42 | |
43 public_configs = | |
44 [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ] | |
45 } | 61 } |
OLD | NEW |