OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/public/mojo_application.gni") |
| 6 |
| 7 source_set("lib") { |
| 8 sources = [ |
| 9 "event.cc", |
| 10 "event.h", |
| 11 "measurements.cc", |
| 12 "measurements.h", |
| 13 "run_args.cc", |
| 14 "run_args.h", |
| 15 "trace_collector_client.cc", |
| 16 "trace_collector_client.h", |
| 17 ] |
| 18 |
| 19 deps = [ |
| 20 "//base", |
| 21 "//mojo/data_pipe_utils", |
| 22 ] |
| 23 |
| 24 public_deps = [ |
| 25 "//mojo/services/tracing/public/interfaces", |
| 26 ] |
| 27 } |
| 28 |
| 29 mojo_native_application("benchmark") { |
| 30 sources = [ |
| 31 "benchmark_app.cc", |
| 32 ] |
| 33 |
| 34 deps = [ |
| 35 ":lib", |
| 36 "//base", |
| 37 "//mojo/application:application", |
| 38 "//mojo/public/cpp/application", |
| 39 ] |
| 40 } |
| 41 |
| 42 mojo_native_application("apptests") { |
| 43 output_name = "benchmark_apptests" |
| 44 |
| 45 testonly = true |
| 46 |
| 47 sources = [ |
| 48 "event_unittest.cc", |
| 49 "measurements_unittest.cc", |
| 50 ] |
| 51 |
| 52 deps = [ |
| 53 ":lib", |
| 54 "//mojo/application", |
| 55 "//mojo/application:test_support", |
| 56 "//mojo/public/cpp/bindings:callback", |
| 57 "//testing/gtest", |
| 58 ] |
| 59 } |
OLD | NEW |