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/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 group("child") { | 9 group("child") { |
9 testonly = true | 10 testonly = true |
10 deps = [ | 11 deps = [ |
11 ":apptests", | 12 ":apptests", |
12 ":lib", | 13 ":lib", |
13 ] | 14 ] |
14 } | 15 } |
15 | 16 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 output_name = "mojo_runner_child_apptest" | 78 output_name = "mojo_runner_child_apptest" |
78 testonly = true | 79 testonly = true |
79 avoid_runner_cycle = true | 80 avoid_runner_cycle = true |
80 | 81 |
81 sources = [ | 82 sources = [ |
82 "native_apptest.cc", | 83 "native_apptest.cc", |
83 ] | 84 ] |
84 | 85 |
85 deps = [ | 86 deps = [ |
86 ":apptest_interfaces", | 87 ":apptest_interfaces", |
| 88 ":manifest", |
87 "//base", | 89 "//base", |
88 "//base/test:test_config", | 90 "//base/test:test_config", |
89 "//mojo/shell/public/cpp:sources", | 91 "//mojo/shell/public/cpp:sources", |
90 "//mojo/shell/public/cpp:test_support", | 92 "//mojo/shell/public/cpp:test_support", |
91 ] | 93 ] |
92 | 94 |
93 data_deps = [ | 95 data_deps = [ |
94 ":native_target", | 96 ":native_target", |
95 ] | 97 ] |
96 } | 98 } |
97 | 99 |
| 100 mojo_application_manifest("manifest") { |
| 101 application_name = "mojo_runner_child_apptest" |
| 102 source = "manifest.json" |
| 103 } |
| 104 |
98 executable("native_target") { | 105 executable("native_target") { |
99 output_name = "mojo_runner_child_apptest_native_target" | 106 output_name = "mojo_runner_child_apptest_native_target" |
100 testonly = true | 107 testonly = true |
101 | 108 |
102 sources = [ | 109 sources = [ |
103 "native_apptest_target.cc", | 110 "native_apptest_target.cc", |
104 ] | 111 ] |
105 | 112 |
106 deps = [ | 113 deps = [ |
107 ":apptest_interfaces", | 114 ":apptest_interfaces", |
108 ":lib", | 115 ":lib", |
109 ":test_native_main", | 116 ":test_native_main", |
110 "//base", | 117 "//base", |
111 "//build/config/sanitizers:deps", | 118 "//build/config/sanitizers:deps", |
112 "//mojo/shell/public/cpp", | 119 "//mojo/shell/public/cpp", |
113 ] | 120 ] |
114 } | 121 } |
OLD | NEW |