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 23 matching lines...) Expand all Loading... |
34 "//chrome/app/resources:platform_locale_settings", | 34 "//chrome/app/resources:platform_locale_settings", |
35 "//chrome/app:generated_resources", | 35 "//chrome/app:generated_resources", |
36 "//chrome/app/resources:locale_settings", | 36 "//chrome/app/resources:locale_settings", |
37 "//components/strings", | 37 "//components/strings", |
38 ] | 38 ] |
39 | 39 |
40 if (use_ash) { | 40 if (use_ash) { |
41 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] | 41 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] |
42 deps += [ "//ash/strings" ] | 42 deps += [ "//ash/strings" ] |
43 } | 43 } |
44 if (is_chromeos) { | 44 if (use_cros_fe) { |
45 sources += [ | 45 sources += [ |
46 "${root_gen_dir}/remoting/resources/${locale}.pak", | 46 "${root_gen_dir}/remoting/resources/${locale}.pak", |
47 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", | 47 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", |
48 ] | 48 ] |
49 deps += [ | 49 deps += [ |
50 "//remoting/resources", | 50 "//remoting/resources", |
51 "//ui/chromeos/strings", | 51 "//ui/chromeos/strings", |
52 ] | 52 ] |
53 } | 53 } |
54 if (!is_ios) { | 54 if (!is_ios) { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 current_index = current_index + 1 | 150 current_index = current_index + 1 |
151 } | 151 } |
152 | 152 |
153 # The group that external targets depend on which collects all deps. | 153 # The group that external targets depend on which collects all deps. |
154 group(group_target_name) { | 154 group(group_target_name) { |
155 forward_variables_from(invoker, [ "visibility" ]) | 155 forward_variables_from(invoker, [ "visibility" ]) |
156 deps = locale_targets | 156 deps = locale_targets |
157 } | 157 } |
158 } | 158 } |
OLD | NEW |