Index: remoting/host/BUILD.gn |
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn |
index 720e4594b0dd176685fbf45130b814e109e3762c..cfa6b269b1d77dc625378db02f1d72b2f626ba6a 100644 |
--- a/remoting/host/BUILD.gn |
+++ b/remoting/host/BUILD.gn |
@@ -26,6 +26,7 @@ if (is_win) { |
import("//remoting/host/predefines_win.gni") |
} else if (is_mac) { |
import("//build/config/mac/rules.gni") |
+ import("//third_party/icu/config.gni") |
} |
# Reference this manifest to indicate that a process is per-monitor DPI aware. |
@@ -976,10 +977,13 @@ if (enable_me2me_host) { |
bundle_data("remoting_host_resources") { |
sources = [ |
"$root_gen_dir/remoting/CREDITS.txt", |
- "$root_out_dir/icudtl.dat", |
"remoting_me2me_host.icns", |
] |
+ if (icu_use_data_file) { |
+ sources += [ "$root_out_dir/icudtl.dat" ] |
+ } |
+ |
outputs = [ |
"{{bundle_resources_dir}}/{{source_file_part}}", |
] |