| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
| 7 import("//chrome/common/features.gni") | 7 import("//chrome/common/features.gni") |
| 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
| 9 import("//extensions/features/features.gni") | 9 import("//extensions/features/features.gni") |
| 10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 "safe_browsing/protobuf_message_log_macros.h", | 510 "safe_browsing/protobuf_message_log_macros.h", |
| 511 "safe_browsing/protobuf_message_param_traits.h", | 511 "safe_browsing/protobuf_message_param_traits.h", |
| 512 "safe_browsing/protobuf_message_read_macros.h", | 512 "safe_browsing/protobuf_message_read_macros.h", |
| 513 "safe_browsing/protobuf_message_size_macros.h", | 513 "safe_browsing/protobuf_message_size_macros.h", |
| 514 "safe_browsing/protobuf_message_write_macros.h", | 514 "safe_browsing/protobuf_message_write_macros.h", |
| 515 "safe_browsing/zip_analyzer.cc", | 515 "safe_browsing/zip_analyzer.cc", |
| 516 "safe_browsing/zip_analyzer.h", | 516 "safe_browsing/zip_analyzer.h", |
| 517 "safe_browsing/zip_analyzer_results.cc", | 517 "safe_browsing/zip_analyzer_results.cc", |
| 518 "safe_browsing/zip_analyzer_results.h", | 518 "safe_browsing/zip_analyzer_results.h", |
| 519 ] | 519 ] |
| 520 |
| 521 # safe_archive_analyzer.mojom has a [Native] trait that depends on |
| 522 # the protobuf headers in the sources list above. |
| 523 allow_circular_includes_from = [ ":mojo_bindings" ] |
| 520 } | 524 } |
| 521 } | 525 } |
| 522 | 526 |
| 523 if (is_linux) { | 527 if (is_linux) { |
| 524 deps = [ | 528 deps = [ |
| 525 "//sandbox/linux:sandbox_services", | 529 "//sandbox/linux:sandbox_services", |
| 526 ] | 530 ] |
| 527 } | 531 } |
| 528 | 532 |
| 529 if (enable_pepper_cdms) { | 533 if (enable_pepper_cdms) { |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 "prerender.mojom", | 698 "prerender.mojom", |
| 695 "renderer_configuration.mojom", | 699 "renderer_configuration.mojom", |
| 696 "resource_usage_reporter.mojom", | 700 "resource_usage_reporter.mojom", |
| 697 "shell_handler_win.mojom", | 701 "shell_handler_win.mojom", |
| 698 ] | 702 ] |
| 699 | 703 |
| 700 if (is_chromeos) { | 704 if (is_chromeos) { |
| 701 sources += [ "zip_file_creator.mojom" ] | 705 sources += [ "zip_file_creator.mojom" ] |
| 702 } | 706 } |
| 703 | 707 |
| 708 if (safe_browsing_mode == 1) { |
| 709 sources += [ "safe_archive_analyzer.mojom" ] |
| 710 } |
| 711 |
| 704 public_deps = [ | 712 public_deps = [ |
| 705 "//components/content_settings/core/common:mojo_bindings", | 713 "//components/content_settings/core/common:mojo_bindings", |
| 706 "//mojo/common:common_custom_types", | 714 "//mojo/common:common_custom_types", |
| 707 "//url/mojo:url_mojom_gurl", | 715 "//url/mojo:url_mojom_gurl", |
| 708 ] | 716 ] |
| 709 } | 717 } |
| 710 | 718 |
| 711 mojom("instant_mojom") { | 719 mojom("instant_mojom") { |
| 712 sources = [ | 720 sources = [ |
| 713 "instant.mojom", | 721 "instant.mojom", |
| 714 ] | 722 ] |
| 715 | 723 |
| 716 public_deps = [ | 724 public_deps = [ |
| 717 "//mojo/common:common_custom_types", | 725 "//mojo/common:common_custom_types", |
| 718 "//url/mojo:url_mojom_gurl", | 726 "//url/mojo:url_mojom_gurl", |
| 719 ] | 727 ] |
| 720 } | 728 } |
| OLD | NEW |