| 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 13 matching lines...) Expand all Loading... |
| 24 visibility = invoker.visibility | 24 visibility = invoker.visibility |
| 25 | 25 |
| 26 # Each input pak file should also have a deps line for completeness. | 26 # Each input pak file should also have a deps line for completeness. |
| 27 sources = [ | 27 sources = [ |
| 28 "${root_gen_dir}/chrome/generated_resources_${locale}.pak", | 28 "${root_gen_dir}/chrome/generated_resources_${locale}.pak", |
| 29 "${root_gen_dir}/chrome/locale_settings_${locale}.pak", | 29 "${root_gen_dir}/chrome/locale_settings_${locale}.pak", |
| 30 "${root_gen_dir}/chrome/platform_locale_settings_${locale}.pak", | 30 "${root_gen_dir}/chrome/platform_locale_settings_${locale}.pak", |
| 31 "${root_gen_dir}/components/strings/components_strings_${locale}.pak", | 31 "${root_gen_dir}/components/strings/components_strings_${locale}.pak", |
| 32 ] | 32 ] |
| 33 deps = [ | 33 deps = [ |
| 34 "//chrome/app/resources:platform_locale_settings", | |
| 35 "//chrome/app:generated_resources", | 34 "//chrome/app:generated_resources", |
| 36 "//chrome/app/resources:locale_settings", | 35 "//chrome/app/resources:locale_settings", |
| 36 "//chrome/app/resources:platform_locale_settings", |
| 37 "//components/strings:components_strings", | 37 "//components/strings:components_strings", |
| 38 ] | 38 ] |
| 39 | 39 |
| 40 # The settings strings are not being treated as strings because they are |
| 41 # not translated (English only), this should change in late 2015. |
| 42 sources += [ "${root_gen_dir}/chrome/settings_strings.pak" ] |
| 43 deps += [ "//chrome/app:settings_strings" ] |
| 44 |
| 40 if (use_ash) { | 45 if (use_ash) { |
| 41 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] | 46 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] |
| 42 deps += [ "//ash/strings" ] | 47 deps += [ "//ash/strings" ] |
| 43 } | 48 } |
| 44 if (is_chromeos) { | 49 if (is_chromeos) { |
| 45 sources += [ | 50 sources += [ |
| 46 "${root_gen_dir}/remoting/resources/${locale}.pak", | 51 "${root_gen_dir}/remoting/resources/${locale}.pak", |
| 47 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", | 52 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", |
| 48 ] | 53 ] |
| 49 deps += [ | 54 deps += [ |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 165 |
| 161 current_index = current_index + 1 | 166 current_index = current_index + 1 |
| 162 } | 167 } |
| 163 | 168 |
| 164 # The group that external targets depend on which collects all deps. | 169 # The group that external targets depend on which collects all deps. |
| 165 group(group_target_name) { | 170 group(group_target_name) { |
| 166 forward_variables_from(invoker, [ "visibility" ]) | 171 forward_variables_from(invoker, [ "visibility" ]) |
| 167 public_deps = locale_targets | 172 public_deps = locale_targets |
| 168 } | 173 } |
| 169 } | 174 } |
| OLD | NEW |