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

Side by Side Diff: chrome/common/BUILD.gn

Issue 2936773002: Move safe_browsing.mojom into components/safe_browsing. (Closed)
Patch Set: merge Created 3 years, 6 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 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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 ] 697 ]
698 698
699 configs += [ "//build/config/compiler:wexit_time_destructors" ] 699 configs += [ "//build/config/compiler:wexit_time_destructors" ]
700 700
701 deps = [ 701 deps = [
702 ":constants", 702 ":constants",
703 "//base", 703 "//base",
704 ] 704 ]
705 } 705 }
706 706
707 mojom("once_callback_mojo_bindings") {
708 sources = [
709 "safe_browsing.mojom",
710 ]
711
712 public_deps = [
713 "//content/public/common:resource_type_bindings",
714 "//url/mojo:url_mojom_gurl",
715 ]
716 }
717
718 mojom("mojo_bindings") { 707 mojom("mojo_bindings") {
719 sources = [ 708 sources = [
720 "cache_stats_recorder.mojom", 709 "cache_stats_recorder.mojom",
721 "conflicts/module_event_sink_win.mojom", 710 "conflicts/module_event_sink_win.mojom",
722 "file_patcher.mojom", 711 "file_patcher.mojom",
723 "image_context_menu_renderer.mojom", 712 "image_context_menu_renderer.mojom",
724 "insecure_content_renderer.mojom", 713 "insecure_content_renderer.mojom",
725 "net_benchmarking.mojom", 714 "net_benchmarking.mojom",
726 "network_diagnostics.mojom", 715 "network_diagnostics.mojom",
727 "open_search_description_document_handler.mojom", 716 "open_search_description_document_handler.mojom",
728 "prerender.mojom", 717 "prerender.mojom",
729 "renderer_configuration.mojom", 718 "renderer_configuration.mojom",
730 "resource_usage_reporter.mojom", 719 "resource_usage_reporter.mojom",
731 "shell_handler_win.mojom", 720 "shell_handler_win.mojom",
732 "thumbnail_capturer.mojom", 721 "thumbnail_capturer.mojom",
733 ] 722 ]
734 723
735 if (is_chromeos) { 724 if (is_chromeos) {
736 sources += [ "zip_file_creator.mojom" ] 725 sources += [ "zip_file_creator.mojom" ]
737 } 726 }
738 727
739 if (safe_browsing_mode == 1) { 728 if (safe_browsing_mode == 1) {
740 sources += [ "safe_archive_analyzer.mojom" ] 729 sources += [ "safe_archive_analyzer.mojom" ]
741 } 730 }
742 731
743 public_deps = [ 732 public_deps = [
744 ":once_callback_mojo_bindings",
745 "//components/content_settings/core/common:mojo_bindings", 733 "//components/content_settings/core/common:mojo_bindings",
746 "//mojo/common:common_custom_types", 734 "//mojo/common:common_custom_types",
747 "//ui/gfx/geometry/mojo", 735 "//ui/gfx/geometry/mojo",
748 "//url/mojo:url_mojom_gurl", 736 "//url/mojo:url_mojom_gurl",
749 ] 737 ]
750 738
751 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. 739 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
752 use_once_callback = false 740 use_once_callback = false
753 } 741 }
754 742
(...skipping 10 matching lines...) Expand all
765 753
766 mojom("page_load_metrics_mojom") { 754 mojom("page_load_metrics_mojom") {
767 sources = [ 755 sources = [
768 "page_load_metrics/page_load_metrics.mojom", 756 "page_load_metrics/page_load_metrics.mojom",
769 ] 757 ]
770 758
771 public_deps = [ 759 public_deps = [
772 "//mojo/common:common_custom_types", 760 "//mojo/common:common_custom_types",
773 ] 761 ]
774 } 762 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/mojo_safe_browsing_impl.cc ('k') | chrome/common/safe_browsing.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698