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/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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 if (enable_plugins) { | 450 if (enable_plugins) { |
451 public_deps += [ "//ppapi/host" ] | 451 public_deps += [ "//ppapi/host" ] |
452 } | 452 } |
453 | 453 |
454 if (enable_basic_printing || enable_print_preview) { | 454 if (enable_basic_printing || enable_print_preview) { |
455 public_deps += [ "//printing" ] | 455 public_deps += [ "//printing" ] |
456 if (enable_print_preview) { | 456 if (enable_print_preview) { |
457 public_deps += [ "//chrome/service" ] | 457 public_deps += [ "//chrome/service" ] |
458 } | 458 } |
459 } | 459 } |
| 460 |
| 461 if (!is_component_build) { |
| 462 assert_no_deps = [ |
| 463 # Blink and V8 should not be used in the browser process. In component |
| 464 # build this is OK because all of content is linked into one library. |
| 465 # Note that the blink_headers target is OK, so we can't do a wildcard for |
| 466 # all blink targets. |
| 467 # TODO(brettw) bug 582206: Blink should not be linked into the browser |
| 468 # process, and then we can enable this. |
| 469 #"//third_party/WebKit/public:blink", |
| 470 # TODO(brettw) bug 581766: V8 should not be linked into the browser |
| 471 # process, and then we can enable this. |
| 472 #"//v8/*", |
| 473 ] |
| 474 } |
460 } | 475 } |
461 | 476 |
462 # GYP version: chromium_child_dependencies variable in chrome.gyp | 477 # GYP version: chromium_child_dependencies variable in chrome.gyp |
463 group("child_dependencies") { | 478 group("child_dependencies") { |
464 public_deps = [ | 479 public_deps = [ |
465 "//chrome/common", | 480 "//chrome/common", |
466 "//sync", | 481 "//sync", |
467 ] | 482 ] |
468 if (!is_ios) { | 483 if (!is_ios) { |
469 public_deps += [ | 484 public_deps += [ |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1078 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1064 "//chrome/tools/build/linux/chrome-wrapper", | 1079 "//chrome/tools/build/linux/chrome-wrapper", |
1065 "//third_party/xdg-utils/scripts/xdg-mime", | 1080 "//third_party/xdg-utils/scripts/xdg-mime", |
1066 "//third_party/xdg-utils/scripts/xdg-settings", | 1081 "//third_party/xdg-utils/scripts/xdg-settings", |
1067 ] | 1082 ] |
1068 outputs = [ | 1083 outputs = [ |
1069 "$root_out_dir/{{source_file_part}}", | 1084 "$root_out_dir/{{source_file_part}}", |
1070 ] | 1085 ] |
1071 } | 1086 } |
1072 } | 1087 } |
OLD | NEW |