| 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("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 if (use_ash) { | 65 if (use_ash) { |
| 66 deps += [ "//ash" ] | 66 deps += [ "//ash" ] |
| 67 } | 67 } |
| 68 | 68 |
| 69 if (use_ozone) { | 69 if (use_ozone) { |
| 70 sources -= [ | 70 sources -= [ |
| 71 "input_injector_x11.cc", | 71 "input_injector_x11.cc", |
| 72 "local_input_monitor_x11.cc", | 72 "local_input_monitor_x11.cc", |
| 73 ] | 73 ] |
| 74 deps += [ "//ui/ozone" ] |
| 74 } else { | 75 } else { |
| 75 sources -= [ | 76 sources -= [ |
| 76 "chromeos/mouse_cursor_monitor_aura.cc", | 77 "chromeos/mouse_cursor_monitor_aura.cc", |
| 77 "chromeos/mouse_cursor_monitor_aura.h", | 78 "chromeos/mouse_cursor_monitor_aura.h", |
| 78 "clipboard_x11.cc", | 79 "clipboard_x11.cc", |
| 79 "input_injector_chromeos.cc", | 80 "input_injector_chromeos.cc", |
| 80 "input_injector_chromeos.h", | 81 "input_injector_chromeos.h", |
| 81 "linux/x_server_clipboard.cc", | 82 "linux/x_server_clipboard.cc", |
| 82 "linux/x_server_clipboard.h", | 83 "linux/x_server_clipboard.h", |
| 83 "local_input_monitor_chromeos.cc", | 84 "local_input_monitor_chromeos.cc", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 108 | 109 |
| 109 if (enable_webrtc) { | 110 if (enable_webrtc) { |
| 110 deps += [ | 111 deps += [ |
| 111 "//third_party/libjingle:libpeerconnection", | 112 "//third_party/libjingle:libpeerconnection", |
| 112 "//third_party/webrtc/modules/desktop_capture", | 113 "//third_party/webrtc/modules/desktop_capture", |
| 113 ] | 114 ] |
| 114 | 115 |
| 115 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") | 116 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") |
| 116 } | 117 } |
| 117 } | 118 } |
| OLD | NEW |