| 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) { |
| 11 import("//remoting/host/predefines_win.gni") | 11 import("//remoting/host/predefines_win.gni") |
| 12 } | 12 } |
| 13 if (is_mac) { | 13 if (is_mac) { |
| 14 import("//build/config/mac/rules.gni") | 14 import("//build/config/mac/rules.gni") |
| 15 import("//third_party/icu/config.gni") | 15 import("//third_party/icu/config.gni") |
| 16 } | 16 } |
| 17 | 17 |
| 18 source_set("common") { | 18 source_set("common") { |
| 19 sources = [ | 19 sources = [ |
| 20 "it2me_confirmation_dialog.cc", | 20 "it2me_confirmation_dialog.cc", |
| 21 "it2me_confirmation_dialog.h", | 21 "it2me_confirmation_dialog.h", |
| 22 "it2me_confirmation_dialog_android.cc", | 22 "it2me_confirmation_dialog_android.cc", |
| 23 "it2me_confirmation_dialog_linux.cc", | 23 "it2me_confirmation_dialog_linux.cc", |
| 24 "it2me_confirmation_dialog_mac.cc", | 24 "it2me_confirmation_dialog_mac.mm", |
| 25 "it2me_confirmation_dialog_proxy.cc", | 25 "it2me_confirmation_dialog_proxy.cc", |
| 26 "it2me_confirmation_dialog_proxy.h", | 26 "it2me_confirmation_dialog_proxy.h", |
| 27 "it2me_confirmation_dialog_win.cc", | 27 "it2me_confirmation_dialog_win.cc", |
| 28 "it2me_host.cc", | 28 "it2me_host.cc", |
| 29 "it2me_host.h", | 29 "it2me_host.h", |
| 30 "it2me_native_messaging_host.cc", | 30 "it2me_native_messaging_host.cc", |
| 31 "it2me_native_messaging_host.h", | 31 "it2me_native_messaging_host.h", |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 if (is_android) { | 34 if (is_android) { |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 if (is_official_build) { | 127 if (is_official_build) { |
| 128 deps += [ "//remoting/host:dpi_aware_uiaccess_exe_manifest" ] | 128 deps += [ "//remoting/host:dpi_aware_uiaccess_exe_manifest" ] |
| 129 } else { | 129 } else { |
| 130 deps += [ "//remoting/host:dpi_aware_exe_manifest" ] | 130 deps += [ "//remoting/host:dpi_aware_exe_manifest" ] |
| 131 } | 131 } |
| 132 } | 132 } |
| 133 } else { | 133 } else { |
| 134 if (is_mac) { | 134 if (is_mac) { |
| 135 app_target_type = "mac_app_bundle" | 135 app_target_type = "mac_app_bundle" |
| 136 | 136 |
| 137 bundle_data("remote_assistance_host_dialog_icon") { |
| 138 sources = [ |
| 139 "//remoting/resources/chromoting128.png", |
| 140 ] |
| 141 |
| 142 outputs = [ |
| 143 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 144 ] |
| 145 } |
| 146 |
| 137 # remote_assistance_host-InfoPlist.strings | 147 # remote_assistance_host-InfoPlist.strings |
| 138 foreach(locale, remoting_locales_with_underscores) { | 148 foreach(locale, remoting_locales_with_underscores) { |
| 139 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { | 149 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { |
| 140 sources = [ | 150 sources = [ |
| 141 "$root_gen_dir/remoting/host/remote_assistance_host-InfoPlist.string
s/$locale.lproj/InfoPlist.strings", | 151 "$root_gen_dir/remoting/host/remote_assistance_host-InfoPlist.string
s/$locale.lproj/InfoPlist.strings", |
| 142 ] | 152 ] |
| 143 outputs = [ | 153 outputs = [ |
| 144 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", | 154 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", |
| 145 ] | 155 ] |
| 146 deps = [ | 156 deps = [ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "//ui/gfx", | 219 "//ui/gfx", |
| 210 ] | 220 ] |
| 211 if (is_mac) { | 221 if (is_mac) { |
| 212 foreach(locale, remoting_locales_with_underscores) { | 222 foreach(locale, remoting_locales_with_underscores) { |
| 213 deps += [ | 223 deps += [ |
| 214 ":remote_assistance_host_strings_${locale}_bundle_data", | 224 ":remote_assistance_host_strings_${locale}_bundle_data", |
| 215 "//remoting/host:remoting_host_locale_${locale}_bundle_data", | 225 "//remoting/host:remoting_host_locale_${locale}_bundle_data", |
| 216 ] | 226 ] |
| 217 } | 227 } |
| 218 deps += [ | 228 deps += [ |
| 229 ":remote_assistance_host_dialog_icon", |
| 219 ":remote_assistance_host_xibs", | 230 ":remote_assistance_host_xibs", |
| 220 "//remoting/host:remoting_infoplist_strings", | 231 "//remoting/host:remoting_infoplist_strings", |
| 221 "//remoting/resources:copy_locales", | 232 "//remoting/resources:copy_locales", |
| 222 ] | 233 ] |
| 223 if (icu_use_data_file) { | 234 if (icu_use_data_file) { |
| 224 deps += [ ":remote_assistance_host_resources" ] | 235 deps += [ ":remote_assistance_host_resources" ] |
| 225 } | 236 } |
| 226 } | 237 } |
| 227 | 238 |
| 228 if (enable_webrtc) { | 239 if (enable_webrtc) { |
| 229 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 240 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 230 } | 241 } |
| 231 | 242 |
| 232 if (is_desktop_linux) { | 243 if (is_desktop_linux) { |
| 233 deps += [ "//build/config/linux/gtk2" ] | 244 deps += [ "//build/config/linux/gtk2" ] |
| 234 } | 245 } |
| 235 } | 246 } |
| 236 } | 247 } |
| 237 } | 248 } |
| OLD | NEW |