Index: skia/BUILD.gn |
diff --git a/skia/BUILD.gn b/skia/BUILD.gn |
index 25515349312909d576cbab1ebf05d913f01e9bef..f629c5acbe9620ef648cc7dbd04a72850241e76d 100644 |
--- a/skia/BUILD.gn |
+++ b/skia/BUILD.gn |
@@ -142,7 +142,7 @@ config("skia_config") { |
defines += [] |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
defines += [ |
"SKIA_DLL", |
"GR_GL_IGNORE_ES3_MSAA=0", |
@@ -196,7 +196,7 @@ config("skia_library_config") { |
defines = [] |
- if (component_mode == "shared_library") { |
+ if (is_component_build) { |
defines += [ "SKIA_IMPLEMENTATION=1" ] |
} |