extension_repack.gni 837 B

12345678910111213141516171819202122232425
  1. # Copyright 2016 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.
  4. import("//tools/grit/repack.gni")
  5. # Pack all resources for an application extension for all locales.
  6. #
  7. # Arguments (in addition to those from repack_locales):
  8. #
  9. # extension [required]
  10. # name of the application extension.
  11. #
  12. template("extension_repack_all_locales") {
  13. # Wraps repack_locales(), setting the source_patterns and deps required for
  14. # Chrome.
  15. # Generates a collection of bundle_data targets.
  16. repack_locales(target_name) {
  17. forward_variables_from(invoker, "*", [ "extension" ])
  18. source_patterns = [ "$root_gen_dir/ios/${invoker.extension}/ios_${invoker.extension}_strings_" ]
  19. deps = [ "//ios/chrome/${invoker.extension}/strings" ]
  20. }
  21. }