Index: content/shell/BUILD.gn |
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn |
index bb5eac67f30a361c146e554d42931974bc01c88e..495e3a1843894ea4c8931ff3704c57a353a5481d 100644 |
--- a/content/shell/BUILD.gn |
+++ b/content/shell/BUILD.gn |
@@ -16,6 +16,7 @@ if (is_android) { |
} else if (is_mac) { |
import("//build/config/mac/rules.gni") |
import("//build/mac/tweak_info_plist.gni") |
+ import("//third_party/icu/config.gni") |
import("//v8/gni/v8.gni") |
} else if (is_win) { |
import("//build/win/syzygy/syzygy.gni") |
@@ -572,7 +573,6 @@ if (is_mac) { |
bundle_data("content_shell_framework_resources") { |
sources = [ |
"$root_out_dir/content_shell.pak", |
- "$root_out_dir/icudtl.dat", |
"resources/missingImage.png", |
"resources/textAreaResizeCorner.png", |
] |
@@ -581,9 +581,12 @@ if (is_mac) { |
":pak", |
] |
- deps = [ |
- "//third_party/icu:icudata", |
- ] |
+ if (icu_use_data_file) { |
+ sources += [ "$root_out_dir/icudtl.dat" ] |
+ deps = [ |
+ "//third_party/icu:icudata", |
+ ] |
+ } |
if (v8_use_external_startup_data) { |
sources += [ |