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

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

Issue 965633002: Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge fix Created 5 years, 9 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/setup/BUILD.gn ('k') | remoting/remoting.gyp » ('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 static_library("protocol") { 5 import("//remoting/remoting_srcs.gni")
6 gypi_values = exec_script("//build/gypi_to_gn.py",
7 [ rebase_path("../remoting_srcs.gypi") ],
8 "scope",
9 [ "../remoting_srcs.gypi" ])
10 6
11 sources = 7 source_set("protocol") {
12 rebase_path(gypi_values.remoting_protocol_sources, ".", "//remoting") 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_protocol_sources,
9 ".",
10 "//remoting")
13 11
14 configs += [ 12 configs += [
15 "//build/config/compiler:no_size_t_to_int_warning", 13 "//build/config/compiler:no_size_t_to_int_warning",
16 "//build/config/compiler:wexit_time_destructors", 14 "//build/config/compiler:wexit_time_destructors",
17 ] 15 ]
18 16
19 public_deps = [ 17 public_deps = [
18 "//remoting/proto",
20 "//third_party/libjingle", 19 "//third_party/libjingle",
21 ] 20 ]
22 deps = [ 21 deps = [
23 "//base", 22 "//base",
24 "//crypto", 23 "//crypto",
25 "//jingle:jingle_glue", 24 "//jingle:jingle_glue",
26 "//jingle:notifier", 25 "//jingle:notifier",
27 "//net", 26 "//net",
28 "//remoting/base", 27 "//remoting/base",
28 "//remoting/codec",
29 ] 29 ]
30 } 30 }
31
32 source_set("test_support") {
33 testonly = true
34
35 sources = [
36 "fake_authenticator.cc",
37 "fake_authenticator.h",
38 "fake_datagram_socket.cc",
39 "fake_datagram_socket.h",
40 "fake_session.cc",
41 "fake_session.h",
42 "fake_stream_socket.cc",
43 "fake_stream_socket.h",
44 "protocol_mock_objects.cc",
45 "protocol_mock_objects.h",
46 ]
47
48 public_deps = [
49 ":protocol",
50 "//testing/gmock",
51 ]
52 }
53
54 source_set("unit_tests") {
55 testonly = true
56
57 sources = [
58 "authenticator_test_base.cc",
59 "authenticator_test_base.h",
60 "channel_multiplexer_unittest.cc",
61 "chromium_socket_factory_unittest.cc",
62 "client_video_dispatcher_unittest.cc",
63 "clipboard_echo_filter_unittest.cc",
64 "clipboard_filter_unittest.cc",
65 "connection_tester.cc",
66 "connection_tester.h",
67 "connection_to_client_unittest.cc",
68 "content_description_unittest.cc",
69 "input_event_tracker_unittest.cc",
70 "input_filter_unittest.cc",
71 "jingle_messages_unittest.cc",
72 "jingle_session_unittest.cc",
73 "message_decoder_unittest.cc",
74 "message_reader_unittest.cc",
75 "monitored_video_stub_unittest.cc",
76 "mouse_input_filter_unittest.cc",
77 "negotiating_authenticator_unittest.cc",
78 "network_settings_unittest.cc",
79 "pairing_registry_unittest.cc",
80 "ppapi_module_stub.cc",
81 "ssl_hmac_channel_authenticator_unittest.cc",
82 "third_party_authenticator_unittest.cc",
83 "v2_authenticator_unittest.cc",
84 ]
85
86 deps = [
87 ":test_support",
88 "//testing/gmock",
89 "//testing/gtest",
90 ]
91 }
OLDNEW
« no previous file with comments | « remoting/host/setup/BUILD.gn ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698