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

Side by Side Diff: remoting/signaling/BUILD.gn

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 years, 5 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 | « remoting/protocol/BUILD.gn ('k') | remoting/test/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//remoting/remoting_srcs.gni") 5 import("//remoting/remoting_srcs.gni")
6 6
7 source_set("signaling") { 7 static_library("signaling") {
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources, 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_signaling_sources,
9 ".", 9 ".",
10 "//remoting") 10 "//remoting")
11 11
12 configs += [ 12 configs += [
13 "//build/config/compiler:no_size_t_to_int_warning", 13 "//build/config/compiler:no_size_t_to_int_warning",
14 "//build/config/compiler:wexit_time_destructors", 14 "//build/config/compiler:wexit_time_destructors",
15 ] 15 ]
16 16
17 public_deps = [ 17 public_deps = [
(...skipping 11 matching lines...) Expand all
29 29
30 if (is_nacl) { 30 if (is_nacl) {
31 sources -= [ 31 sources -= [
32 "log_to_server.cc", 32 "log_to_server.cc",
33 "server_log_entry.cc", 33 "server_log_entry.cc",
34 "xmpp_signal_strategy.cc", 34 "xmpp_signal_strategy.cc",
35 ] 35 ]
36 } 36 }
37 } 37 }
38 38
39 source_set("test_support") { 39 static_library("test_support") {
40 testonly = true 40 testonly = true
41 41
42 sources = [ 42 sources = [
43 "fake_signal_strategy.cc", 43 "fake_signal_strategy.cc",
44 "fake_signal_strategy.h", 44 "fake_signal_strategy.h",
45 "mock_signal_strategy.cc", 45 "mock_signal_strategy.cc",
46 "mock_signal_strategy.h", 46 "mock_signal_strategy.h",
47 ] 47 ]
48 48
49 public_deps = [ 49 public_deps = [
(...skipping 16 matching lines...) Expand all
66 "xmpp_signal_strategy_unittest.cc", 66 "xmpp_signal_strategy_unittest.cc",
67 "xmpp_stream_parser_unittest.cc", 67 "xmpp_stream_parser_unittest.cc",
68 ] 68 ]
69 69
70 deps = [ 70 deps = [
71 ":test_support", 71 ":test_support",
72 "//testing/gmock", 72 "//testing/gmock",
73 "//testing/gtest", 73 "//testing/gtest",
74 ] 74 ]
75 } 75 }
OLDNEW
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698