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