| 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("//chrome/common/features.gni") | 5 import("//chrome/common/features.gni") |
| 6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 | 7 |
| 8 grit("net_internals_resources") { | 8 grit("net_internals_resources") { |
| 9 source = "net_internals_resources.grd" | 9 source = "net_internals_resources.grd" |
| 10 use_qualified_include = true | 10 use_qualified_include = true |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 outputs = [ | 87 outputs = [ |
| 88 "grit/component_extension_resources.h", | 88 "grit/component_extension_resources.h", |
| 89 "grit/component_extension_resources_map.cc", | 89 "grit/component_extension_resources_map.cc", |
| 90 "grit/component_extension_resources_map.h", | 90 "grit/component_extension_resources_map.h", |
| 91 "component_extension_resources.pak", | 91 "component_extension_resources.pak", |
| 92 ] | 92 ] |
| 93 output_dir = "$root_gen_dir/chrome" | 93 output_dir = "$root_gen_dir/chrome" |
| 94 } | 94 } |
| 95 | 95 |
| 96 grit("settings_resources") { | 96 grit("settings_resources") { |
| 97 source = "settings/settings_resources.grd" | 97 if (use_vulcanize) { |
| 98 source = "settings/settings_resources_vulcanized.grd" |
| 99 deps = [ |
| 100 "//chrome/browser/resources/settings:build", |
| 101 ] |
| 102 grit_flags = [ |
| 103 "-E", |
| 104 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
| 105 ] |
| 106 } else { |
| 107 source = "settings/settings_resources.grd" |
| 108 } |
| 98 | 109 |
| 99 # TODO(thestig): use_qualified_include = true | 110 # TODO(thestig): use_qualified_include = true |
| 100 defines = chrome_grit_defines | 111 defines = chrome_grit_defines |
| 101 outputs = [ | 112 outputs = [ |
| 102 "grit/settings_resources.h", | 113 "grit/settings_resources.h", |
| 103 "grit/settings_resources_map.cc", | 114 "grit/settings_resources_map.cc", |
| 104 "grit/settings_resources_map.h", | 115 "grit/settings_resources_map.h", |
| 105 "settings_resources.pak", | 116 "settings_resources.pak", |
| 106 ] | 117 ] |
| 107 output_dir = "$root_gen_dir/chrome" | 118 output_dir = "$root_gen_dir/chrome" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 source = "webapks_ui_resources.grd" | 166 source = "webapks_ui_resources.grd" |
| 156 use_qualified_include = true | 167 use_qualified_include = true |
| 157 defines = chrome_grit_defines | 168 defines = chrome_grit_defines |
| 158 outputs = [ | 169 outputs = [ |
| 159 "grit/webapks_ui_resources.h", | 170 "grit/webapks_ui_resources.h", |
| 160 "webapks_ui_resources.pak", | 171 "webapks_ui_resources.pak", |
| 161 ] | 172 ] |
| 162 output_dir = "$root_gen_dir/chrome" | 173 output_dir = "$root_gen_dir/chrome" |
| 163 } | 174 } |
| 164 } | 175 } |
| OLD | NEW |