| 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 10 matching lines...) Expand all Loading... |
| 21 locale = invoker.locale | 21 locale = invoker.locale |
| 22 | 22 |
| 23 repack(target_name) { | 23 repack(target_name) { |
| 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}/chrome/settings_strings_${locale}.pak", |
| 31 "${root_gen_dir}/components/strings/components_strings_${locale}.pak", | 32 "${root_gen_dir}/components/strings/components_strings_${locale}.pak", |
| 32 ] | 33 ] |
| 33 deps = [ | 34 deps = [ |
| 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 "//chrome/app/resources:platform_locale_settings", |
| 38 "//chrome/app:settings_strings", |
| 37 "//components/strings:components_strings", | 39 "//components/strings:components_strings", |
| 38 ] | 40 ] |
| 39 | 41 |
| 40 if (use_ash) { | 42 if (use_ash) { |
| 41 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] | 43 sources += [ "${root_gen_dir}/ash/strings/ash_strings_${locale}.pak" ] |
| 42 deps += [ "//ash/strings" ] | 44 deps += [ "//ash/strings" ] |
| 43 } | 45 } |
| 44 if (is_chromeos) { | 46 if (is_chromeos) { |
| 45 sources += [ | 47 sources += [ |
| 46 "${root_gen_dir}/remoting/resources/${locale}.pak", | 48 "${root_gen_dir}/remoting/resources/${locale}.pak", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 162 |
| 161 current_index = current_index + 1 | 163 current_index = current_index + 1 |
| 162 } | 164 } |
| 163 | 165 |
| 164 # The group that external targets depend on which collects all deps. | 166 # The group that external targets depend on which collects all deps. |
| 165 group(group_target_name) { | 167 group(group_target_name) { |
| 166 forward_variables_from(invoker, [ "visibility" ]) | 168 forward_variables_from(invoker, [ "visibility" ]) |
| 167 public_deps = locale_targets | 169 public_deps = locale_targets |
| 168 } | 170 } |
| 169 } | 171 } |
| OLD | NEW |