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

Side by Side Diff: chrome/BUILD.gn

Issue 1643633003: Link Blink into the browser process less. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: safe json Created 4 years, 10 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
« no previous file with comments | « no previous file | components/copresence/BUILD.gn » ('j') | components/guest_view/browser/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/locales.gni") 8 import("//build/config/locales.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 if (enable_plugins) { 451 if (enable_plugins) {
452 public_deps += [ "//ppapi/host" ] 452 public_deps += [ "//ppapi/host" ]
453 } 453 }
454 454
455 if (enable_basic_printing || enable_print_preview) { 455 if (enable_basic_printing || enable_print_preview) {
456 public_deps += [ "//printing" ] 456 public_deps += [ "//printing" ]
457 if (enable_print_preview) { 457 if (enable_print_preview) {
458 public_deps += [ "//chrome/service" ] 458 public_deps += [ "//chrome/service" ]
459 } 459 }
460 } 460 }
461
462 if (!is_component_build) {
463 assert_no_deps = [
464 # Blink and V8 should not be used in the browser process. In component
465 # build this is OK because all of content is linked into one library.
466 # Note that the blink_headers target is OK, so we can't doa wildcard for
Dirk Pranke 2016/01/28 01:54:30 s/doa/do a/
467 # all blink targets.
468 "//third_party/WebKit/public:blink",
469 # TODO(brettw) bug 581766: V8 should not be linked into the browser
470 # process, and then we can enable this.
471 #"//v8/*",
472 ]
473 }
461 } 474 }
462 475
463 # GYP version: chromium_child_dependencies variable in chrome.gyp 476 # GYP version: chromium_child_dependencies variable in chrome.gyp
464 group("child_dependencies") { 477 group("child_dependencies") {
465 public_deps = [ 478 public_deps = [
466 "//chrome/common", 479 "//chrome/common",
467 "//sync", 480 "//sync",
468 ] 481 ]
469 if (!is_ios) { 482 if (!is_ios) {
470 public_deps += [ 483 public_deps += [
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1078 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1066 "//chrome/tools/build/linux/chrome-wrapper", 1079 "//chrome/tools/build/linux/chrome-wrapper",
1067 "//third_party/xdg-utils/scripts/xdg-mime", 1080 "//third_party/xdg-utils/scripts/xdg-mime",
1068 "//third_party/xdg-utils/scripts/xdg-settings", 1081 "//third_party/xdg-utils/scripts/xdg-settings",
1069 ] 1082 ]
1070 outputs = [ 1083 outputs = [
1071 "$root_out_dir/{{source_file_part}}", 1084 "$root_out_dir/{{source_file_part}}",
1072 ] 1085 ]
1073 } 1086 }
1074 } 1087 }
OLDNEW
« no previous file with comments | « no previous file | components/copresence/BUILD.gn » ('j') | components/guest_view/browser/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698