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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 public_deps = [ | 178 public_deps = [ |
179 "//components/view_manager/public/cpp", | 179 "//components/view_manager/public/cpp", |
180 "//third_party/WebKit/public:blink", | 180 "//third_party/WebKit/public:blink", |
181 "//third_party/mojo/src/mojo/public/cpp/bindings", | 181 "//third_party/mojo/src/mojo/public/cpp/bindings", |
182 ] | 182 ] |
183 | 183 |
184 if (is_win) { | 184 if (is_win) { |
185 sources += [ "html_viewer_version.rc" ] | 185 sources += [ "html_viewer_version.rc" ] |
186 } | 186 } |
187 | 187 |
| 188 if (is_linux && !is_android) { |
| 189 deps += [ "//components/font_service/public/cpp" ] |
| 190 } |
| 191 |
188 data_deps = [ | 192 data_deps = [ |
189 "//components/clipboard", | 193 "//components/clipboard", |
190 "//components/view_manager", | 194 "//components/view_manager", |
191 "//mojo/services/network:network", | 195 "//mojo/services/network:network", |
192 ] | 196 ] |
193 } | 197 } |
194 | 198 |
195 mojo_native_application("html_viewer") { | 199 mojo_native_application("html_viewer") { |
196 sources = [ | 200 sources = [ |
197 "html_viewer_main.cc", | 201 "html_viewer_main.cc", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 "//net:test_support", | 313 "//net:test_support", |
310 "//testing/gtest", | 314 "//testing/gtest", |
311 "//third_party/mojo_services/src/accessibility/public/interfaces", | 315 "//third_party/mojo_services/src/accessibility/public/interfaces", |
312 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", | 316 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", |
313 ] | 317 ] |
314 | 318 |
315 data_deps = [ | 319 data_deps = [ |
316 ":html_viewer", | 320 ":html_viewer", |
317 "//components/view_manager", | 321 "//components/view_manager", |
318 ] | 322 ] |
| 323 |
| 324 if (is_linux && !is_android) { |
| 325 data_deps += [ "//components/font_service" ] |
| 326 } |
319 } | 327 } |
OLD | NEW |