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

Unified Diff: bench/nanobench.h

Issue 657373002: Make nanobench and dm be usable from Chromium build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try with dm.cpp being DM.cpp Created 6 years, 1 month 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 | bench/nanobench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.h
diff --git a/platform_tools/android/tests/inputs/SkUserConfig-h.txt b/bench/nanobench.h
similarity index 57%
copy from platform_tools/android/tests/inputs/SkUserConfig-h.txt
copy to bench/nanobench.h
index a8f97ebe1f4734cfabf486c92820914ef0f757e7..4616747382adf9f49ab11e798b7eae4fbe8b7bcc 100644
--- a/platform_tools/android/tests/inputs/SkUserConfig-h.txt
+++ b/bench/nanobench.h
@@ -4,7 +4,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#ifndef nanobench_DEFINED
+#define nanobench_DEFINED
-/*
- * Unchanging SkUserConfig.h for testing generate_user_config.
- */
+// API for nanobench app.
+int nanobench_main();
+
+#endif
« no previous file with comments | « no previous file | bench/nanobench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698