OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
7 import("//headless/headless.gni") | 7 import("//headless/headless.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 "lib/renderer/headless_print_web_view_helper_delegate.h", | 314 "lib/renderer/headless_print_web_view_helper_delegate.h", |
315 ] | 315 ] |
316 } | 316 } |
317 | 317 |
318 public_deps = [ | 318 public_deps = [ |
319 "//base", | 319 "//base", |
320 "//net", | 320 "//net", |
321 ] | 321 ] |
322 | 322 |
323 if (enable_basic_printing) { | 323 if (enable_basic_printing) { |
324 public_deps += [ "//skia" ] | 324 public_deps += [ "//components/printing/browser" ] |
325 } | 325 } |
326 | 326 |
327 deps = [ | 327 deps = [ |
328 ":gen_devtools_client_api", | 328 ":gen_devtools_client_api", |
329 ":tab_socket", | 329 ":tab_socket", |
330 ":version_header", | 330 ":version_header", |
331 "//components/crash/content/browser", | 331 "//components/crash/content/browser", |
332 "//components/security_state/content", | 332 "//components/security_state/content", |
333 "//components/security_state/core", | 333 "//components/security_state/core", |
334 "//content/public/app:both", | 334 "//content/public/app:both", |
(...skipping 11 matching lines...) Expand all Loading... | |
346 ] | 346 ] |
347 | 347 |
348 if (is_mac) { | 348 if (is_mac) { |
349 deps += [ ":mac_helpers" ] | 349 deps += [ ":mac_helpers" ] |
350 } else { | 350 } else { |
351 deps += [ "//ui/aura" ] | 351 deps += [ "//ui/aura" ] |
352 } | 352 } |
353 | 353 |
354 if (enable_basic_printing) { | 354 if (enable_basic_printing) { |
355 deps += [ | 355 deps += [ |
356 "//components/printing/browser", | 356 "//components/printing/browser", |
jzfeng
2017/05/10 13:36:44
this one can be removed?
blundell
2017/05/11 15:19:11
Done.
| |
357 "//components/printing/renderer", | 357 "//components/printing/renderer", |
358 ] | 358 ] |
359 } | 359 } |
360 | 360 |
361 if (headless_use_embedded_resources) { | 361 if (headless_use_embedded_resources) { |
362 deps += [ ":embed_resources" ] | 362 deps += [ ":embed_resources" ] |
363 sources += [ | 363 sources += [ |
364 "$root_gen_dir/headless/embedded_resource_pak.cc", | 364 "$root_gen_dir/headless/embedded_resource_pak.cc", |
365 "$root_gen_dir/headless/embedded_resource_pak.h", | 365 "$root_gen_dir/headless/embedded_resource_pak.h", |
366 ] | 366 ] |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
557 | 557 |
558 executable("headless_example") { | 558 executable("headless_example") { |
559 sources = [ | 559 sources = [ |
560 "app/headless_example.cc", | 560 "app/headless_example.cc", |
561 ] | 561 ] |
562 | 562 |
563 deps = [ | 563 deps = [ |
564 ":headless_shell_lib", | 564 ":headless_shell_lib", |
565 ] | 565 ] |
566 } | 566 } |
OLD | NEW |