| 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 if (use_vulcanize) { | 97 source = "settings/settings_resources.grd" |
| 98 source = "settings/settings_resources_vulcanized.grd" | |
| 99 deps = [ | |
| 100 "//chrome/browser/resources/settings:vulcanize", | |
| 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 } | |
| 109 | 98 |
| 110 # TODO(thestig): use_qualified_include = true | 99 # TODO(thestig): use_qualified_include = true |
| 111 defines = chrome_grit_defines | 100 defines = chrome_grit_defines |
| 112 outputs = [ | 101 outputs = [ |
| 113 "grit/settings_resources.h", | 102 "grit/settings_resources.h", |
| 114 "grit/settings_resources_map.cc", | 103 "grit/settings_resources_map.cc", |
| 115 "grit/settings_resources_map.h", | 104 "grit/settings_resources_map.h", |
| 116 "settings_resources.pak", | 105 "settings_resources.pak", |
| 117 ] | 106 ] |
| 118 output_dir = "$root_gen_dir/chrome" | 107 output_dir = "$root_gen_dir/chrome" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 source = "webapks_ui_resources.grd" | 155 source = "webapks_ui_resources.grd" |
| 167 use_qualified_include = true | 156 use_qualified_include = true |
| 168 defines = chrome_grit_defines | 157 defines = chrome_grit_defines |
| 169 outputs = [ | 158 outputs = [ |
| 170 "grit/webapks_ui_resources.h", | 159 "grit/webapks_ui_resources.h", |
| 171 "webapks_ui_resources.pak", | 160 "webapks_ui_resources.pak", |
| 172 ] | 161 ] |
| 173 output_dir = "$root_gen_dir/chrome" | 162 output_dir = "$root_gen_dir/chrome" |
| 174 } | 163 } |
| 175 } | 164 } |
| OLD | NEW |