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

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

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

Powered by Google App Engine
This is Rietveld 408576698