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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "android/android_hooks.cc", | 157 "android/android_hooks.cc", |
158 "html_viewer.cc", | 158 "html_viewer.cc", |
159 ] | 159 ] |
160 | 160 |
161 deps = [ | 161 deps = [ |
162 ":html_viewer_jni_headers", | 162 ":html_viewer_jni_headers", |
163 ":lib", | 163 ":lib", |
164 "//base", | 164 "//base", |
165 "//ui/gfx:gfx_jni_headers", | 165 "//ui/gfx:gfx_jni_headers", |
166 ] | 166 ] |
| 167 |
| 168 data_deps = [ "//mojo/services/network:network" ] |
167 } | 169 } |
168 | 170 |
169 generate_jni("html_viewer_jni_headers") { | 171 generate_jni("html_viewer_jni_headers") { |
170 sources = [ | 172 sources = [ |
171 "android/java/org/chromium/html_viewer/Main.java", | 173 "android/java/org/chromium/html_viewer/Main.java", |
172 ] | 174 ] |
173 jni_package = "mojo/services/html_viewer" | 175 jni_package = "mojo/services/html_viewer" |
174 } | 176 } |
175 | 177 |
176 android_library("html_viewer_java_classes") { | 178 android_library("html_viewer_java_classes") { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 235 |
234 # TODO(msw): Move this to mojo/application:test_support; see crbug.com/477104. | 236 # TODO(msw): Move this to mojo/application:test_support; see crbug.com/477104. |
235 data_deps = [] | 237 data_deps = [] |
236 if (is_android) { | 238 if (is_android) { |
237 data_deps += [ "//mojo/android" ] | 239 data_deps += [ "//mojo/android" ] |
238 } | 240 } |
239 if (!is_component_build) { | 241 if (!is_component_build) { |
240 data_deps += [ "//mojo/shell:mojo_shell" ] | 242 data_deps += [ "//mojo/shell:mojo_shell" ] |
241 } | 243 } |
242 } | 244 } |
OLD | NEW |