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/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 # Arguments: | 10 # Arguments: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "//components/strings:components_strings", | 52 "//components/strings:components_strings", |
53 ] | 53 ] |
54 | 54 |
55 if (defined(invoker.additional_source_patterns)) { | 55 if (defined(invoker.additional_source_patterns)) { |
56 sources += process_file_template(invoker.additional_source_patterns, | 56 sources += process_file_template(invoker.additional_source_patterns, |
57 [ "{{source}}_${locale}.pak" ]) | 57 [ "{{source}}_${locale}.pak" ]) |
58 deps += invoker.additional_deps | 58 deps += invoker.additional_deps |
59 } | 59 } |
60 | 60 |
61 if (use_ash) { | 61 if (use_ash) { |
62 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] | 62 sources += |
63 deps += [ "//ash/strings" ] | 63 [ "${root_gen_dir}/ash/common/strings/ash_strings_${locale}.pak" ] |
| 64 deps += [ "//ash/common/strings" ] |
64 } | 65 } |
65 if (is_chromeos) { | 66 if (is_chromeos) { |
66 sources += [ | 67 sources += [ |
67 "${root_gen_dir}/remoting/resources/${locale}.pak", | 68 "${root_gen_dir}/remoting/resources/${locale}.pak", |
68 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", | 69 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", |
69 ] | 70 ] |
70 deps += [ | 71 deps += [ |
71 "//remoting/resources", | 72 "//remoting/resources", |
72 "//ui/chromeos/strings", | 73 "//ui/chromeos/strings", |
73 ] | 74 ] |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 197 |
197 current_index = current_index + 1 | 198 current_index = current_index + 1 |
198 } | 199 } |
199 | 200 |
200 # The group that external targets depend on which collects all deps. | 201 # The group that external targets depend on which collects all deps. |
201 group(group_target_name) { | 202 group(group_target_name) { |
202 forward_variables_from(invoker, [ "visibility" ]) | 203 forward_variables_from(invoker, [ "visibility" ]) |
203 public_deps = locale_targets | 204 public_deps = locale_targets |
204 } | 205 } |
205 } | 206 } |
OLD | NEW |