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

Side by Side Diff: headless/BUILD.gn

Issue 2892703002: Finish ../platform => public/platform refactor (Closed)
Patch Set: Fix syntax error in chrome/browser/BUILD.gn Created 3 years, 7 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
OLDNEW
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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 400
401 configs += [ ":headless_implementation" ] 401 configs += [ ":headless_implementation" ]
402 } 402 }
403 403
404 # Headless renderer is a convenience library for non component builds that 404 # Headless renderer is a convenience library for non component builds that
405 # includes headless classes that depend on the renderer. 405 # includes headless classes that depend on the renderer.
406 if (!is_component_build) { 406 if (!is_component_build) {
407 static_library("headless_renderer") { 407 static_library("headless_renderer") {
408 deps = [ 408 deps = [
409 ":headless", 409 ":headless",
410 "//third_party/WebKit/public:blink_headers",
411 "//ui/base",
410 ] 412 ]
411 sources = [ 413 sources = [
412 "lib/browser/headless_web_contents_impl.cc", 414 "lib/browser/headless_web_contents_impl.cc",
413 "lib/browser/headless_web_contents_impl.h", 415 "lib/browser/headless_web_contents_impl.h",
414 "lib/headless_content_main_delegate.cc", 416 "lib/headless_content_main_delegate.cc",
415 "lib/headless_content_main_delegate.h", 417 "lib/headless_content_main_delegate.h",
416 "lib/renderer/headless_content_renderer_client.cc", 418 "lib/renderer/headless_content_renderer_client.cc",
417 "lib/renderer/headless_content_renderer_client.h", 419 "lib/renderer/headless_content_renderer_client.h",
418 ] 420 ]
419 deps += [ "//ui/base" ]
420 if (enable_basic_printing) { 421 if (enable_basic_printing) {
421 deps += [ "//components/printing/renderer" ] 422 deps += [ "//components/printing/renderer" ]
422 } 423 }
423 configs += [ ":headless_implementation" ] 424 configs += [ ":headless_implementation" ]
424 } 425 }
425 } else { 426 } else {
426 # For component builds all dependencies are already included in the headless 427 # For component builds all dependencies are already included in the headless
427 # component. 428 # component.
428 group("headless_renderer") { 429 group("headless_renderer") {
429 deps = [ 430 deps = [
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 698
698 executable("headless_example") { 699 executable("headless_example") {
699 sources = [ 700 sources = [
700 "app/headless_example.cc", 701 "app/headless_example.cc",
701 ] 702 ]
702 703
703 deps = [ 704 deps = [
704 ":headless_shell_lib", 705 ":headless_shell_lib",
705 ] 706 ]
706 } 707 }
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/BUILD.gn ('k') | third_party/WebKit/public/web/WebConsoleMessage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698