diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-25 18:13:22 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-25 18:13:22 +0000 |
commit | daaf5633712f6bb497e68b4a0d6780bc864629e3 (patch) | |
tree | ef8d2bd34ce1f3f7df766d00950500bb8fe6926b /skia_for_chromium_defines.gypi | |
parent | e404494ff0e06990334f4f2e4d6ea6914e9b0ea3 (diff) | |
download | gyp-daaf5633712f6bb497e68b4a0d6780bc864629e3.tar.gz |
allow skia flags to be specified in a skia file, but reference by chrome's skia_common.gypi
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/gyp@13582 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'skia_for_chromium_defines.gypi')
-rw-r--r-- | skia_for_chromium_defines.gypi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/skia_for_chromium_defines.gypi b/skia_for_chromium_defines.gypi new file mode 100644 index 0000000..043a432 --- /dev/null +++ b/skia_for_chromium_defines.gypi @@ -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', + ], + }, +} |