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("//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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 defines = [] | 150 defines = [] |
151 | 151 |
152 configs += [ | 152 configs += [ |
153 "//build/config:precompiled_headers", | 153 "//build/config:precompiled_headers", |
154 "//build/config/compiler:wexit_time_destructors", | 154 "//build/config/compiler:wexit_time_destructors", |
155 ] | 155 ] |
156 | 156 |
157 public_deps = [ | 157 public_deps = [ |
158 ":features", | 158 ":features", |
159 ":mojo_bindings", | 159 ":mojo_bindings", |
160 ":mojo_bindings_no_new_wrapper_types", | |
160 "//base:base", | 161 "//base:base", |
161 "//base:base_static", | 162 "//base:base_static", |
162 "//base:i18n", | 163 "//base:i18n", |
163 "//chrome:resources", | 164 "//chrome:resources", |
164 "//chrome:strings", | 165 "//chrome:strings", |
165 "//chrome/app/theme:theme_resources", | 166 "//chrome/app/theme:theme_resources", |
166 "//chrome/common:constants", | 167 "//chrome/common:constants", |
167 "//chrome/common/net", | 168 "//chrome/common/net", |
168 "//chrome/common/safe_browsing:proto", | 169 "//chrome/common/safe_browsing:proto", |
169 "//chrome/common/variations:fieldtrial_testing_config", | 170 "//chrome/common/variations:fieldtrial_testing_config", |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
652 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 653 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
653 | 654 |
654 deps = [ | 655 deps = [ |
655 ":constants", | 656 ":constants", |
656 "//base", | 657 "//base", |
657 ] | 658 ] |
658 } | 659 } |
659 | 660 |
660 mojom("mojo_bindings") { | 661 mojom("mojo_bindings") { |
661 sources = [ | 662 sources = [ |
663 "rappor_recorder.mojom", | |
664 ] | |
665 | |
666 public_deps = [ | |
667 "//url/mojo:url_mojom_gurl", | |
668 ] | |
669 } | |
670 | |
671 mojom("mojo_bindings_no_new_wrapper_types") { | |
sky
2016/10/06 17:28:44
Why are you separating out the the mojo_bindings t
nigeltao1
2016/10/07 03:30:52
Because updating the existing interfaces for use_n
| |
672 sources = [ | |
662 "image_decoder.mojom", | 673 "image_decoder.mojom", |
663 "network_diagnostics.mojom", | 674 "network_diagnostics.mojom", |
664 "resource_usage_reporter.mojom", | 675 "resource_usage_reporter.mojom", |
665 "shell_handler_win.mojom", | 676 "shell_handler_win.mojom", |
666 ] | 677 ] |
667 | 678 |
668 public_deps = [ | 679 public_deps = [ |
669 "//skia/public/interfaces", | 680 "//skia/public/interfaces", |
670 "//url/mojo:url_mojom_gurl", | 681 "//url/mojo:url_mojom_gurl", |
671 ] | 682 ] |
672 | 683 |
673 use_new_wrapper_types = false | 684 use_new_wrapper_types = false |
674 } | 685 } |
OLD | NEW |