| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "//url", | 90 "//url", |
| 91 ] | 91 ] |
| 92 | 92 |
| 93 sources = [ | 93 sources = [ |
| 94 # The message_pump tests are so small and some what related to this code | 94 # The message_pump tests are so small and some what related to this code |
| 95 # that we put them here. | 95 # that we put them here. |
| 96 "../message_pump/handle_watcher_unittest.cc", | 96 "../message_pump/handle_watcher_unittest.cc", |
| 97 "../message_pump/message_pump_mojo_unittest.cc", | 97 "../message_pump/message_pump_mojo_unittest.cc", |
| 98 "common_type_converters_unittest.cc", | 98 "common_type_converters_unittest.cc", |
| 99 ] | 99 ] |
| 100 | |
| 101 if (is_linux && !is_component_build) { | |
| 102 # This tests dynamically loads libmojo_test_support even in non-component | |
| 103 # builds. | |
| 104 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | |
| 105 } | |
| 106 } | 100 } |
| 107 | 101 |
| 108 test("mojo_common_perftests") { | 102 test("mojo_common_perftests") { |
| 109 deps = [ | 103 deps = [ |
| 110 ":common", | 104 ":common", |
| 111 "//base", | 105 "//base", |
| 112 "//mojo/environment:chromium", | 106 "//mojo/environment:chromium", |
| 113 "//mojo/message_pump", | 107 "//mojo/message_pump", |
| 114 "//mojo/public/cpp/test_support:test_utils", | 108 "//mojo/public/cpp/test_support:test_utils", |
| 115 "//testing/gtest", | 109 "//testing/gtest", |
| 116 "//third_party/mojo/src/mojo/edk/test:run_all_perftests", | 110 "//third_party/mojo/src/mojo/edk/test:run_all_perftests", |
| 117 ] | 111 ] |
| 118 | 112 |
| 119 sources = [ | 113 sources = [ |
| 120 "../message_pump/handle_watcher_perftest.cc", | 114 "../message_pump/handle_watcher_perftest.cc", |
| 121 ] | 115 ] |
| 122 } | 116 } |
| OLD | NEW |