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_base.gyp:mojo_common_lib | 5 # GYP version: mojo/mojo_base.gyp:mojo_common_lib |
6 component("common") { | 6 component("common") { |
7 output_name = "mojo_common_lib" | 7 output_name = "mojo_common_lib" |
8 | 8 |
9 sources = [ | 9 sources = [ |
10 "common_type_converters.cc", | 10 "common_type_converters.cc", |
11 "common_type_converters.h", | 11 "common_type_converters.h", |
12 "data_pipe_utils.cc", | 12 "data_pipe_utils.cc", |
13 "data_pipe_utils.h", | 13 "data_pipe_utils.h", |
14 "handle_watcher.cc", | 14 "handle_watcher.cc", |
15 "handle_watcher.h", | 15 "handle_watcher.h", |
16 "message_pump_mojo.cc", | 16 "message_pump_mojo.cc", |
17 "message_pump_mojo.h", | 17 "message_pump_mojo.h", |
18 "message_pump_mojo_handler.h", | 18 "message_pump_mojo_handler.h", |
19 "time_helper.cc", | 19 "time_helper.cc", |
20 "time_helper.h", | 20 "time_helper.h", |
21 ] | 21 ] |
22 | 22 |
23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] | 23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//base/third_party/dynamic_annotations", | 27 "//base/third_party/dynamic_annotations", |
28 "//mojo/public/c/system:for_component", | 28 "//third_party/mojo/src/mojo/public/c/system:for_component", |
29 "//url", | 29 "//url", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
34 test("mojo_common_unittests") { | 34 test("mojo_common_unittests") { |
35 deps = [ | 35 deps = [ |
36 ":common", | 36 ":common", |
37 "//base", | 37 "//base", |
38 "//base:message_loop_tests", | 38 "//base:message_loop_tests", |
39 "//mojo/edk/test:run_all_unittests", | |
40 "//mojo/edk/test:test_support", | |
41 "//mojo/environment:chromium", | 39 "//mojo/environment:chromium", |
42 "//mojo/public/cpp/bindings", | |
43 "//mojo/public/cpp/test_support:test_utils", | |
44 "//testing/gtest", | 40 "//testing/gtest", |
| 41 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 42 "//third_party/mojo/src/mojo/edk/test:test_support", |
| 43 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 44 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils", |
45 "//url", | 45 "//url", |
46 ] | 46 ] |
47 | 47 |
48 sources = [ | 48 sources = [ |
49 "common_type_converters_unittest.cc", | 49 "common_type_converters_unittest.cc", |
50 "handle_watcher_unittest.cc", | 50 "handle_watcher_unittest.cc", |
51 "message_pump_mojo_unittest.cc", | 51 "message_pump_mojo_unittest.cc", |
52 ] | 52 ] |
53 } | 53 } |
OLD | NEW |