Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 6774890d1d216dc349872acc41831d2b9711f441..b2e9ec192da86a247b6ed396bda7366a57f05b32 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -37,6 +37,9 @@ skia_public_includes = [ |
config("skia_public") { |
include_dirs = skia_public_includes |
defines = [ "SKIA_DLL" ] |
+ if (is_linux) { |
+ defines += [ "SK_SAMPLES_FOR_X" ] |
+ } |
} |
# Skia internal APIs, used by Skia itself and a few test tools. |
@@ -68,9 +71,6 @@ config("skia_private") { |
] |
defines = [ "SK_GAMMA_APPLY_TO_A8" ] |
- if (is_linux) { |
- defines += [ "SK_SAMPLES_FOR_X" ] |
- } |
} |
# Any code that's linked into Skia-the-library should use this config via += skia_library_configs. |