OLD | NEW |
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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/mojo/src/mojo/public/mojo.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 # Repack this here. | 10 # Repack this here. |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ] | 193 ] |
194 } | 194 } |
195 } else { | 195 } else { |
196 mojo_native_application("html_viewer") { | 196 mojo_native_application("html_viewer") { |
197 sources = [ | 197 sources = [ |
198 "html_viewer.cc", | 198 "html_viewer.cc", |
199 ] | 199 ] |
200 deps = [ | 200 deps = [ |
201 ":lib", | 201 ":lib", |
202 ] | 202 ] |
| 203 data_deps = [ "//mojo/services/network:network" ] |
203 } | 204 } |
204 } | 205 } |
205 | 206 |
206 test("tests") { | 207 test("tests") { |
207 output_name = "html_viewer_unittests" | 208 output_name = "html_viewer_unittests" |
208 sources = [ | 209 sources = [ |
209 "ax_provider_impl_unittest.cc", | 210 "ax_provider_impl_unittest.cc", |
210 "discardable_memory_allocator_unittest.cc", | 211 "discardable_memory_allocator_unittest.cc", |
211 ] | 212 ] |
212 deps = [ | 213 deps = [ |
(...skipping 20 matching lines...) Expand all Loading... |
233 | 234 |
234 # TODO(msw): Move this to mojo/application:test_support; see crbug.com/477104. | 235 # TODO(msw): Move this to mojo/application:test_support; see crbug.com/477104. |
235 data_deps = [] | 236 data_deps = [] |
236 if (is_android) { | 237 if (is_android) { |
237 data_deps += [ "//mojo/android" ] | 238 data_deps += [ "//mojo/android" ] |
238 } | 239 } |
239 if (!is_component_build) { | 240 if (!is_component_build) { |
240 data_deps += [ "//mojo/shell:mojo_shell" ] | 241 data_deps += [ "//mojo/shell:mojo_shell" ] |
241 } | 242 } |
242 } | 243 } |
OLD | NEW |