OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
6 | 6 |
7 source_set("security_key") { | 7 source_set("security_key") { |
8 sources = [ | 8 sources = [ |
9 "security_key_auth_handler.h", | 9 "security_key_auth_handler.h", |
10 "security_key_auth_handler_posix.cc", | 10 "security_key_auth_handler_posix.cc", |
(...skipping 18 matching lines...) Expand all Loading... | |
29 "security_key_message_reader_impl.cc", | 29 "security_key_message_reader_impl.cc", |
30 "security_key_message_reader_impl.h", | 30 "security_key_message_reader_impl.h", |
31 "security_key_message_writer.h", | 31 "security_key_message_writer.h", |
32 "security_key_message_writer_impl.cc", | 32 "security_key_message_writer_impl.cc", |
33 "security_key_message_writer_impl.h", | 33 "security_key_message_writer_impl.h", |
34 "security_key_socket.cc", | 34 "security_key_socket.cc", |
35 "security_key_socket.h", | 35 "security_key_socket.h", |
36 ] | 36 ] |
37 | 37 |
38 deps = [ | 38 deps = [ |
39 "//mojo/edk/system", | |
39 "//remoting/proto", | 40 "//remoting/proto", |
40 "//third_party/webrtc/modules/desktop_capture", | 41 "//third_party/webrtc/modules/desktop_capture", |
41 ] | 42 ] |
42 } | 43 } |
43 | 44 |
44 source_set("main") { | 45 source_set("main") { |
45 defines = [ "HOST_IMPLEMENTATION" ] | 46 defines = [ "HOST_IMPLEMENTATION" ] |
46 | 47 |
47 if (is_win) { | 48 if (is_win) { |
48 defines += host_predefines | 49 defines += host_predefines |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 "security_key_ipc_client_unittest.cc", | 84 "security_key_ipc_client_unittest.cc", |
84 "security_key_ipc_server_unittest.cc", | 85 "security_key_ipc_server_unittest.cc", |
85 "security_key_message_handler_unittest.cc", | 86 "security_key_message_handler_unittest.cc", |
86 "security_key_message_reader_impl_unittest.cc", | 87 "security_key_message_reader_impl_unittest.cc", |
87 "security_key_message_writer_impl_unittest.cc", | 88 "security_key_message_writer_impl_unittest.cc", |
88 ] | 89 ] |
89 | 90 |
90 public_deps = [ | 91 public_deps = [ |
91 ":test_support", | 92 ":test_support", |
92 ] | 93 ] |
94 deps = [ | |
95 "//mojo/edk/test:test_support", | |
96 ] | |
93 } | 97 } |
94 | 98 |
95 static_library("test_support") { | 99 static_library("test_support") { |
96 testonly = true | 100 testonly = true |
97 | 101 |
98 sources = [ | 102 sources = [ |
99 "fake_ipc_security_key_auth_handler.cc", | |
100 "fake_ipc_security_key_auth_handler.h", | |
joedow
2016/11/03 22:25:18
Should these files be deleted in this CL? I don't
Sam McNally
2016/11/04 02:51:09
Done.
| |
101 "fake_security_key_ipc_client.cc", | 103 "fake_security_key_ipc_client.cc", |
102 "fake_security_key_ipc_client.h", | 104 "fake_security_key_ipc_client.h", |
103 "fake_security_key_ipc_server.cc", | 105 "fake_security_key_ipc_server.cc", |
104 "fake_security_key_ipc_server.h", | 106 "fake_security_key_ipc_server.h", |
105 "fake_security_key_message_reader.cc", | 107 "fake_security_key_message_reader.cc", |
106 "fake_security_key_message_reader.h", | 108 "fake_security_key_message_reader.h", |
107 "fake_security_key_message_writer.cc", | 109 "fake_security_key_message_writer.cc", |
108 "fake_security_key_message_writer.h", | 110 "fake_security_key_message_writer.h", |
109 ] | 111 ] |
110 | 112 |
111 deps = [ | 113 deps = [ |
112 "//remoting/proto", | 114 "//remoting/proto", |
113 "//testing/gtest", | 115 "//testing/gtest", |
114 ] | 116 ] |
115 | 117 |
116 public_deps = [ | 118 public_deps = [ |
117 "//testing/gmock", | 119 "//testing/gmock", |
118 "//third_party/protobuf:protobuf_lite", | 120 "//third_party/protobuf:protobuf_lite", |
119 "//third_party/webrtc/modules/desktop_capture", | 121 "//third_party/webrtc/modules/desktop_capture", |
120 ] | 122 ] |
121 } | 123 } |
OLD | NEW |