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

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

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « mojo/BUILD.gn ('k') | net/BUILD.gn » ('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("//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
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
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 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698