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/mojo.gyp:mojo_common_lib | 5 import("//mojo/system.gni") |
| 6 |
| 7 # GYP version: mojo/mojo_base.gyp:mojo_common_lib |
6 component("common") { | 8 component("common") { |
7 output_name = "mojo_common_lib" | 9 output_name = "mojo_common_lib" |
8 | 10 |
9 sources = [ | 11 sources = [ |
10 "common_type_converters.cc", | 12 "common_type_converters.cc", |
11 "common_type_converters.h", | 13 "common_type_converters.h", |
12 "data_pipe_utils.cc", | 14 "data_pipe_utils.cc", |
13 "data_pipe_utils.h", | 15 "data_pipe_utils.h", |
14 "handle_watcher.cc", | 16 "handle_watcher.cc", |
15 "handle_watcher.h", | 17 "handle_watcher.h", |
16 "message_pump_mojo.cc", | 18 "message_pump_mojo.cc", |
17 "message_pump_mojo.h", | 19 "message_pump_mojo.h", |
18 "message_pump_mojo_handler.h", | 20 "message_pump_mojo_handler.h", |
19 "time_helper.cc", | 21 "time_helper.cc", |
20 "time_helper.h", | 22 "time_helper.h", |
21 ] | 23 ] |
22 | 24 |
23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] | 25 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] |
24 | 26 |
25 deps = [ | 27 deps = [ |
26 "//base", | 28 "//base", |
27 "//base/third_party/dynamic_annotations", | 29 "//base/third_party/dynamic_annotations", |
28 "//mojo/system", | 30 ] + mojo_system_for_component |
29 ] | |
30 } | 31 } |
OLD | NEW |