| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 defines = [] | 158 defines = [] |
| 159 | 159 |
| 160 configs += [ | 160 configs += [ |
| 161 "//build/config:precompiled_headers", | 161 "//build/config:precompiled_headers", |
| 162 "//build/config/compiler:wexit_time_destructors", | 162 "//build/config/compiler:wexit_time_destructors", |
| 163 ] | 163 ] |
| 164 | 164 |
| 165 public_deps = [ | 165 public_deps = [ |
| 166 ":features", | 166 ":features", |
| 167 ":mojo_bindings", | 167 ":mojo_bindings", |
| 168 ":mojo_bindings_no_new_wrapper_types", |
| 168 "//base:base", | 169 "//base:base", |
| 169 "//base:base_static", | 170 "//base:base_static", |
| 170 "//base:i18n", | 171 "//base:i18n", |
| 171 "//chrome:resources", | 172 "//chrome:resources", |
| 172 "//chrome:strings", | 173 "//chrome:strings", |
| 173 "//chrome/app/theme:theme_resources", | 174 "//chrome/app/theme:theme_resources", |
| 174 "//chrome/common:constants", | 175 "//chrome/common:constants", |
| 175 "//chrome/common/net", | 176 "//chrome/common/net", |
| 176 "//chrome/common/safe_browsing:proto", | 177 "//chrome/common/safe_browsing:proto", |
| 177 "//chrome/common/variations:fieldtrial_testing_config", | 178 "//chrome/common/variations:fieldtrial_testing_config", |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 659 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 659 | 660 |
| 660 deps = [ | 661 deps = [ |
| 661 ":constants", | 662 ":constants", |
| 662 "//base", | 663 "//base", |
| 663 ] | 664 ] |
| 664 } | 665 } |
| 665 | 666 |
| 666 mojom("mojo_bindings") { | 667 mojom("mojo_bindings") { |
| 667 sources = [ | 668 sources = [ |
| 669 "field_trial_recorder.mojom", |
| 670 ] |
| 671 } |
| 672 |
| 673 mojom("mojo_bindings_no_new_wrapper_types") { |
| 674 sources = [ |
| 668 "image_decoder.mojom", | 675 "image_decoder.mojom", |
| 669 "network_diagnostics.mojom", | 676 "network_diagnostics.mojom", |
| 670 "resource_usage_reporter.mojom", | 677 "resource_usage_reporter.mojom", |
| 671 "shell_handler_win.mojom", | 678 "shell_handler_win.mojom", |
| 672 ] | 679 ] |
| 673 | 680 |
| 674 public_deps = [ | 681 public_deps = [ |
| 675 "//skia/public/interfaces", | 682 "//skia/public/interfaces", |
| 676 "//url/mojo:url_mojom_gurl", | 683 "//url/mojo:url_mojom_gurl", |
| 677 ] | 684 ] |
| 678 | 685 |
| 686 # TODO(nigeltao): eliminate this and merge |
| 687 # :mojo_bindings_no_new_wrapper_types with :mojo_bindings. |
| 679 use_new_wrapper_types = false | 688 use_new_wrapper_types = false |
| 680 } | 689 } |
| OLD | NEW |