Fix Moz2D build

BUG=skia:2221
R=george@mozilla.com, reed@google.com

Author: borenet@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14647 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-05-08 15:29:57 +00:00
parent 443c0a6d61
commit 199cf69575
2 changed files with 10 additions and 0 deletions

View File

@ -631,6 +631,15 @@
'SK_USE_POSIX_THREADS', 'SK_USE_POSIX_THREADS',
], ],
}], }],
[ 'skia_moz2d', {
'defines': [
'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1',
'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1',
'SK_SUPPORT_LEGACY_GETTOTALCLIP=1',
],
}],
], # end 'conditions' ], # end 'conditions'
# The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
'xcode_settings': { 'xcode_settings': {

View File

@ -219,6 +219,7 @@
'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
'skia_run_pdfviewer_in_gm%': 0, 'skia_run_pdfviewer_in_gm%': 0,
'skia_disable_inlining%': 0, 'skia_disable_inlining%': 0,
'skia_moz2d%': 0,
# These are referenced by our .gypi files that list files (e.g. core.gypi) # These are referenced by our .gypi files that list files (e.g. core.gypi)
# #