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 | |
76 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 67 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
77 test("mojo_common_unittests") { | 68 test("mojo_common_unittests") { |
78 deps = [ | 69 deps = [ |
79 ":common", | 70 ":common", |
80 "//base", | 71 "//base", |
81 "//base:message_loop_tests", | 72 "//base:message_loop_tests", |
82 "//base/test:test_support", | 73 "//base/test:test_support", |
83 "//mojo/environment:chromium", | 74 "//mojo/environment:chromium", |
84 "//mojo/message_pump", | 75 "//mojo/message_pump", |
85 "//mojo/public/cpp/bindings", | 76 "//mojo/public/cpp/bindings", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 sources = [ | 110 sources = [ |
120 "../message_pump/handle_watcher_perftest.cc", | 111 "../message_pump/handle_watcher_perftest.cc", |
121 ] | 112 ] |
122 | 113 |
123 if (is_linux && !is_component_build) { | 114 if (is_linux && !is_component_build) { |
124 # This test dynamically loads libmojo_test_support even in non-component | 115 # This test dynamically loads libmojo_test_support even in non-component |
125 # builds. | 116 # builds. |
126 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 117 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
127 } | 118 } |
128 } | 119 } |
OLD | NEW |