Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: public.bzl

Issue 1939483002: Patch in internal cl/121138374. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public.bzl
diff --git a/public.bzl b/public.bzl
index ef99c9fb37e3ce26a7c638290f77ea5225944bb6..5546b24530de2319a027f29996707722b5a3e419 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698