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", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 deps = [ | 58 deps = [ |
59 ":common_base", | 59 ":common_base", |
60 "//base", | 60 "//base", |
61 "//base/third_party/dynamic_annotations", | 61 "//base/third_party/dynamic_annotations", |
62 "//mojo/public/cpp/bindings", | 62 "//mojo/public/cpp/bindings", |
63 "//url", | 63 "//url", |
64 ] | 64 ] |
65 } | 65 } |
66 | 66 |
| 67 # TODO(GYP): Delete this after we've converted everything to GN. |
| 68 # The _run targets exist only for compatibility w/ GYP. |
| 69 group("mojo_common_unittests_run") { |
| 70 testonly = true |
| 71 deps = [ |
| 72 ":mojo_common_unittests", |
| 73 ] |
| 74 } |
| 75 |
67 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 76 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
68 test("mojo_common_unittests") { | 77 test("mojo_common_unittests") { |
69 deps = [ | 78 deps = [ |
70 ":common", | 79 ":common", |
71 "//base", | 80 "//base", |
72 "//base:message_loop_tests", | 81 "//base:message_loop_tests", |
73 "//base/test:test_support", | 82 "//base/test:test_support", |
74 "//mojo/environment:chromium", | 83 "//mojo/environment:chromium", |
75 "//mojo/message_pump", | 84 "//mojo/message_pump", |
76 "//mojo/public/cpp/bindings", | 85 "//mojo/public/cpp/bindings", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 sources = [ | 119 sources = [ |
111 "../message_pump/handle_watcher_perftest.cc", | 120 "../message_pump/handle_watcher_perftest.cc", |
112 ] | 121 ] |
113 | 122 |
114 if (is_linux && !is_component_build) { | 123 if (is_linux && !is_component_build) { |
115 # This test dynamically loads libmojo_test_support even in non-component | 124 # This test dynamically loads libmojo_test_support even in non-component |
116 # builds. | 125 # builds. |
117 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 126 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
118 } | 127 } |
119 } | 128 } |
OLD | NEW |