allow skia flags to be specified in a skia file, but reference by chrome's skia_commo...
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 25 Feb 2014 18:13:22 +0000 (18:13 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 25 Feb 2014 18:13:22 +0000 (18:13 +0000)
in support of https://codereview.chromium.org/180083002/ which will land after this CL is visible in Chrome

R=bungeman@google.com

Review URL: https://codereview.chromium.org/180063003

git-svn-id: http://skia.googlecode.com/svn/trunk@13582 2bbb7eff-a529-9590-31e7-b0007b416f81

gyp/skia_for_chromium_defines.gypi [new file with mode: 0644]

diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi
new file mode 100644 (file)
index 0000000..043a432
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright 2014 Google Inc.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file is included by chrome's skia/skia_common.gypi, and is intended to
+# augment the skia flags that are set there.
+
+{
+  'variables': {
+
+    # These flags will be defined in chromium
+    #
+    # If these become 'permanent', they should be moved into skia_common.gypi
+    #
+    'skia_for_chromium_defines': [
+      'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1',
+      'SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1',
+      'SK_SUPPORT_LEGACY_COPYTO_CONFIG',
+      'SK_SUPPORT_DEEPCOPYTO_CONFIG',
+    ],
+  },
+}