BUILD.gn 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Copyright 2020 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/zip.gni")
  5. zip("hyphenation-patterns") {
  6. inputs = [
  7. "hyb/hyph-as.hyb",
  8. "hyb/hyph-be.hyb",
  9. "hyb/hyph-bg.hyb",
  10. "hyb/hyph-bn.hyb",
  11. "hyb/hyph-cu.hyb",
  12. "hyb/hyph-cy.hyb",
  13. "hyb/hyph-da.hyb",
  14. "hyb/hyph-de-1901.hyb",
  15. "hyb/hyph-de-1996.hyb",
  16. "hyb/hyph-de-ch-1901.hyb",
  17. "hyb/hyph-en-gb.hyb",
  18. "hyb/hyph-en-us.hyb",
  19. "hyb/hyph-es.hyb",
  20. "hyb/hyph-et.hyb",
  21. "hyb/hyph-eu.hyb",
  22. "hyb/hyph-fr.hyb",
  23. "hyb/hyph-ga.hyb",
  24. "hyb/hyph-gu.hyb",
  25. "hyb/hyph-hi.hyb",
  26. "hyb/hyph-hr.hyb",
  27. "hyb/hyph-hu.hyb",
  28. "hyb/hyph-hy.hyb",
  29. "hyb/hyph-kn.hyb",
  30. "hyb/hyph-la.hyb",
  31. "hyb/hyph-ml.hyb",
  32. "hyb/hyph-mn-cyrl.hyb",
  33. "hyb/hyph-mr.hyb",
  34. "hyb/hyph-nb.hyb",
  35. "hyb/hyph-nn.hyb",
  36. "hyb/hyph-or.hyb",
  37. "hyb/hyph-pa.hyb",
  38. "hyb/hyph-pt.hyb",
  39. "hyb/hyph-sl.hyb",
  40. "hyb/hyph-ta.hyb",
  41. "hyb/hyph-te.hyb",
  42. "hyb/hyph-tk.hyb",
  43. "hyb/hyph-und-ethi.hyb",
  44. ]
  45. output = "$root_build_dir/hyphens-data.zip"
  46. base_dir = "hyb"
  47. }
  48. copy("test_data") {
  49. testonly = true
  50. sources = [
  51. # Dictionaries used in unit tests and web_tests.
  52. "hyb/hyph-de-1996.hyb",
  53. "hyb/hyph-en-gb.hyb",
  54. "hyb/hyph-en-us.hyb",
  55. ]
  56. outputs = [ "$root_gen_dir/hyphen-data/{{source_file_part}}" ]
  57. }