diff options
author | benjaminwagner <benjaminwagner@google.com> | 2016-05-01 15:02:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-01 15:02:25 -0700 |
commit | 83906aedb919a0229b953a6f69624af90a035f7e (patch) | |
tree | a58c6e7157f513be0020b1b9c52cfd35abf79eb2 /public.bzl | |
parent | 7563a5a983c582181ae26200d36d3057845f2e10 (diff) |
Patch in internal cl/121138374.
TBR=mtklein
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1939483002
Review-Url: https://codereview.chromium.org/1939483002
Diffstat (limited to 'public.bzl')
-rw-r--r-- | public.bzl | 49 |
1 files changed, 41 insertions, 8 deletions
diff --git a/public.bzl b/public.bzl index ef99c9fb37..5546b24530 100644 --- a/public.bzl +++ b/public.bzl @@ -484,15 +484,48 @@ DM_INCLUDES = [ ## DM_ARGS ################################################################################ -def DM_ARGS(base_dir): - return [ - "--nogpu", - "--verbose", - # TODO(mtklein): maybe investigate why these fail? - "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Codec ~Stream ~skps ~RecordDraw_TextBounds ~PaintBreakText", - "--resourcePath %s/resources" % base_dir, - "--images %s/resources" % base_dir, +def DM_ARGS(base_dir, asan): + source = ["tests", "gm", "image"] + # TODO(benjaminwagner): f16 and serialize-8888 fail. + config = ["565", "8888", "pdf", "srgb", "tiles_rt", "pic"] + # TODO(mtklein): maybe investigate why these fail? + match = [ + "~Canvas", + "~Codec", + "~Codec_Dimensions", + "~Codec_stripes", + "~FontMgr", + "~PaintBreakText", + "~RecordDraw_TextBounds", + "~Scalar", + "~skps", + "~Stream", + ] + if asan: + # Running all sources and configs under ASAN causes the test to exceed + # "large" size and time out. + source = ["tests", "gm"] + config = ["8888"] + match += [ + "~clippedcubic2", + "~conicpaths", + "~gradients_2pt_conical", + "~Math", + "~Matrix", + "~PathOpsCubic", + "~PathOpsOpLoopsThreaded", + "~PathOpsSimplify", + "~PathOpsTightBoundsQuads", + "~Point", ] + return [ + "--src %s" % " ".join(source), + "--config %s" % " ".join(config), + "--verbose", + "--match %s" % " ".join(match), + "--resourcePath %s/resources" % base_dir, + "--images %s/resources" % base_dir, + ] ################################################################################ ## COPTS |