diff options
Diffstat (limited to 'tools/gn/secondary/third_party/icu/BUILD.gn')
-rw-r--r-- | tools/gn/secondary/third_party/icu/BUILD.gn | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/gn/secondary/third_party/icu/BUILD.gn b/tools/gn/secondary/third_party/icu/BUILD.gn index e4d030a..df268cb 100644 --- a/tools/gn/secondary/third_party/icu/BUILD.gn +++ b/tools/gn/secondary/third_party/icu/BUILD.gn @@ -16,6 +16,11 @@ config("icu_config") { defines = [ "U_USING_ICU_NAMESPACE=0", ] + + if (component_mode != "shared_library") { + defines += [ "U_STATIC_IMPLEMENTATION" ] + } + include_dirs = [ "source/common", "source/i18n", @@ -24,10 +29,6 @@ config("icu_config") { # Config used only by ICU code. config("icu_code") { - if (component_mode != "shared_library") { - defines = [ "U_STATIC_IMPLEMENTATION" ] - } - if (is_win) { # Disable some compiler warnings. cflags = [ |