skia2/gyp/tests.gypi
Ben Wagner c03e1c55a7 Re-enable overdraw mode in debugger.
Debugger is the last user of the deprecated SkPaintFilterCanvas
constructor. Stop using it and remove the constructor.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3268

Change-Id: I3e9180d48abdf86cb2c05bd8d95acabcdaa70427
Reviewed-on: https://skia-review.googlesource.com/3268
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2016-10-17 21:10:38 +00:00

69 lines
1.9 KiB
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Common gypi for unit tests.
{
'include_dirs': [
'../include/private',
'../src/codec',
'../src/core',
'../src/effects',
'../src/image',
'../src/lazy',
'../src/images',
'../src/pathops',
'../src/pdf',
'../src/ports',
'../src/utils',
'../tools/debugger',
],
'dependencies': [
'experimental.gyp:experimental',
'flags.gyp:flags_common',
'pdf.gyp:pdf',
'skia_lib.gyp:skia_lib',
'tools.gyp:picture_utils',
'tools.gyp:resources',
'tools.gyp:sk_tool_utils',
'zlib.gyp:zlib',
],
'conditions': [
[ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ],
}],
[ 'not skia_pdf', {
'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ],
'dependencies': [ 'pdf.gyp:nopdf' ],
'sources!': [ '<!@(python find.py "PDF*.c*" ../tests)', ],
}],
[ 'skia_gpu_extra_tests_path', {
'sources': [
'<!@(python find.py "*.c*" <(skia_gpu_extra_tests_path))',
],
}],
],
'sources': [
'../tests/Test.h',
'<!@(python find.py "*.c*" ../tests)',
'../tools/debugger/SkDrawCommand.h',
'../tools/debugger/SkDrawCommand.cpp',
'../tools/debugger/SkDebugCanvas.h',
'../tools/debugger/SkDebugCanvas.cpp',
'../tools/debugger/SkJsonWriteBuffer.h',
'../tools/debugger/SkJsonWriteBuffer.cpp',
'../tools/debugger/SkObjectParser.h',
'../tools/debugger/SkObjectParser.cpp',
],
'sources!': [
'../tests/SkpSkGrTest.cpp',
'../tests/skia_test.cpp',
'../tests/PathOpsAngleIdeas.cpp',
'../tests/PathOpsBattles.cpp',
'../tests/PathOpsCubicLineIntersectionIdeas.cpp',
'../tests/PathOpsDebug.cpp',
'../tests/PathOpsOpLoopThreadedTest.cpp',
'../tests/PathOpsSkpClipTest.cpp',
],
}