| 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/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/locales.gni") | 7 import("//build/config/locales.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
| 10 import("//chrome/chrome_repack_locales.gni") | 10 import("//chrome/chrome_repack_locales.gni") |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 # }], | 328 # }], |
| 329 } | 329 } |
| 330 if (enable_plugins) { | 330 if (enable_plugins) { |
| 331 deps += [ "//pdf" ] | 331 deps += [ "//pdf" ] |
| 332 } | 332 } |
| 333 } | 333 } |
| 334 } | 334 } |
| 335 | 335 |
| 336 # GYP version: chromium_browser_dependencies variable in chrome.gyp | 336 # GYP version: chromium_browser_dependencies variable in chrome.gyp |
| 337 group("browser_dependencies") { | 337 group("browser_dependencies") { |
| 338 deps = [ | 338 public_deps = [ |
| 339 "//chrome/browser", | 339 "//chrome/browser", |
| 340 "//chrome/common", | 340 "//chrome/common", |
| 341 "//sync", | 341 "//sync", |
| 342 ] | 342 ] |
| 343 if (!is_ios) { | 343 if (!is_ios) { |
| 344 deps += [ "//ppapi/host" ] | 344 public_deps += [ "//ppapi/host" ] |
| 345 } | 345 } |
| 346 | 346 |
| 347 if (enable_basic_printing || enable_print_preview) { | 347 if (enable_basic_printing || enable_print_preview) { |
| 348 deps += [ "//printing" ] | 348 public_deps += [ "//printing" ] |
| 349 if (enable_print_preview) { | 349 if (enable_print_preview) { |
| 350 deps += [ "//chrome/service" ] | 350 public_deps += [ "//chrome/service" ] |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 } | 353 } |
| 354 | 354 |
| 355 # GYP version: chromium_child_dependencies variable in chrome.gyp | 355 # GYP version: chromium_child_dependencies variable in chrome.gyp |
| 356 group("child_dependencies") { | 356 group("child_dependencies") { |
| 357 deps = [ | 357 public_deps = [ |
| 358 "//chrome/common", | 358 "//chrome/common", |
| 359 "//sync", | 359 "//sync", |
| 360 ] | 360 ] |
| 361 if (!is_ios) { | 361 if (!is_ios) { |
| 362 deps += [ | 362 public_deps += [ |
| 363 "//chrome/browser/devtools", | 363 "//chrome/browser/devtools", |
| 364 "//chrome/child", | 364 "//chrome/child", |
| 365 "//chrome/plugin", | 365 "//chrome/plugin", |
| 366 "//chrome/renderer", | 366 "//chrome/renderer", |
| 367 "//chrome/utility", | 367 "//chrome/utility", |
| 368 "//content/public/child", | 368 "//content/public/child", |
| 369 "//third_party/WebKit/public:blink_devtools_frontend_resources", | 369 "//third_party/WebKit/public:blink_devtools_frontend_resources", |
| 370 ] | 370 ] |
| 371 } | 371 } |
| 372 if (cld_version == 2) { | 372 if (cld_version == 2) { |
| 373 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 373 public_deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
| 374 } | 374 } |
| 375 | 375 |
| 376 if (enable_nacl) { | 376 if (enable_nacl) { |
| 377 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] | 377 public_deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] |
| 378 } | 378 } |
| 379 } | 379 } |
| 380 | 380 |
| 381 if (is_win) { | 381 if (is_win) { |
| 382 # TODO(brettw) this duplicates "//chrome/common:version" which applies to | 382 # TODO(brettw) this duplicates "//chrome/common:version" which applies to |
| 383 # Linux. | 383 # Linux. |
| 384 process_version("version_header") { | 384 process_version("version_header") { |
| 385 # TODO(brettW) this should have more reduced visibility, but chrome/browser | 385 # TODO(brettW) this should have more reduced visibility, but chrome/browser |
| 386 # currently depends on this. | 386 # currently depends on this. |
| 387 #visibility = [ ":*" ] | 387 #visibility = [ ":*" ] |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 "app/image_pre_reader_win.h", | 442 "app/image_pre_reader_win.h", |
| 443 ] | 443 ] |
| 444 deps = [ | 444 deps = [ |
| 445 "//base", | 445 "//base", |
| 446 ] | 446 ] |
| 447 } | 447 } |
| 448 } | 448 } |
| 449 | 449 |
| 450 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 450 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
| 451 group("resources") { | 451 group("resources") { |
| 452 deps = [ | 452 public_deps = [ |
| 453 # Note: GYP lists some dependencies in addition to these actions. However, | 453 # Note: GYP lists some dependencies in addition to these actions. However, |
| 454 # these are just dependencies for the actions themselves, which our actions | 454 # these are just dependencies for the actions themselves, which our actions |
| 455 # list individually when needed. | 455 # list individually when needed. |
| 456 "//chrome/browser:resources", | 456 "//chrome/browser:resources", |
| 457 "//chrome/common:resources", | 457 "//chrome/common:resources", |
| 458 "//chrome/renderer:resources", | 458 "//chrome/renderer:resources", |
| 459 ] | 459 ] |
| 460 | 460 |
| 461 if (enable_extensions) { | 461 if (enable_extensions) { |
| 462 deps += [ "//chrome/common:extensions_api_resources" ] | 462 public_deps += [ "//chrome/common:extensions_api_resources" ] |
| 463 } | 463 } |
| 464 } | 464 } |
| 465 | 465 |
| 466 # GYP version: chrome/chrome_resources.gyp:chrome_extra_resources | 466 # GYP version: chrome/chrome_resources.gyp:chrome_extra_resources |
| 467 group("extra_resources") { | 467 group("extra_resources") { |
| 468 deps = [ | 468 public_deps = [ |
| 469 "//chrome/browser/resources:invalidations_resources", | 469 "//chrome/browser/resources:invalidations_resources", |
| 470 "//chrome/browser/resources:memory_internals_resources", | 470 "//chrome/browser/resources:memory_internals_resources", |
| 471 "//chrome/browser/resources:net_internals_resources", | 471 "//chrome/browser/resources:net_internals_resources", |
| 472 "//chrome/browser/resources:password_manager_internals_resources", | 472 "//chrome/browser/resources:password_manager_internals_resources", |
| 473 "//chrome/browser/resources:signin_internals_resources", | 473 "//chrome/browser/resources:signin_internals_resources", |
| 474 "//chrome/browser/resources:translate_internals_resources", | 474 "//chrome/browser/resources:translate_internals_resources", |
| 475 ] | 475 ] |
| 476 if (!is_ios) { | 476 if (!is_ios) { |
| 477 deps += [ | 477 public_deps += [ |
| 478 "//chrome/browser/resources:component_extension_resources", | 478 "//chrome/browser/resources:component_extension_resources", |
| 479 "//chrome/browser/resources:options_resources", | 479 "//chrome/browser/resources:options_resources", |
| 480 "//chrome/browser/resources:settings_resources", | 480 "//chrome/browser/resources:settings_resources", |
| 481 ] | 481 ] |
| 482 } | 482 } |
| 483 | 483 |
| 484 if (is_chromeos) { | 484 if (is_chromeos) { |
| 485 deps += [ "//chrome/browser/resources/chromeos/chromevox" ] | 485 public_deps += [ "//chrome/browser/resources/chromeos/chromevox" ] |
| 486 } | 486 } |
| 487 | 487 |
| 488 if (enable_extensions) { | 488 if (enable_extensions) { |
| 489 deps += [ | 489 public_deps += [ |
| 490 "//chrome/browser/resources:quota_internals_resources", | 490 "//chrome/browser/resources:quota_internals_resources", |
| 491 "//chrome/browser/resources:sync_file_system_internals_resources", | 491 "//chrome/browser/resources:sync_file_system_internals_resources", |
| 492 ] | 492 ] |
| 493 } | 493 } |
| 494 } | 494 } |
| 495 | 495 |
| 496 if (is_chrome_branded) { | 496 if (is_chrome_branded) { |
| 497 copy("default_apps") { | 497 copy("default_apps") { |
| 498 visibility = [ ":packed_resources" ] | 498 visibility = [ ":packed_resources" ] |
| 499 sources = [ | 499 sources = [ |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 968 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 969 "//chrome/tools/build/linux/chrome-wrapper", | 969 "//chrome/tools/build/linux/chrome-wrapper", |
| 970 "//third_party/xdg-utils/scripts/xdg-mime", | 970 "//third_party/xdg-utils/scripts/xdg-mime", |
| 971 "//third_party/xdg-utils/scripts/xdg-settings", | 971 "//third_party/xdg-utils/scripts/xdg-settings", |
| 972 ] | 972 ] |
| 973 outputs = [ | 973 outputs = [ |
| 974 "$root_out_dir/{{source_file_part}}", | 974 "$root_out_dir/{{source_file_part}}", |
| 975 ] | 975 ] |
| 976 } | 976 } |
| 977 } | 977 } |
| OLD | NEW |