OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/config/locales.gni") | 5 import("//build/config/locales.gni") |
6 import("chrome_repack_locales.gni") | 6 import("chrome_repack_locales.gni") |
7 | 7 |
8 # Generates a rule to repack a set of resources, substituting a given string | 8 # Generates a rule to repack a set of resources, substituting a given string |
9 # in for the percentage (e.g. "100", "200"). It generates the repacked files in | 9 # in for the percentage (e.g. "100", "200"). It generates the repacked files in |
10 # the "gen" directory, and then introduces a copy rule to copy it to the root | 10 # the "gen" directory, and then introduces a copy rule to copy it to the root |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 output = "${invoker.output_dir}/resources.pak" | 150 output = "${invoker.output_dir}/resources.pak" |
151 sources = [ | 151 sources = [ |
152 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 152 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
153 "$root_gen_dir/chrome/browser_resources.pak", | 153 "$root_gen_dir/chrome/browser_resources.pak", |
154 "$root_gen_dir/chrome/chrome_unscaled_resources.pak", | 154 "$root_gen_dir/chrome/chrome_unscaled_resources.pak", |
155 "$root_gen_dir/chrome/common_resources.pak", | 155 "$root_gen_dir/chrome/common_resources.pak", |
156 "$root_gen_dir/chrome/invalidations_resources.pak", | 156 "$root_gen_dir/chrome/invalidations_resources.pak", |
157 "$root_gen_dir/chrome/net_internals_resources.pak", | 157 "$root_gen_dir/chrome/net_internals_resources.pak", |
158 "$root_gen_dir/chrome/password_manager_internals_resources.pak", | 158 "$root_gen_dir/chrome/password_manager_internals_resources.pak", |
159 "$root_gen_dir/chrome/policy_resources.pak", | 159 "$root_gen_dir/chrome/policy_resources.pak", |
| 160 "$root_gen_dir/chrome/task_scheduler_internals_resources.pak", |
160 "$root_gen_dir/chrome/translate_internals_resources.pak", | 161 "$root_gen_dir/chrome/translate_internals_resources.pak", |
161 "$root_gen_dir/components/components_resources.pak", | 162 "$root_gen_dir/components/components_resources.pak", |
162 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", | 163 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
163 "$root_gen_dir/content/content_resources.pak", | 164 "$root_gen_dir/content/content_resources.pak", |
164 "$root_gen_dir/net/net_resources.pak", | 165 "$root_gen_dir/net/net_resources.pak", |
165 "$root_gen_dir/ui/resources/webui_resources.pak", | 166 "$root_gen_dir/ui/resources/webui_resources.pak", |
166 ] | 167 ] |
167 deps = [ | 168 deps = [ |
168 "//chrome/app/theme:chrome_unscaled_resources", | 169 "//chrome/app/theme:chrome_unscaled_resources", |
169 "//chrome/browser:resources", | 170 "//chrome/browser:resources", |
170 "//chrome/browser/resources:invalidations_resources", | 171 "//chrome/browser/resources:invalidations_resources", |
171 "//chrome/browser/resources:net_internals_resources", | 172 "//chrome/browser/resources:net_internals_resources", |
172 "//chrome/browser/resources:password_manager_internals_resources", | 173 "//chrome/browser/resources:password_manager_internals_resources", |
173 "//chrome/browser/resources:policy_resources", | 174 "//chrome/browser/resources:policy_resources", |
| 175 "//chrome/browser/resources:task_scheduler_internals_resources", |
174 "//chrome/browser/resources:translate_internals_resources", | 176 "//chrome/browser/resources:translate_internals_resources", |
175 "//chrome/common:resources", | 177 "//chrome/common:resources", |
176 "//components/resources", | 178 "//components/resources", |
177 "//content:resources", | 179 "//content:resources", |
178 "//content/browser/tracing:resources", | 180 "//content/browser/tracing:resources", |
179 "//net:net_resources", | 181 "//net:net_resources", |
180 "//third_party/WebKit/public:resources", | 182 "//third_party/WebKit/public:resources", |
181 "//ui/resources", | 183 "//ui/resources", |
182 ] | 184 ] |
183 if (defined(invoker.deps)) { | 185 if (defined(invoker.deps)) { |
(...skipping 28 matching lines...) Expand all Loading... |
212 } | 214 } |
213 if (enable_extensions) { | 215 if (enable_extensions) { |
214 sources += [ | 216 sources += [ |
215 "$root_gen_dir/extensions/extensions_renderer_resources.pak", | 217 "$root_gen_dir/extensions/extensions_renderer_resources.pak", |
216 "$root_gen_dir/extensions/extensions_resources.pak", | 218 "$root_gen_dir/extensions/extensions_resources.pak", |
217 ] | 219 ] |
218 deps += [ "//extensions:extensions_resources" ] | 220 deps += [ "//extensions:extensions_resources" ] |
219 } | 221 } |
220 } | 222 } |
221 } | 223 } |
OLD | NEW |