Add ability to pass in an optional path to additional unit tests to run.

BUG=skia:

Review URL: https://codereview.chromium.org/1280133004
This commit is contained in:
egdaniel 2015-08-12 06:51:08 -07:00 committed by Commit bot
parent 37eb184e26
commit 4b5472bdb0
2 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,7 @@
'skia_scalar%': 'float',
'skia_mesa%': 0,
'skia_gpu_extra_dependency_path%': '',
'skia_gpu_extra_tests_path%': '',
'skia_stroke_path_rendering%': 0,
'skia_android_path_rendering%': 0,
'skia_resource_cache_mb_limit%': 0,
@ -193,6 +194,7 @@
'skia_scalar%': '<(skia_scalar)',
'skia_mesa%': '<(skia_mesa)',
'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)',
'skia_gpu_extra_tests_path%': '<(skia_gpu_extra_tests_path)',
'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)',
'skia_android_framework%': '<(skia_android_framework)',
'skia_use_android_framework_defines%': '<(skia_use_android_framework_defines)',

View File

@ -42,6 +42,11 @@
'dependencies': [ 'pdf.gyp:nopdf' ],
'sources!': [ '<!@(python find.py ../tests "PDF*.c*")', ],
}],
[ 'skia_gpu_extra_tests_path', {
'sources': [
'<!@(python find.py <(skia_gpu_extra_tests_path) "*.c*")',
],
}],
],
'sources': [
'../tests/Test.h',