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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 sources = [ | 52 sources = [ |
53 "remote_security_key_main.cc", | 53 "remote_security_key_main.cc", |
54 "remote_security_key_main.h", | 54 "remote_security_key_main.h", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 if (is_win) { | 58 if (is_win) { |
59 executable("remote_security_key") { | 59 executable("remote_security_key") { |
60 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 60 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
61 | 61 |
62 defines = host_predefines + [ "BINARY=BINARY_REMOTE_SECURITY_KEY" ] | 62 defines = |
| 63 host_predefines + [ "REMOTING_HOST_BINARY=BINARY_REMOTE_SECURITY_KEY" ] |
63 | 64 |
64 deps = [ | 65 deps = [ |
65 "//build/win:default_exe_manifest", | 66 "//build/win:default_exe_manifest", |
66 "//remoting/host/win:remoting_core", | 67 "//remoting/host/win:remoting_core", |
67 "//remoting/host/win:remoting_windows_resources", | 68 "//remoting/host/win:remoting_windows_resources", |
68 ] | 69 ] |
69 | 70 |
70 sources = [ | 71 sources = [ |
71 "$root_gen_dir/remoting/version.rc", | 72 "$root_gen_dir/remoting/version.rc", |
72 "remote_security_key_entry_point.cc", | 73 "remote_security_key_entry_point.cc", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "//remoting/proto", | 115 "//remoting/proto", |
115 "//testing/gtest", | 116 "//testing/gtest", |
116 ] | 117 ] |
117 | 118 |
118 public_deps = [ | 119 public_deps = [ |
119 "//testing/gmock", | 120 "//testing/gmock", |
120 "//third_party/protobuf:protobuf_lite", | 121 "//third_party/protobuf:protobuf_lite", |
121 "//third_party/webrtc/modules/desktop_capture", | 122 "//third_party/webrtc/modules/desktop_capture", |
122 ] | 123 ] |
123 } | 124 } |
OLD | NEW |