| 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 source_set("test_support") { | 7 static_library("test_support") { |
| 8 testonly = true | 8 testonly = true |
| 9 sources = [ | 9 sources = [ |
| 10 "mojo_test_base.cc", | 10 "mojo_test_base.cc", |
| 11 "mojo_test_base.h", | 11 "mojo_test_base.h", |
| 12 "scoped_ipc_support.cc", | 12 "scoped_ipc_support.cc", |
| 13 "scoped_ipc_support.h", | 13 "scoped_ipc_support.h", |
| 14 "test_utils.h", | 14 "test_utils.h", |
| 15 "test_utils_posix.cc", | 15 "test_utils_posix.cc", |
| 16 "test_utils_win.cc", | 16 "test_utils_win.cc", |
| 17 ] | 17 ] |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 sources = [ | 67 sources = [ |
| 68 "run_all_perftests.cc", | 68 "run_all_perftests.cc", |
| 69 ] | 69 ] |
| 70 | 70 |
| 71 if (is_linux && !is_component_build) { | 71 if (is_linux && !is_component_build) { |
| 72 public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 72 public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 source_set("test_support_impl") { | 76 static_library("test_support_impl") { |
| 77 testonly = true | 77 testonly = true |
| 78 deps = [ | 78 deps = [ |
| 79 "//base", | 79 "//base", |
| 80 "//base/test:test_support", | 80 "//base/test:test_support", |
| 81 "//mojo/public/c/test_support", | 81 "//mojo/public/c/test_support", |
| 82 "//mojo/public/cpp/system", | 82 "//mojo/public/cpp/system", |
| 83 ] | 83 ] |
| 84 | 84 |
| 85 sources = [ | 85 sources = [ |
| 86 "test_support_impl.cc", | 86 "test_support_impl.cc", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 "//mojo/public/c/system/tests:perftests", | 124 "//mojo/public/c/system/tests:perftests", |
| 125 ] | 125 ] |
| 126 } | 126 } |
| 127 | 127 |
| 128 test("mojo_public_system_unittests") { | 128 test("mojo_public_system_unittests") { |
| 129 deps = [ | 129 deps = [ |
| 130 ":run_all_unittests", | 130 ":run_all_unittests", |
| 131 "//mojo/public/cpp/system/tests", | 131 "//mojo/public/cpp/system/tests", |
| 132 ] | 132 ] |
| 133 } | 133 } |
| OLD | NEW |