Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: gyp/skia_for_android_framework_defines.gypi

Issue 305193002: New file for simpler updating of Android defines. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move legacy flags into the new file. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/skia_for_android_framework_defines.gypi
diff --git a/gyp/skia_for_android_framework_defines.gypi b/gyp/skia_for_android_framework_defines.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..1f6a2fc32584c5b6ebfa4bbd74db125ae9cfd007
--- /dev/null
+++ b/gyp/skia_for_android_framework_defines.gypi
@@ -0,0 +1,25 @@
+# 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 the android framework.
+ #
+ # If these become 'permanent', they should be moved into common_variables.gypi
+ #
+ 'skia_for_android_framework_defines': [
+ 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE',
+ 'SK_SUPPORT_LEGACY_SETCONFIG_INFO',
+ # Needed until we fix skbug.com/2440.
+ 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
+ # Transitional, for deprecated SkCanvas::SaveFlags methods.
+ 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
+ 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX',
+ ],
+ },
+}
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698