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_version.gni") | 7 import("//remoting/remoting_version.gni") |
8 | 8 |
9 static_library("host") { | 9 static_library("host") { |
10 gypi_values = exec_script( | 10 gypi_values = exec_script( |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 if (use_ash) { | 67 if (use_ash) { |
68 deps += [ "//ash" ] | 68 deps += [ "//ash" ] |
69 } | 69 } |
70 | 70 |
71 if (use_ozone) { | 71 if (use_ozone) { |
72 sources -= [ | 72 sources -= [ |
73 "input_injector_x11.cc", | 73 "input_injector_x11.cc", |
74 "local_input_monitor_x11.cc", | 74 "local_input_monitor_x11.cc", |
75 ] | 75 ] |
| 76 deps += [ "//ui/ozone" ] |
76 } else { | 77 } else { |
77 sources -= [ | 78 sources -= [ |
78 "chromeos/mouse_cursor_monitor_aura.cc", | 79 "chromeos/mouse_cursor_monitor_aura.cc", |
79 "chromeos/mouse_cursor_monitor_aura.h", | 80 "chromeos/mouse_cursor_monitor_aura.h", |
80 "clipboard_x11.cc", | 81 "clipboard_x11.cc", |
81 "input_injector_chromeos.cc", | 82 "input_injector_chromeos.cc", |
82 "input_injector_chromeos.h", | 83 "input_injector_chromeos.h", |
83 "linux/x_server_clipboard.cc", | 84 "linux/x_server_clipboard.cc", |
84 "linux/x_server_clipboard.h", | 85 "linux/x_server_clipboard.h", |
85 "local_input_monitor_chromeos.cc", | 86 "local_input_monitor_chromeos.cc", |
(...skipping 27 matching lines...) Expand all Loading... |
113 if (enable_webrtc) { | 114 if (enable_webrtc) { |
114 deps += [ | 115 deps += [ |
115 "//third_party/libjingle:libpeerconnection", | 116 "//third_party/libjingle:libpeerconnection", |
116 "//third_party/webrtc/modules/desktop_capture", | 117 "//third_party/webrtc/modules/desktop_capture", |
117 ] | 118 ] |
118 | 119 |
119 sources += rebase_path( | 120 sources += rebase_path( |
120 gypi_values.remoting_cast_sources, ".", "//remoting") | 121 gypi_values.remoting_cast_sources, ".", "//remoting") |
121 } | 122 } |
122 } | 123 } |
OLD | NEW |