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

Side by Side Diff: mojo/environment/BUILD.gn

Issue 2142393002: Add perf tests for async waits using base::MessageLoop. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_async_waiter_perftest
Patch Set: gah Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/environment/async_wait_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni")
6 import("//testing/test.gni")
7
5 source_set("chromium") { 8 source_set("chromium") {
6 sources = [ 9 sources = [
7 "default_async_waiter.cc", 10 "default_async_waiter.cc",
8 "default_async_waiter.h", 11 "default_async_waiter.h",
9 "default_logger.cc", 12 "default_logger.cc",
10 "default_logger.h", 13 "default_logger.h",
11 "environment.cc", 14 "environment.cc",
12 "scoped_chromium_init.cc", 15 "scoped_chromium_init.cc",
13 "scoped_chromium_init.h", 16 "scoped_chromium_init.h",
14 17
15 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 18 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
16 "../public/cpp/environment/async_waiter.h", 19 "../public/cpp/environment/async_waiter.h",
17 "../public/cpp/environment/lib/async_waiter.cc", 20 "../public/cpp/environment/lib/async_waiter.cc",
18 "../public/cpp/environment/lib/logging.cc", 21 "../public/cpp/environment/lib/logging.cc",
19 "../public/cpp/environment/logging.h", 22 "../public/cpp/environment/logging.h",
20 ] 23 ]
21 24
22 deps = [ 25 deps = [
23 "//base", 26 "//base",
24 "//base/third_party/dynamic_annotations", 27 "//base/third_party/dynamic_annotations",
25 "//mojo/common", 28 "//mojo/common",
26 "//mojo/message_pump", 29 "//mojo/message_pump",
27 "//mojo/public/c/environment", 30 "//mojo/public/c/environment",
28 "//mojo/public/cpp/bindings:callback", 31 "//mojo/public/cpp/bindings:callback",
29 "//mojo/public/cpp/environment", 32 "//mojo/public/cpp/environment",
30 "//mojo/public/cpp/system", 33 "//mojo/public/cpp/system",
31 ] 34 ]
32 } 35 }
36
37 # TODO(vtl): Just build this as an executable/non-apptest for now. (This
38 # requires depending //mojo/edk/test:run_all_perftests, which is undesirable.
39 # However, we don't have a good way to automatically run perf tests that are
40 # apptests and extract results.)
41 test("mojo_environment_perftests") {
42 sources = [
43 "async_wait_perftest.cc",
44 ]
45
46 deps = [
47 ":chromium",
48 "//base",
49 "//base/test:test_support",
50 "//mojo/edk/test:run_all_perftests",
51 "//mojo/message_pump",
52 "//mojo/public/c/environment/tests:perftest_helpers",
53 "//mojo/public/cpp/environment",
54 "//testing/gtest",
55 ]
56 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/environment/async_wait_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698