OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 | 8 |
9 group("child") { | 9 group("child") { |
10 testonly = true | 10 testonly = true |
11 deps = [ | 11 deps = [ |
12 ":apptests", | 12 ":apptests", |
13 ":lib", | |
14 ] | 13 ] |
15 } | 14 } |
16 | 15 |
17 source_set("lib") { | |
18 sources = [ | |
19 "runner_connection.cc", | |
20 "runner_connection.h", | |
21 ] | |
22 | |
23 deps = [ | |
24 "//base", | |
25 "//mojo/edk/system", | |
26 "//mojo/message_pump", | |
27 "//mojo/platform_handle:platform_handle_impl", | |
28 "//mojo/shell/public/cpp:sources", | |
29 "//mojo/shell/public/interfaces", | |
30 "//mojo/shell/runner/common", | |
31 ] | |
32 } | |
33 | |
34 source_set("test_native_main") { | 16 source_set("test_native_main") { |
35 sources = [ | 17 sources = [ |
36 "test_native_main.cc", | 18 "test_native_main.cc", |
37 "test_native_main.h", | 19 "test_native_main.h", |
38 ] | 20 ] |
39 | 21 |
40 public_deps = [ | 22 public_deps = [ |
41 "//mojo/shell/runner:init", | 23 "//mojo/shell/runner:init", |
42 ] | 24 ] |
43 | 25 |
44 deps = [ | 26 deps = [ |
45 "//base", | 27 "//base", |
46 "//mojo/edk/system", | 28 "//mojo/edk/system", |
47 "//mojo/message_pump", | 29 "//mojo/message_pump", |
48 "//mojo/shell/public/cpp", | 30 "//mojo/shell/public/cpp", |
49 "//mojo/shell/runner/child:lib", | 31 "//mojo/shell/runner/common", |
50 ] | 32 ] |
51 } | 33 } |
52 | 34 |
53 mojom("apptest_interfaces") { | 35 mojom("apptest_interfaces") { |
54 sources = [ | 36 sources = [ |
55 "test_native_service.mojom", | 37 "test_native_service.mojom", |
56 ] | 38 ] |
57 | 39 |
58 deps = [ | 40 deps = [ |
59 "//mojo/shell/public/interfaces", | 41 "//mojo/shell/public/interfaces", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 executable("native_target") { | 75 executable("native_target") { |
94 output_name = "mojo_runner_child_apptest_native_target" | 76 output_name = "mojo_runner_child_apptest_native_target" |
95 testonly = true | 77 testonly = true |
96 | 78 |
97 sources = [ | 79 sources = [ |
98 "native_apptest_target.cc", | 80 "native_apptest_target.cc", |
99 ] | 81 ] |
100 | 82 |
101 deps = [ | 83 deps = [ |
102 ":apptest_interfaces", | 84 ":apptest_interfaces", |
103 ":lib", | |
104 ":test_native_main", | 85 ":test_native_main", |
105 "//base", | 86 "//base", |
106 "//build/config/sanitizers:deps", | 87 "//build/config/sanitizers:deps", |
107 "//mojo/shell/public/cpp", | 88 "//mojo/shell/public/cpp", |
108 ] | 89 ] |
109 } | 90 } |
OLD | NEW |