Index: third_party/libpng/BUILD.gn |
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn |
index 056d91d61a9f0424b83bb7d954aff41c718af951..c4e2650c8ae6ab2a1e51d4d2ee9f43cc1126e4f7 100644 |
--- a/third_party/libpng/BUILD.gn |
+++ b/third_party/libpng/BUILD.gn |
@@ -16,7 +16,7 @@ config("libpng_config") { |
} |
if (is_win) { |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
defines += [ |
"PNG_USE_DLL", |
"PNG_NO_MODULEDEF", |