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

Side by Side Diff: blimp/net/BUILD.gn

Issue 1486543003: Move blimp/net/test_common.h/cc to a separate source_set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_tie
Patch Set: Fixed component build breaks. Created 5 years 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 | « blimp/engine/browser/engine_render_widget_message_processor_unittest.cc ('k') | no next file » | 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 component("blimp_net") { 5 component("blimp_net") {
6 sources = [ 6 sources = [
7 "blimp_connection.cc", 7 "blimp_connection.cc",
8 "blimp_connection.h", 8 "blimp_connection.h",
9 "blimp_message_checkpoint_observer.h", 9 "blimp_message_checkpoint_observer.h",
10 "blimp_message_demultiplexer.cc", 10 "blimp_message_demultiplexer.cc",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ] 50 defines = [ "BLIMP_NET_IMPLEMENTATION=1" ]
51 51
52 deps = [ 52 deps = [
53 "//base", 53 "//base",
54 "//blimp/common/proto", 54 "//blimp/common/proto",
55 "//net", 55 "//net",
56 ] 56 ]
57 } 57 }
58 58
59 source_set("test_support") {
60 testonly = true
61
62 sources = [
63 "blimp_net_test_export.h",
64 "test_common.cc",
65 "test_common.h",
66 ]
67
68 deps = [
69 ":blimp_net",
70 "//blimp/common/proto",
71 "//net:test_support",
72 "//testing/gmock",
73 ]
74 }
75
59 source_set("unit_tests") { 76 source_set("unit_tests") {
60 testonly = true 77 testonly = true
61 78
62 sources = [ 79 sources = [
63 "blimp_connection_unittest.cc", 80 "blimp_connection_unittest.cc",
64 "blimp_message_demultiplexer_unittest.cc", 81 "blimp_message_demultiplexer_unittest.cc",
65 "blimp_message_multiplexer_unittest.cc", 82 "blimp_message_multiplexer_unittest.cc",
66 "blimp_message_pump_unittest.cc", 83 "blimp_message_pump_unittest.cc",
67 "engine_connection_manager_unittest.cc", 84 "engine_connection_manager_unittest.cc",
68 "input_message_unittest.cc", 85 "input_message_unittest.cc",
69 "stream_packet_reader_unittest.cc", 86 "stream_packet_reader_unittest.cc",
70 "stream_packet_writer_unittest.cc", 87 "stream_packet_writer_unittest.cc",
71 "tcp_transport_unittest.cc", 88 "tcp_transport_unittest.cc",
72 "test_common.cc",
73 "test_common.h",
74 ] 89 ]
75 90
76 deps = [ 91 deps = [
77 ":blimp_net", 92 ":blimp_net",
93 ":test_support",
78 "//base", 94 "//base",
79 "//base/test:run_all_unittests", 95 "//base/test:run_all_unittests",
80 "//base/test:test_support", 96 "//base/test:test_support",
81 "//blimp/common/proto", 97 "//blimp/common/proto",
82 "//net:test_support", 98 "//net:test_support",
83 "//testing/gmock", 99 "//testing/gmock",
84 "//testing/gtest", 100 "//testing/gtest",
85 ] 101 ]
86 } 102 }
OLDNEW
« no previous file with comments | « blimp/engine/browser/engine_render_widget_message_processor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698