1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//tools/grit/repack.gni")
6 import("webview_repack_locales_list.gni")
8 # Wraps repack_locales(), setting the source_patterns and deps required for
10 template("webview_repack_locales") {
11 repack_locales(target_name) {
12 forward_variables_from(invoker, "*")
17 # Adding webview specific pak file? You should add it to
18 # webview_repack_locales_source_patterns, so it is also included in
22 "${root_gen_dir}/android_webview/components_strings_",
23 "${root_gen_dir}/third_party/blink/public/strings/blink_strings_",
24 "${root_gen_dir}/ui/strings/app_locale_settings_",
27 "//android_webview:generate_components_strings",
28 "//third_party/blink/public/strings",
29 "//ui/strings:app_locale_settings",
31 source_patterns += webview_repack_locales_source_patterns
32 deps += webview_repack_locales_deps
33 output_dir = "$root_out_dir/android_webview/locales"