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

Side by Side Diff: mojo/services/html_viewer/BUILD.gn

Issue 1097503002: Add the network service as a data dependency of html_viewer for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698