[icudata] Make 'copy_icudata' a public_deps
Otherwise, the targets depending on :icudata will
not see the the indirection, and will not recognize
the `icudtl.dat` file as an output, which fails
the `gn gen` step.
With this change, compilation succeeds again.
Tested: compiled for target_os="android"
Bug: fuchsia:117972
Change-Id: Ie9ec42d922d498c779b075b13249c8d5b15b3d00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/4231817
Reviewed-by: Frank Tang <ftang@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index 4ca0456..13e106f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -438,7 +438,7 @@
# Guarded by a flag, to avoid name clashes if other build processes
# also happen to generate the output file by the same name.
# See README.fuchsia for details.
- deps = [ ":copy_icudata" ]
+ public_deps = [ ":copy_icudata" ]
}
}
}