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

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
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 test("connect") {
sky 2016/03/02 16:24:04 Did you consider including these in mojo_shell_uni
11 output_name = "connect_apptests" 11 output_name = "mojo_shell_connect_unittests"
12 testonly = true 12 testonly = true
13 sources = [ 13 sources = [
14 "connect_apptest.cc", 14 "connect_unittest.cc",
15 ] 15 ]
16 deps = [ 16 deps = [
17 ":interfaces", 17 ":interfaces",
18 ":manifest", 18 ":manifest",
19 "//base", 19 "//base",
20 "//base/test:test_config", 20 "//base/test:test_config",
21 "//base/test:test_support",
21 "//mojo/common:common_base", 22 "//mojo/common:common_base",
23 "//mojo/edk/system",
24 "//mojo/shell/background:main",
22 "//mojo/shell/public/cpp:sources", 25 "//mojo/shell/public/cpp:sources",
23 "//mojo/shell/public/cpp:test_support", 26 "//mojo/shell/public/cpp:test_support",
24 "//mojo/shell/public/interfaces", 27 "//mojo/shell/public/interfaces",
25 "//mojo/shell/tests/application_manager",
26 ] 28 ]
27 29
28 data_deps = [ 30 data_deps = [
29 ":connect_test_app", 31 ":connect_test_app",
30 ":connect_test_package", 32 ":connect_test_package",
31 ] 33 ]
32 } 34 }
33 35
34 mojom("interfaces") { 36 mojom("interfaces") {
35 sources = [ 37 sources = [
36 "connect_test.mojom", 38 "connect_test.mojom",
37 ] 39 ]
38 } 40 }
39 41
40 mojo_application_manifest("manifest") { 42 mojo_application_manifest("manifest") {
41 application_name = "connect_apptests" 43 application_name = "connect_unittests"
42 source = "connect_apptest_manifest.json" 44 source = "connect_unittests_manifest.json"
43 } 45 }
44 46
45 mojo_application_manifest("connect_test_a_manifest") { 47 mojo_application_manifest("connect_test_a_manifest") {
46 application_name = "connect_test_a" 48 application_name = "connect_test_a"
47 source = "connect_test_app_a_manifest.json" 49 source = "connect_test_app_a_manifest.json"
48 } 50 }
49 51
50 mojo_application_manifest("connect_test_b_manifest") { 52 mojo_application_manifest("connect_test_b_manifest") {
51 application_name = "connect_test_b" 53 application_name = "connect_test_b"
52 source = "connect_test_app_b_manifest.json" 54 source = "connect_test_app_b_manifest.json"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "//mojo/common:common_base", 94 "//mojo/common:common_base",
93 "//mojo/shell/public/cpp:sources", 95 "//mojo/shell/public/cpp:sources",
94 "//mojo/shell/public/interfaces", 96 "//mojo/shell/public/interfaces",
95 ] 97 ]
96 } 98 }
97 99
98 mojo_application_manifest("connect_test_app_manifest") { 100 mojo_application_manifest("connect_test_app_manifest") {
99 application_name = "connect_test_app" 101 application_name = "connect_test_app"
100 source = "connect_test_app_manifest.json" 102 source = "connect_test_app_manifest.json"
101 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698