Index: remoting/host/BUILD.gn |
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn |
index 0df1ea9efbdf2528e3730c5a86225c1651a137f2..648333ca5c1b8724f2d1bd9f0b24aae00014e0f6 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,7 +977,6 @@ 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", |
] |
@@ -986,8 +986,12 @@ if (enable_me2me_host) { |
public_deps = [ |
":credits", |
- "//third_party/icu:icudata", |
] |
+ |
+ if (icu_use_data_file) { |
+ sources += [ "$root_out_dir/icudtl.dat" ] |
+ public_deps += [ "//third_party/icu:icudata" ] |
+ } |
} |
} |