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

Side by Side Diff: remoting/protocol/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/host/BUILD.gn ('k') | remoting/signaling/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("//remoting/remoting_srcs.gni") 6 import("//remoting/remoting_srcs.gni")
7 7
8 source_set("protocol") { 8 static_library("protocol") {
9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources, 9 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
10 ".", 10 ".",
11 "//remoting") 11 "//remoting")
12 12
13 configs += [ 13 configs += [
14 "//build/config:precompiled_headers", 14 "//build/config:precompiled_headers",
15 "//build/config/compiler:no_size_t_to_int_warning", 15 "//build/config/compiler:no_size_t_to_int_warning",
16 "//build/config/compiler:wexit_time_destructors", 16 "//build/config/compiler:wexit_time_destructors",
17 ] 17 ]
18 18
(...skipping 24 matching lines...) Expand all
43 } else { 43 } else {
44 sources -= [ 44 sources -= [
45 "webrtc_connection_to_client.cc", 45 "webrtc_connection_to_client.cc",
46 "webrtc_transport.cc", 46 "webrtc_transport.cc",
47 "webrtc_video_stream.cc", 47 "webrtc_video_stream.cc",
48 ] 48 ]
49 } 49 }
50 } 50 }
51 } 51 }
52 52
53 source_set("test_support") { 53 static_library("test_support") {
54 testonly = true 54 testonly = true
55 55
56 sources = [ 56 sources = [
57 "fake_authenticator.cc", 57 "fake_authenticator.cc",
58 "fake_authenticator.h", 58 "fake_authenticator.h",
59 "fake_connection_to_client.cc", 59 "fake_connection_to_client.cc",
60 "fake_connection_to_client.h", 60 "fake_connection_to_client.h",
61 "fake_connection_to_host.cc", 61 "fake_connection_to_host.cc",
62 "fake_connection_to_host.h", 62 "fake_connection_to_host.h",
63 "fake_datagram_socket.cc", 63 "fake_datagram_socket.cc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 "webrtc_transport_unittest.cc", 121 "webrtc_transport_unittest.cc",
122 ] 122 ]
123 123
124 deps = [ 124 deps = [
125 ":test_support", 125 ":test_support",
126 "//net:test_support", 126 "//net:test_support",
127 "//testing/gmock", 127 "//testing/gmock",
128 "//testing/gtest", 128 "//testing/gtest",
129 ] 129 ]
130 } 130 }
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/signaling/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698