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

Unified Diff: apps/benchmark/BUILD.gn

Issue 1305193002: Trace-based benchmarking via a mojo app. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Further address Etienne's comments. Created 5 years, 4 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 | « apps/BUILD.gn ('k') | apps/benchmark/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/benchmark/BUILD.gn
diff --git a/apps/benchmark/BUILD.gn b/apps/benchmark/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..5bb84bb81ef73011ecc6525553a18aa5fab837b0
--- /dev/null
+++ b/apps/benchmark/BUILD.gn
@@ -0,0 +1,59 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/mojo_application.gni")
+
+source_set("lib") {
+ sources = [
+ "event.cc",
+ "event.h",
+ "measurements.cc",
+ "measurements.h",
+ "run_args.cc",
+ "run_args.h",
+ "trace_collector_client.cc",
+ "trace_collector_client.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/data_pipe_utils",
+ ]
+
+ public_deps = [
+ "//mojo/services/tracing/public/interfaces",
+ ]
+}
+
+mojo_native_application("benchmark") {
+ sources = [
+ "benchmark_app.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ "//mojo/application:application",
+ "//mojo/public/cpp/application",
+ ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "benchmark_apptests"
+
+ testonly = true
+
+ sources = [
+ "event_unittest.cc",
+ "measurements_unittest.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/public/cpp/bindings:callback",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « apps/BUILD.gn ('k') | apps/benchmark/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698