OLD | NEW |
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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//remoting/remoting_locales.gni") | 7 import("//remoting/remoting_locales.gni") |
8 import("//remoting/remoting_srcs.gni") | 8 import("//remoting/remoting_srcs.gni") |
9 import("//remoting/remoting_version.gni") | 9 import("//remoting/remoting_version.gni") |
10 import("//remoting/tools/build/remoting_localize.gni") | 10 import("//remoting/tools/build/remoting_localize.gni") |
(...skipping 19 matching lines...) Expand all Loading... |
30 "//remoting") | 30 "//remoting") |
31 | 31 |
32 libs = [] | 32 libs = [] |
33 | 33 |
34 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 34 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
35 | 35 |
36 defines = [ "WEBRTC_CHROMIUM_BUILD" ] | 36 defines = [ "WEBRTC_CHROMIUM_BUILD" ] |
37 | 37 |
38 deps = [ | 38 deps = [ |
39 "//base:i18n", | 39 "//base:i18n", |
40 "//components/policy:policy", | |
41 "//components/policy:policy_component_common", | 40 "//components/policy:policy_component_common", |
42 "//crypto", | 41 "//crypto", |
43 "//google_apis", | 42 "//google_apis", |
44 "//ipc", | 43 "//ipc", |
45 "//remoting/base", | 44 "//remoting/base", |
46 "//remoting/protocol", | 45 "//remoting/protocol", |
47 "//remoting/resources", | 46 "//remoting/resources", |
48 "//ui/events/platform", | 47 "//ui/events/platform", |
49 "//ui/events:dom4_keycode_converter", | 48 "//ui/events:dom4_keycode_converter", |
50 ] | 49 ] |
51 | 50 |
| 51 if (enable_configuration_policy) { |
| 52 deps += [ "//components/policy:policy" ] |
| 53 } |
| 54 |
52 if (is_linux && !is_chromeos) { | 55 if (is_linux && !is_chromeos) { |
53 libs += [ "pam" ] | 56 libs += [ "pam" ] |
54 } | 57 } |
55 | 58 |
56 if (use_x11) { | 59 if (use_x11) { |
57 configs += [ | 60 configs += [ |
58 "//build/config/linux:x11", | 61 "//build/config/linux:x11", |
59 "//build/config/linux:xrandr", | 62 "//build/config/linux:xrandr", |
60 ] | 63 ] |
61 if (!is_chromeos) { | 64 if (!is_chromeos) { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 if (use_ozone || is_chromeos) { | 244 if (use_ozone || is_chromeos) { |
242 sources -= [ "local_input_monitor_unittest.cc" ] | 245 sources -= [ "local_input_monitor_unittest.cc" ] |
243 } | 246 } |
244 if (is_chromeos) { | 247 if (is_chromeos) { |
245 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 248 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
246 } | 249 } |
247 | 250 |
248 deps = [ | 251 deps = [ |
249 ":host", | 252 ":host", |
250 ":test_support", | 253 ":test_support", |
251 "//components/policy:policy_component_test_support", | |
252 "//remoting/host/setup", | 254 "//remoting/host/setup", |
253 "//remoting/host/it2me:common", | 255 "//remoting/host/it2me:common", |
254 "//remoting/host/native_messaging", | 256 "//remoting/host/native_messaging", |
255 "//remoting/proto", | 257 "//remoting/proto", |
256 "//skia", | 258 "//skia", |
257 "//testing/gmock", | 259 "//testing/gmock", |
258 "//testing/gtest", | 260 "//testing/gtest", |
259 ] | 261 ] |
| 262 |
| 263 if (enable_configuration_policy) { |
| 264 deps += [ "//components/policy:policy_component_test_support" ] |
| 265 } |
260 } | 266 } |
261 | 267 |
262 if (is_win) { | 268 if (is_win) { |
263 import("//build/toolchain/win/midl.gni") | 269 import("//build/toolchain/win/midl.gni") |
264 import("//remoting/tools/build/message_compiler.gni") | 270 import("//remoting/tools/build/message_compiler.gni") |
265 | 271 |
266 # TODO(brettw) these should not be generated via exec_script. This should be | 272 # TODO(brettw) these should not be generated via exec_script. This should be |
267 # part of the build process rather than the metabuild. Instead, a script | 273 # part of the build process rather than the metabuild. Instead, a script |
268 # should generate a header containing the #defines for this as well as the | 274 # should generate a header containing the #defines for this as well as the |
269 # IDL file with the values. | 275 # IDL file with the values. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 message_compiler("messages") { | 333 message_compiler("messages") { |
328 sources = get_target_outputs(":messages_localizing") | 334 sources = get_target_outputs(":messages_localizing") |
329 deps = [ | 335 deps = [ |
330 ":messages_localizing", | 336 ":messages_localizing", |
331 ] | 337 ] |
332 } | 338 } |
333 | 339 |
334 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi | 340 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi |
335 } | 341 } |
336 } | 342 } |
OLD | NEW |