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("//remoting/remoting_enable.gni") | 6 import("//remoting/remoting_enable.gni") |
7 import("//remoting/remoting_locales.gni") | 7 import("//remoting/remoting_locales.gni") |
8 import("//remoting/remoting_version.gni") | 8 import("//remoting/remoting_version.gni") |
9 | 9 |
10 if (is_win) { | 10 if (is_win) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "//remoting/signaling", | 50 "//remoting/signaling", |
51 ] | 51 ] |
52 | 52 |
53 if (is_desktop_linux) { | 53 if (is_desktop_linux) { |
54 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz. | 54 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz. |
55 # To avoid missing indirectly referenced harfbuzz symbols from pango, | 55 # To avoid missing indirectly referenced harfbuzz symbols from pango, |
56 # some hack is required when bundled harfbuzz is used and component build is | 56 # some hack is required when bundled harfbuzz is used and component build is |
57 # disabled. | 57 # disabled. |
58 # See crbug.com/462689 for details. | 58 # See crbug.com/462689 for details. |
59 all_dependent_configs = [ "//third_party/harfbuzz-ng:pangoft2_link_hack" ] | 59 all_dependent_configs = [ "//third_party/harfbuzz-ng:pangoft2_link_hack" ] |
60 | 60 deps += [ "//build/config/linux/gtk" ] |
61 if (use_gtk3) { | |
62 deps += [ "//build/config/linux/gtk3" ] | |
63 } else { | |
64 deps += [ "//build/config/linux/gtk2" ] | |
65 } | |
66 } | 61 } |
67 } | 62 } |
68 | 63 |
69 if (!is_chromeos && enable_remoting_host) { | 64 if (!is_chromeos && enable_remoting_host) { |
70 if (is_win) { | 65 if (is_win) { |
71 executable("remote_assistance_host") { | 66 executable("remote_assistance_host") { |
72 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 67 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
73 | 68 |
74 deps = [ | 69 deps = [ |
75 "//base/allocator", | 70 "//base/allocator", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 if (icu_use_data_file) { | 221 if (icu_use_data_file) { |
227 deps += [ ":remote_assistance_host_resources" ] | 222 deps += [ ":remote_assistance_host_resources" ] |
228 } | 223 } |
229 } | 224 } |
230 | 225 |
231 if (enable_webrtc) { | 226 if (enable_webrtc) { |
232 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] | 227 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] |
233 } | 228 } |
234 | 229 |
235 if (is_desktop_linux) { | 230 if (is_desktop_linux) { |
236 if (use_gtk3) { | 231 deps += [ "//build/config/linux/gtk" ] |
237 deps += [ "//build/config/linux/gtk3" ] | |
238 } else { | |
239 deps += [ "//build/config/linux/gtk2" ] | |
240 } | |
241 } | 232 } |
242 } | 233 } |
243 } | 234 } |
244 } | 235 } |
OLD | NEW |