Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: mojo/common/BUILD.gn

Issue 1963883002: mojo: make libmojo_public_test_support a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/mojo.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698