aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/flutter_defines.gni
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-07-13 15:50:03 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-14 18:54:24 +0000
commitf2c901474c240637c590ebfdf37db6e7d8316ec1 (patch)
tree4ffe68e36735c27ca28949acef3552255922e91f /gn/flutter_defines.gni
parente94865e9347f50cbd6b8dd1b9ca165b42cdcdf02 (diff)
Add GN arg to allow Flutter-specific API guards
Bug: skia: Change-Id: I5a97da664626eebf30bba3f391fff0d8b9e62ea5 Reviewed-on: https://skia-review.googlesource.com/23042 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'gn/flutter_defines.gni')
-rw-r--r--gn/flutter_defines.gni5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn/flutter_defines.gni b/gn/flutter_defines.gni
new file mode 100644
index 0000000000..75ac43d4fd
--- /dev/null
+++ b/gn/flutter_defines.gni
@@ -0,0 +1,5 @@
+# Copyright 2017 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+flutter_defines = [ "SK_SUPPORT_LEGACY_IMAGE_ENCODE_API" ]