| 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_srcs.gni") | 7 import("//remoting/remoting_srcs.gni") |
| 8 import("//remoting/remoting_locales.gni") | 8 import("//remoting/remoting_locales.gni") |
| 9 | 9 |
| 10 if (is_win) { | 10 if (is_win) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "$root_gen_dir/remoting/host/remote_assistance_host-InfoPlist.string
s/$locale.lproj/InfoPlist.strings", | 85 "$root_gen_dir/remoting/host/remote_assistance_host-InfoPlist.string
s/$locale.lproj/InfoPlist.strings", |
| 86 ] | 86 ] |
| 87 outputs = [ | 87 outputs = [ |
| 88 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", | 88 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", |
| 89 ] | 89 ] |
| 90 deps = [ | 90 deps = [ |
| 91 "//remoting/host:remoting_infoplist_strings", | 91 "//remoting/host:remoting_infoplist_strings", |
| 92 ] | 92 ] |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 |
| 96 mac_xib_bundle_data("remote_assistance_host_xibs") { |
| 97 sources = [ |
| 98 "//remoting/host/disconnect_window.xib", |
| 99 ] |
| 100 } |
| 101 |
| 102 bundle_data("remote_assistance_host_resources") { |
| 103 sources = [ |
| 104 "$root_out_dir/icudtl.dat", |
| 105 ] |
| 106 |
| 107 outputs = [ |
| 108 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 109 ] |
| 110 |
| 111 public_deps = [ |
| 112 "//third_party/icu:icudata", |
| 113 ] |
| 114 } |
| 95 } else { | 115 } else { |
| 96 app_target_type = "executable" | 116 app_target_type = "executable" |
| 97 } | 117 } |
| 98 | 118 |
| 99 target(app_target_type, "remote_assistance_host") { | 119 target(app_target_type, "remote_assistance_host") { |
| 100 if (is_mac) { | 120 if (is_mac) { |
| 101 info_plist = "remote_assistance_host-Info.plist" | 121 info_plist = "remote_assistance_host-Info.plist" |
| 102 extra_configs = [ | 122 extra_configs = [ |
| 103 "//build/config/compiler:wexit_time_destructors", | 123 "//build/config/compiler:wexit_time_destructors", |
| 104 "//remoting:version", | 124 "//remoting:version", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 125 "//ui/gfx", | 145 "//ui/gfx", |
| 126 ] | 146 ] |
| 127 if (is_mac) { | 147 if (is_mac) { |
| 128 foreach(locale, remoting_locales_with_underscores) { | 148 foreach(locale, remoting_locales_with_underscores) { |
| 129 deps += [ | 149 deps += [ |
| 130 ":remote_assistance_host_strings_${locale}_bundle_data", | 150 ":remote_assistance_host_strings_${locale}_bundle_data", |
| 131 "//remoting/host:remoting_host_locale_${locale}_bundle_data", | 151 "//remoting/host:remoting_host_locale_${locale}_bundle_data", |
| 132 ] | 152 ] |
| 133 } | 153 } |
| 134 deps += [ | 154 deps += [ |
| 155 ":remote_assistance_host_resources", |
| 156 ":remote_assistance_host_xibs", |
| 135 "//remoting/host:remoting_infoplist_strings", | 157 "//remoting/host:remoting_infoplist_strings", |
| 136 "//remoting/resources:copy_locales", | 158 "//remoting/resources:copy_locales", |
| 137 ] | 159 ] |
| 138 } | 160 } |
| 139 | 161 |
| 140 if (enable_webrtc) { | 162 if (enable_webrtc) { |
| 141 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 163 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 142 } | 164 } |
| 143 | 165 |
| 144 if (is_desktop_linux) { | 166 if (is_desktop_linux) { |
| 145 deps += [ "//build/config/linux/gtk2" ] | 167 deps += [ "//build/config/linux/gtk2" ] |
| 146 } | 168 } |
| 147 } | 169 } |
| 148 } | 170 } |
| 149 } | 171 } |
| OLD | NEW |