| 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_host.gni") | 7 import("//remoting/remoting_host.gni") |
| 8 import("//remoting/remoting_locales.gni") | 8 import("//remoting/remoting_locales.gni") |
| 9 import("//remoting/remoting_srcs.gni") | 9 import("//remoting/remoting_srcs.gni") |
| 10 import("//remoting/remoting_version.gni") | 10 import("//remoting/remoting_version.gni") |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 if (is_linux) { | 77 if (is_linux) { |
| 78 # These will already be filtered out on non-Linux. | 78 # These will already be filtered out on non-Linux. |
| 79 sources -= [ | 79 sources -= [ |
| 80 "linux/x_server_clipboard.cc", | 80 "linux/x_server_clipboard.cc", |
| 81 "linux/x_server_clipboard.h", | 81 "linux/x_server_clipboard.h", |
| 82 ] | 82 ] |
| 83 } | 83 } |
| 84 } | 84 } |
| 85 | 85 |
| 86 if (is_chromeos) { | 86 if (is_chromeos) { |
| 87 # TODO(GYP): crbug.com/481627. These should only be included |
| 88 # when enable_me2me_host is true. |
| 89 sources -= [ |
| 90 "me2me_desktop_environment.cc", |
| 91 "me2me_desktop_environment.h", |
| 92 ] |
| 87 deps += [ | 93 deps += [ |
| 88 "//cc", | 94 "//cc", |
| 89 "//ppapi/host", | 95 "//ppapi/host", |
| 90 "//skia", | 96 "//skia", |
| 91 "//ui/aura", | 97 "//ui/aura", |
| 92 "//ui/compositor", | 98 "//ui/compositor", |
| 93 "//ui/events", | 99 "//ui/events", |
| 94 "//ui/views", | 100 "//ui/views", |
| 95 ] | 101 ] |
| 96 | 102 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 145 |
| 140 if (is_win) { | 146 if (is_win) { |
| 141 deps += [ | 147 deps += [ |
| 142 ":messages", | 148 ":messages", |
| 143 ":remoting_lib_idl", | 149 ":remoting_lib_idl", |
| 144 ] | 150 ] |
| 145 } | 151 } |
| 146 | 152 |
| 147 if (enable_webrtc) { | 153 if (enable_webrtc) { |
| 148 deps += [ | 154 deps += [ |
| 155 # TODO(GYP): crbug.com/481633. We should probably not have to depend on |
| 156 # libjingle_webrtc; that should be pulled in automatically by |
| 157 # libpeerconnection instead. |
| 158 "//third_party/libjingle:libjingle_webrtc", |
| 149 "//third_party/libjingle:libpeerconnection", | 159 "//third_party/libjingle:libpeerconnection", |
| 150 "//third_party/webrtc/modules/desktop_capture", | 160 "//third_party/webrtc/modules/desktop_capture", |
| 151 ] | 161 ] |
| 152 | 162 |
| 153 sources += | 163 sources += |
| 154 rebase_path(remoting_host_srcs_gypi_values.remoting_cast_sources, | 164 rebase_path(remoting_host_srcs_gypi_values.remoting_cast_sources, |
| 155 ".", | 165 ".", |
| 156 "//remoting") | 166 "//remoting") |
| 157 } | 167 } |
| 158 } | 168 } |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 "host_main.h", | 423 "host_main.h", |
| 414 ] | 424 ] |
| 415 | 425 |
| 416 deps = [ | 426 deps = [ |
| 417 ":remoting_me2me_host_static", | 427 ":remoting_me2me_host_static", |
| 418 ] | 428 ] |
| 419 } | 429 } |
| 420 } | 430 } |
| 421 } | 431 } |
| 422 } | 432 } |
| OLD | NEW |