aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar jcgregorio <jcgregorio@google.com>2016-08-25 09:25:11 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-25 09:25:12 -0700
commit5561e3ddbbf6c3e051075ada4a11ddc70760f03d (patch)
treee39b3b48d50f1a30f590c750e1a12f81599c4eb3 /BUILD.gn
parent650e20d705a39eaa861cfbc821e9e1f81cef5316 (diff)
BUILD.gn: Fix fiddle raster.
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bb451c3d9b..90f531fdf1 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.