BUILD.gn 694 B

123456789101112131415161718192021
  1. # Copyright 2018 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("//build/config/locales.gni")
  5. import("//tools/grit/grit_rule.gni")
  6. import("//tools/grit/repack.gni")
  7. grit("strings") {
  8. source = "../chromeos_strings.grd"
  9. outputs =
  10. [ "grit/chromeos_strings.h" ] +
  11. process_file_template(all_chrome_locales,
  12. [ "chromeos_strings_{{source_name_part}}.pak" ])
  13. }
  14. repack("chromeos_test_strings") {
  15. sources = [ "$root_gen_dir/chromeos/strings/chromeos_strings_en-US.pak" ]
  16. output = "$root_out_dir/chromeos_test_strings.pak"
  17. deps = [ ":strings" ]
  18. }