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("//build/module_args/v8.gni") | 5 import("//build/module_args/v8.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 "//ui/events:gesture_detection", | 183 "//ui/events:gesture_detection", |
184 "//ui/events/blink", | 184 "//ui/events/blink", |
185 "//ui/events/gestures/blink", | 185 "//ui/events/gestures/blink", |
186 "//ui/gfx", | 186 "//ui/gfx", |
187 "//ui/gfx/geometry", | 187 "//ui/gfx/geometry", |
188 "//ui/mojo/geometry:interfaces_cpp_sources", | 188 "//ui/mojo/geometry:interfaces_cpp_sources", |
189 "//ui/mojo/ime:interfaces_cpp_sources", | 189 "//ui/mojo/ime:interfaces_cpp_sources", |
190 "//ui/mojo/init", | 190 "//ui/mojo/init", |
191 "//ui/native_theme", | 191 "//ui/native_theme", |
192 "//url", | 192 "//url", |
| 193 "//v8", |
193 ] | 194 ] |
194 | 195 |
195 public_deps = [ | 196 public_deps = [ |
196 "//components/mus/public/cpp", | 197 "//components/mus/public/cpp", |
197 "//third_party/WebKit/public:blink", | 198 "//third_party/WebKit/public:blink", |
198 "//third_party/mojo/src/mojo/public/cpp/bindings", | 199 "//third_party/mojo/src/mojo/public/cpp/bindings", |
199 ] | 200 ] |
200 | 201 |
201 if (is_win) { | 202 if (is_win) { |
202 sources += [ "html_viewer_version.rc" ] | 203 sources += [ "html_viewer_version.rc" ] |
(...skipping 11 matching lines...) Expand all Loading... |
214 ] | 215 ] |
215 } | 216 } |
216 | 217 |
217 mojo_native_application("html_viewer") { | 218 mojo_native_application("html_viewer") { |
218 sources = [ | 219 sources = [ |
219 "html_viewer_main.cc", | 220 "html_viewer_main.cc", |
220 ] | 221 ] |
221 deps = [ | 222 deps = [ |
222 ":lib", | 223 ":lib", |
223 ":pak", | 224 ":pak", |
| 225 "//base", |
224 "//mojo/application/public/cpp:sources", | 226 "//mojo/application/public/cpp:sources", |
225 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", | 227 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", |
226 ] | 228 ] |
227 resources = [ "$root_out_dir/html_viewer.pak" ] | 229 resources = [ "$root_out_dir/html_viewer.pak" ] |
228 | 230 |
229 if (v8_use_external_startup_data) { | 231 if (v8_use_external_startup_data) { |
230 resources += [ | 232 resources += [ |
231 "$root_build_dir/natives_blob.bin", | 233 "$root_build_dir/natives_blob.bin", |
232 "$root_build_dir/snapshot_blob.bin", | 234 "$root_build_dir/snapshot_blob.bin", |
233 ] | 235 ] |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 351 |
350 data_deps = [ | 352 data_deps = [ |
351 ":html_viewer", | 353 ":html_viewer", |
352 "//components/mus", | 354 "//components/mus", |
353 ] | 355 ] |
354 | 356 |
355 if (is_linux && !is_android) { | 357 if (is_linux && !is_android) { |
356 data_deps += [ "//components/font_service" ] | 358 data_deps += [ "//components/font_service" ] |
357 } | 359 } |
358 } | 360 } |
OLD | NEW |