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

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

Issue 1996463003: Converted Mojo Common Unittests to run as Apptests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added apptests for data_pipe_utils and message_pump Created 4 years, 7 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/data_pipe_utils/BUILD.gn » ('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")
5 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 8
8 source_set("common") { 9 source_set("common") {
9 sources = [ 10 sources = [
10 "binding_set.h", 11 "binding_set.h",
11 "interface_ptr_set.h", 12 "interface_ptr_set.h",
12 "strong_binding_set.h", 13 "strong_binding_set.h",
13 ] 14 ]
14 15
(...skipping 18 matching lines...) Expand all
33 ":test_interfaces", 34 ":test_interfaces",
34 "//base", 35 "//base",
35 "//mojo/message_pump", 36 "//mojo/message_pump",
36 "//mojo/public/cpp/bindings", 37 "//mojo/public/cpp/bindings",
37 "//mojo/public/cpp/bindings:callback", 38 "//mojo/public/cpp/bindings:callback",
38 "//mojo/public/cpp/system", 39 "//mojo/public/cpp/system",
39 "//testing/gtest", 40 "//testing/gtest",
40 ] 41 ]
41 } 42 }
42 43
43 test("mojo_common_unittests") { 44 mojo_native_application("mojo_common_apptests") {
45 testonly = true
46
44 deps = [ 47 deps = [
45 ":tests", 48 ":tests",
46 "//mojo/data_pipe_utils:tests", 49 "//mojo/application",
47 "//mojo/edk/test:run_all_unittests", 50 "//mojo/application:test_support",
48 "//mojo/environment:chromium",
49 "//mojo/message_pump:tests",
50 ] 51 ]
51 } 52 }
52 53
53 mojom("test_interfaces") { 54 mojom("test_interfaces") {
54 testonly = true 55 testonly = true
55 sources = [ 56 sources = [
56 "test_interfaces.mojom", 57 "test_interfaces.mojom",
57 ] 58 ]
58 } 59 }
59 60
60 source_set("tracing_impl") { 61 source_set("tracing_impl") {
61 sources = [ 62 sources = [
62 "trace_provider_impl.cc", 63 "trace_provider_impl.cc",
63 "trace_provider_impl.h", 64 "trace_provider_impl.h",
64 "tracing_impl.cc", 65 "tracing_impl.cc",
65 "tracing_impl.h", 66 "tracing_impl.h",
66 ] 67 ]
67 68
68 deps = [ 69 deps = [
69 "//base", 70 "//base",
70 "//mojo/public/cpp/application", 71 "//mojo/public/cpp/application",
71 "//mojo/public/cpp/bindings", 72 "//mojo/public/cpp/bindings",
72 "//mojo/public/interfaces/application", 73 "//mojo/public/interfaces/application",
73 "//mojo/services/tracing/interfaces", 74 "//mojo/services/tracing/interfaces",
74 ] 75 ]
75 } 76 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/data_pipe_utils/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698