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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 group("common") { | 7 group("common") { |
8 public_deps = [ | 8 public_deps = [ |
9 ":common_base", | 9 ":common_base", |
10 ":url_type_converters", | 10 ":url_type_converters", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib | 14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib |
15 component("common_base") { | 15 component("common_base") { |
16 output_name = "mojo_common_lib" | 16 output_name = "mojo_common_lib" |
17 | 17 |
18 sources = [ | 18 sources = [ |
19 "common_type_converters.cc", | 19 "common_type_converters.cc", |
20 "common_type_converters.h", | 20 "common_type_converters.h", |
21 "data_pipe_drainer.cc", | 21 "data_pipe_drainer.cc", |
22 "data_pipe_drainer.h", | 22 "data_pipe_drainer.h", |
23 "data_pipe_file_utils.cc", | 23 "data_pipe_file_utils.cc", |
24 "data_pipe_utils.cc", | 24 "data_pipe_utils.cc", |
25 "data_pipe_utils.h", | 25 "data_pipe_utils.h", |
| 26 "strong_binding_set.h", |
26 "user_agent.cc", | 27 "user_agent.cc", |
27 "user_agent.h", | 28 "user_agent.h", |
28 "weak_binding_set.h", | 29 "weak_binding_set.h", |
29 "weak_interface_ptr_set.h", | 30 "weak_interface_ptr_set.h", |
30 ] | 31 ] |
31 | 32 |
32 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] | 33 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] |
33 | 34 |
34 public_deps = [ | 35 public_deps = [ |
35 "//mojo/public/cpp/system", | 36 "//mojo/public/cpp/system", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 test("mojo_common_unittests") { | 78 test("mojo_common_unittests") { |
78 deps = [ | 79 deps = [ |
79 ":common", | 80 ":common", |
80 "//base", | 81 "//base", |
81 "//base:message_loop_tests", | 82 "//base:message_loop_tests", |
82 "//base/test:test_support", | 83 "//base/test:test_support", |
83 "//mojo/environment:chromium", | 84 "//mojo/environment:chromium", |
84 "//mojo/message_pump", | 85 "//mojo/message_pump", |
85 "//mojo/public/cpp/bindings", | 86 "//mojo/public/cpp/bindings", |
86 "//mojo/public/cpp/test_support:test_utils", | 87 "//mojo/public/cpp/test_support:test_utils", |
| 88 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
87 "//testing/gtest", | 89 "//testing/gtest", |
88 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 90 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
89 "//third_party/mojo/src/mojo/edk/test:test_support", | 91 "//third_party/mojo/src/mojo/edk/test:test_support", |
90 "//url", | 92 "//url", |
91 ] | 93 ] |
92 | 94 |
93 sources = [ | 95 sources = [ |
94 # The message_pump tests are so small and some what related to this code | 96 # The message_pump tests are so small and some what related to this code |
95 # that we put them here. | 97 # that we put them here. |
96 "../message_pump/handle_watcher_unittest.cc", | 98 "../message_pump/handle_watcher_unittest.cc", |
97 "../message_pump/message_pump_mojo_unittest.cc", | 99 "../message_pump/message_pump_mojo_unittest.cc", |
98 "common_type_converters_unittest.cc", | 100 "common_type_converters_unittest.cc", |
| 101 "strong_binding_set_unittest.cc", |
99 ] | 102 ] |
100 } | 103 } |
101 | 104 |
102 test("mojo_common_perftests") { | 105 test("mojo_common_perftests") { |
103 deps = [ | 106 deps = [ |
104 ":common", | 107 ":common", |
105 "//base", | 108 "//base", |
106 "//mojo/environment:chromium", | 109 "//mojo/environment:chromium", |
107 "//mojo/message_pump", | 110 "//mojo/message_pump", |
108 "//mojo/public/cpp/test_support:test_utils", | 111 "//mojo/public/cpp/test_support:test_utils", |
109 "//testing/gtest", | 112 "//testing/gtest", |
110 "//third_party/mojo/src/mojo/edk/test:run_all_perftests", | 113 "//third_party/mojo/src/mojo/edk/test:run_all_perftests", |
111 ] | 114 ] |
112 | 115 |
113 sources = [ | 116 sources = [ |
114 "../message_pump/handle_watcher_perftest.cc", | 117 "../message_pump/handle_watcher_perftest.cc", |
115 ] | 118 ] |
116 } | 119 } |
OLD | NEW |