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", |
10 "environment.cc", | 18 "environment.cc", |
11 | 19 |
12 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) | 20 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) |
13 "//third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", | 21 "//third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", |
14 "//third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc", | 22 "//third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc", |
15 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", | 23 "//third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", |
16 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.cc", | 24 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.cc", |
17 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.h", | 25 "//third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tracking
.h", |
18 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", | 26 "//third_party/mojo/src/mojo/public/cpp/environment/logging.h", |
19 "//third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", | 27 "//third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", |
20 ] | 28 ] |
21 | 29 |
22 public_deps = [ | |
23 ":chromium_impl", | |
24 ] | |
25 | |
26 deps = [ | 30 deps = [ |
| 31 "//base", |
| 32 "//base/third_party/dynamic_annotations", |
| 33 "//mojo/common:common_base", |
| 34 "//third_party/mojo/src/mojo/public/cpp/environment:environment", |
27 "//third_party/mojo/src/mojo/public/c/environment", | 35 "//third_party/mojo/src/mojo/public/c/environment", |
28 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 36 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
29 "//third_party/mojo/src/mojo/public/cpp/environment", | 37 "//third_party/mojo/src/mojo/public/cpp/environment", |
30 "//third_party/mojo/src/mojo/public/cpp/system", | 38 "//third_party/mojo/src/mojo/public/cpp/system", |
31 ] | 39 ] |
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 | 40 |
50 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] | 41 defines = [ "MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION" ] |
51 | 42 |
52 public_configs = | 43 public_configs = |
53 [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ] | 44 [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ] |
54 | |
55 deps = [ | |
56 "//base", | |
57 "//base/third_party/dynamic_annotations", | |
58 "//mojo/common:common_base", | |
59 "//third_party/mojo/src/mojo/public/cpp/environment:environment", | |
60 ] | |
61 } | 45 } |
OLD | NEW |