diff options
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index 4e12741f69..6d093f2249 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -336,6 +336,21 @@ group("zlib") { } } +config("system_lcms2_config") { + libs = [ "lcms2" ] + defines = [ "USE_SYSTEM_LCMS2" ] +} + +group("lcms2") { + if (use_system_lcms2) { + public_configs = [ ":system_lcms2_config" ] + } else { + public_deps = [ + ":fx_lcms2", + ] + } +} + config("fx_libopenjpeg_warnings") { visibility = [ ":*" ] if (is_win) { |