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

Side by Side Diff: mojo/shell/tests/connect/BUILD.gn

Issue 1758633002: Convert Connect apptest to a unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@25tests
Patch Set: . Created 4 years, 9 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/shell/tests/BUILD.gn ('k') | mojo/shell/tests/connect/connect_apptest.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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 mojo_native_application("connect") { 10 source_set("connect") {
11 output_name = "connect_apptests"
12 testonly = true 11 testonly = true
13 sources = [ 12 sources = [
14 "connect_apptest.cc", 13 "connect_unittest.cc",
15 ] 14 ]
16 deps = [ 15 deps = [
17 ":interfaces", 16 ":interfaces",
18 ":manifest", 17 ":manifest",
19 "//base", 18 "//base",
20 "//base/test:test_config", 19 "//base/test:test_support",
21 "//mojo/common:common_base", 20 "//mojo/shell/public/cpp:shell_test_support",
22 "//mojo/shell/public/cpp:sources", 21 "//mojo/shell/public/cpp:sources",
23 "//mojo/shell/public/cpp:test_support",
24 "//mojo/shell/public/interfaces", 22 "//mojo/shell/public/interfaces",
25 "//mojo/shell/tests/application_manager",
26 ] 23 ]
27 24
28 data_deps = [ 25 data_deps = [
29 ":connect_test_app", 26 ":connect_test_app",
30 ":connect_test_package", 27 ":connect_test_package",
31 ] 28 ]
32 } 29 }
33 30
34 mojom("interfaces") { 31 mojom("interfaces") {
35 sources = [ 32 sources = [
36 "connect_test.mojom", 33 "connect_test.mojom",
37 ] 34 ]
38 } 35 }
39 36
40 mojo_application_manifest("manifest") { 37 mojo_application_manifest("manifest") {
41 application_name = "connect_apptests" 38 application_name = "connect_unittests"
42 source = "connect_apptest_manifest.json" 39 source = "connect_unittests_manifest.json"
43 } 40 }
44 41
45 mojo_application_manifest("connect_test_a_manifest") { 42 mojo_application_manifest("connect_test_a_manifest") {
46 application_name = "connect_test_a" 43 application_name = "connect_test_a"
47 source = "connect_test_app_a_manifest.json" 44 source = "connect_test_app_a_manifest.json"
48 } 45 }
49 46
50 mojo_application_manifest("connect_test_b_manifest") { 47 mojo_application_manifest("connect_test_b_manifest") {
51 application_name = "connect_test_b" 48 application_name = "connect_test_b"
52 source = "connect_test_app_b_manifest.json" 49 source = "connect_test_app_b_manifest.json"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "//mojo/common:common_base", 89 "//mojo/common:common_base",
93 "//mojo/shell/public/cpp:sources", 90 "//mojo/shell/public/cpp:sources",
94 "//mojo/shell/public/interfaces", 91 "//mojo/shell/public/interfaces",
95 ] 92 ]
96 } 93 }
97 94
98 mojo_application_manifest("connect_test_app_manifest") { 95 mojo_application_manifest("connect_test_app_manifest") {
99 application_name = "connect_test_app" 96 application_name = "connect_test_app"
100 source = "connect_test_app_manifest.json" 97 source = "connect_test_app_manifest.json"
101 } 98 }
OLDNEW
« no previous file with comments | « mojo/shell/tests/BUILD.gn ('k') | mojo/shell/tests/connect/connect_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698