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

Side by Side Diff: jingle/BUILD.gn

Issue 1664653003: Revert of 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 | « ipc/BUILD.gn ('k') | media/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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (enable_webrtc || !is_android) { 8 if (enable_webrtc || !is_android) {
9 jingle_includes = exec_script("//build/gypi_to_gn.py", 9 jingle_includes = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("jingle.gypi") ], 10 [ rebase_path("jingle.gypi") ],
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 public_deps = [ 114 public_deps = [
115 ":jingle_glue", 115 ":jingle_glue",
116 ":notifier", 116 ":notifier",
117 ] 117 ]
118 deps = [ 118 deps = [
119 "//base", 119 "//base",
120 "//testing/gmock", 120 "//testing/gmock",
121 ] 121 ]
122 } 122 }
123 123
124 # TODO(GYP): Delete this after we've converted everything to GN.
125 # The _run targets exist only for compatibility w/ GYP.
126 group("jingle_unittests_run") {
127 testonly = true
128 deps = [
129 ":jingle_unittests",
130 ]
131 }
132
124 # GYP version: jingle/jingle.gyp:jingle_unittests 133 # GYP version: jingle/jingle.gyp:jingle_unittests
125 test("jingle_unittests") { 134 test("jingle_unittests") {
126 sources = [ 135 sources = [
127 "glue/chrome_async_socket_unittest.cc", 136 "glue/chrome_async_socket_unittest.cc",
128 "glue/fake_ssl_client_socket_unittest.cc", 137 "glue/fake_ssl_client_socket_unittest.cc",
129 "glue/jingle_glue_mock_objects.cc", 138 "glue/jingle_glue_mock_objects.cc",
130 "glue/jingle_glue_mock_objects.h", 139 "glue/jingle_glue_mock_objects.h",
131 "glue/logging_unittest.cc", 140 "glue/logging_unittest.cc",
132 "glue/mock_task.cc", 141 "glue/mock_task.cc",
133 "glue/mock_task.h", 142 "glue/mock_task.h",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ] 207 ]
199 deps = [ 208 deps = [
200 "//base", 209 "//base",
201 "//net", 210 "//net",
202 ] 211 ]
203 } 212 }
204 213
205 source_set("notifier_test_util") { 214 source_set("notifier_test_util") {
206 } 215 }
207 } 216 }
OLDNEW
« no previous file with comments | « ipc/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698