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

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

Issue 2086223002: Convert instant search messages to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 2 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("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 "content_restriction.h", 74 "content_restriction.h",
75 "content_settings_pattern_serializer.cc", 75 "content_settings_pattern_serializer.cc",
76 "content_settings_pattern_serializer.h", 76 "content_settings_pattern_serializer.h",
77 "crash_keys.cc", 77 "crash_keys.cc",
78 "crash_keys.h", 78 "crash_keys.h",
79 "custom_handlers/protocol_handler.cc", 79 "custom_handlers/protocol_handler.cc",
80 "custom_handlers/protocol_handler.h", 80 "custom_handlers/protocol_handler.h",
81 "descriptors_android.h", 81 "descriptors_android.h",
82 "ini_parser.cc", 82 "ini_parser.cc",
83 "ini_parser.h", 83 "ini_parser.h",
84 "instant_type_traits.h",
84 "logging_chrome.cc", 85 "logging_chrome.cc",
85 "logging_chrome.h", 86 "logging_chrome.h",
86 "mac/app_shim_launch.h", 87 "mac/app_shim_launch.h",
87 "mac/app_shim_messages.h", 88 "mac/app_shim_messages.h",
88 "mac/cfbundle_blocker.h", 89 "mac/cfbundle_blocker.h",
89 "mac/cfbundle_blocker.mm", 90 "mac/cfbundle_blocker.mm",
90 "mac/launchd.h", 91 "mac/launchd.h",
91 "mac/launchd.mm", 92 "mac/launchd.mm",
92 "media/media_resource_provider.cc", 93 "media/media_resource_provider.cc",
93 "media/media_resource_provider.h", 94 "media/media_resource_provider.h",
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 "//base", 613 "//base",
613 "//chrome/installer/util:with_no_strings", 614 "//chrome/installer/util:with_no_strings",
614 ] 615 ]
615 } 616 }
616 } 617 }
617 618
618 # Use a static library here because many test binaries depend on this but don't 619 # Use a static library here because many test binaries depend on this but don't
619 # require many files from it. This makes linking more efficient. 620 # require many files from it. This makes linking more efficient.
620 static_library("test_support") { 621 static_library("test_support") {
621 testonly = true 622 testonly = true
622 visibility = [ "//chrome/test:test_support" ] 623 visibility = [ "//chrome/test:*" ]
623 624
624 sources = [] 625 sources = [
626 "search/mock_searchbox.cc",
627 "search/mock_searchbox.h",
628 ]
625 629
626 deps = [ 630 deps = [
627 ":common", 631 ":common",
628 "//base", 632 "//base",
633 "//chrome/common:instant_mojom",
634 "//testing/gmock",
629 "//testing/gtest", 635 "//testing/gtest",
630 ] 636 ]
631 637
632 if (is_win || is_mac) { 638 if (is_win || is_mac) {
633 sources += [ 639 sources += [
634 "media_galleries/picasa_test_util.cc", 640 "media_galleries/picasa_test_util.cc",
635 "media_galleries/picasa_test_util.h", 641 "media_galleries/picasa_test_util.h",
636 "media_galleries/pmp_test_util.cc", 642 "media_galleries/pmp_test_util.cc",
637 "media_galleries/pmp_test_util.h", 643 "media_galleries/pmp_test_util.h",
638 ] 644 ]
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 "shell_handler_win.mojom", 679 "shell_handler_win.mojom",
674 ] 680 ]
675 681
676 public_deps = [ 682 public_deps = [
677 "//skia/public/interfaces", 683 "//skia/public/interfaces",
678 "//url/mojo:url_mojom_gurl", 684 "//url/mojo:url_mojom_gurl",
679 ] 685 ]
680 686
681 use_new_wrapper_types = false 687 use_new_wrapper_types = false
682 } 688 }
689
690 mojom("instant_mojom") {
691 sources = [
692 "instant.mojom",
693 ]
694
695 public_deps = [
696 "//mojo/common:common_custom_types",
697 "//url/mojo:url_mojom_gurl",
698 ]
699 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698