| Index: remoting/host/it2me/BUILD.gn
|
| diff --git a/remoting/host/it2me/BUILD.gn b/remoting/host/it2me/BUILD.gn
|
| index dac44d3dfa7b22b12a4f3d7473a2cfcf038fbf6a..f774d1698717ca54a686e1516e3642c67d6bfbed 100644
|
| --- a/remoting/host/it2me/BUILD.gn
|
| +++ b/remoting/host/it2me/BUILD.gn
|
| @@ -12,6 +12,7 @@ if (is_win) {
|
| }
|
| if (is_mac) {
|
| import("//build/config/mac/rules.gni")
|
| + import("//third_party/icu/config.gni")
|
| }
|
|
|
| source_set("common") {
|
| @@ -99,18 +100,20 @@ if (!is_chromeos && !is_android && enable_remoting_host) {
|
| ]
|
| }
|
|
|
| - bundle_data("remote_assistance_host_resources") {
|
| - sources = [
|
| - "$root_out_dir/icudtl.dat",
|
| - ]
|
| + if (icu_use_data_file) {
|
| + bundle_data("remote_assistance_host_resources") {
|
| + sources = [
|
| + "$root_out_dir/icudtl.dat",
|
| + ]
|
|
|
| - outputs = [
|
| - "{{bundle_resources_dir}}/{{source_file_part}}",
|
| - ]
|
| + outputs = [
|
| + "{{bundle_resources_dir}}/{{source_file_part}}",
|
| + ]
|
|
|
| - public_deps = [
|
| - "//third_party/icu:icudata",
|
| - ]
|
| + public_deps = [
|
| + "//third_party/icu:icudata",
|
| + ]
|
| + }
|
| }
|
| } else {
|
| app_target_type = "executable"
|
| @@ -152,11 +155,13 @@ if (!is_chromeos && !is_android && enable_remoting_host) {
|
| ]
|
| }
|
| deps += [
|
| - ":remote_assistance_host_resources",
|
| ":remote_assistance_host_xibs",
|
| "//remoting/host:remoting_infoplist_strings",
|
| "//remoting/resources:copy_locales",
|
| ]
|
| + if (icu_use_data_file) {
|
| + deps += [ ":remote_assistance_host_resources" ]
|
| + }
|
| }
|
|
|
| if (enable_webrtc) {
|
|
|