| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 group("common") { | 8 group("common") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":common_base", | 10 ":common_base", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "//mojo/public/cpp/bindings", | 90 "//mojo/public/cpp/bindings", |
| 91 "//mojo/public/cpp/test_support:test_utils", | 91 "//mojo/public/cpp/test_support:test_utils", |
| 92 "//testing/gtest", | 92 "//testing/gtest", |
| 93 "//url", | 93 "//url", |
| 94 ] | 94 ] |
| 95 | 95 |
| 96 sources = [ | 96 sources = [ |
| 97 "common_custom_types_unittest.cc", | 97 "common_custom_types_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/edk/test:run_all_perftests", | 106 "//mojo/edk/test:run_all_perftests", |
| 113 "//mojo/public/cpp/test_support:test_utils", | 107 "//mojo/public/cpp/test_support:test_utils", |
| 114 "//testing/gtest", | 108 "//testing/gtest", |
| 115 ] | 109 ] |
| 116 | |
| 117 if (is_linux && !is_component_build) { | |
| 118 # This test dynamically loads libmojo_test_support even in non-component | |
| 119 # builds. | |
| 120 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | |
| 121 } | |
| 122 } | 110 } |
| OLD | NEW |