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

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

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Add //components/safe_browsing:csd_proto to typemap deps. Created 3 years, 9 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 "prerender.mojom", 699 "prerender.mojom",
696 "renderer_configuration.mojom", 700 "renderer_configuration.mojom",
697 "resource_usage_reporter.mojom", 701 "resource_usage_reporter.mojom",
698 "shell_handler_win.mojom", 702 "shell_handler_win.mojom",
699 ] 703 ]
700 704
701 if (is_chromeos) { 705 if (is_chromeos) {
702 sources += [ "zip_file_creator.mojom" ] 706 sources += [ "zip_file_creator.mojom" ]
703 } 707 }
704 708
709 if (safe_browsing_mode == 1) {
710 sources += [ "safe_archive_analyzer.mojom" ]
711 }
712
705 public_deps = [ 713 public_deps = [
706 "//components/content_settings/core/common:mojo_bindings", 714 "//components/content_settings/core/common:mojo_bindings",
707 "//mojo/common:common_custom_types", 715 "//mojo/common:common_custom_types",
708 "//url/mojo:url_mojom_gurl", 716 "//url/mojo:url_mojom_gurl",
709 ] 717 ]
710 } 718 }
711 719
712 mojom("instant_mojom") { 720 mojom("instant_mojom") {
713 sources = [ 721 sources = [
714 "instant.mojom", 722 "instant.mojom",
715 ] 723 ]
716 724
717 public_deps = [ 725 public_deps = [
718 "//mojo/common:common_custom_types", 726 "//mojo/common:common_custom_types",
719 "//url/mojo:url_mojom_gurl", 727 "//url/mojo:url_mojom_gurl",
720 ] 728 ]
721 } 729 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698