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

Unified Diff: tools/dm_flags.py

Issue 957503002: Add tools/nanobench_flags.py. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | tools/nanobench_flags.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dm_flags.py
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index 277bf8ac4262e5b8759772118877e8871f75e4c5..985a62adf573e2cad0110187b64924cd942bb368 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -19,7 +19,7 @@ def lineno():
cov_start = lineno()+1 # We care about coverage starting just past this def.
-def get_dm_args(bot):
+def get_args(bot):
args = []
configs = ['565', '8888', 'gpu', 'nvprmsaa4']
@@ -94,7 +94,7 @@ def self_test():
cov = coverage.coverage()
cov.start()
for case in cases:
- args[case] = get_dm_args(case)
+ args[case] = get_args(case)
cov.stop()
this_file = os.path.basename(__file__)
@@ -119,4 +119,4 @@ if __name__ == '__main__':
sys.exit(1)
with open(sys.argv[1], 'w') as out:
- json.dump(get_dm_args(sys.argv[2]), out)
+ json.dump(get_args(sys.argv[2]), out)
« no previous file with comments | « no previous file | tools/nanobench_flags.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698