absl_strings.gn 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. import("//build/config/linux/pkg_config.gni")
  2. import("//build/shim_headers.gni")
  3. pkg_config("system_absl_cord") {
  4. packages = [ "absl_cord" ]
  5. }
  6. pkg_config("system_absl_strings") {
  7. packages = [ "absl_strings" ]
  8. }
  9. pkg_config("system_absl_str_format") {
  10. packages = [ "absl_str_format" ]
  11. }
  12. shim_headers("cord_shim") {
  13. root_path = "."
  14. prefix = "absl/strings/"
  15. headers = [ "cord.h" ]
  16. }
  17. source_set("cord") {
  18. deps = [ ":cord_shim" ]
  19. public_configs = [ ":system_absl_cord" ]
  20. }
  21. shim_headers("strings_shim") {
  22. root_path = "."
  23. prefix = "absl/strings/"
  24. headers = [
  25. "ascii.h",
  26. "charconv.h",
  27. "escaping.h",
  28. "match.h",
  29. "numbers.h",
  30. "str_cat.h",
  31. "str_join.h",
  32. "str_replace.h",
  33. "str_split.h",
  34. "string_view.h",
  35. "strip.h",
  36. "substitute.h",
  37. ]
  38. }
  39. source_set("strings") {
  40. deps = [ ":strings_shim" ]
  41. public_configs = [ ":system_absl_strings" ]
  42. }
  43. shim_headers("str_format_shim") {
  44. root_path = "."
  45. prefix = "absl/strings/"
  46. headers = [ "str_format.h" ]
  47. }
  48. source_set("str_format") {
  49. deps = [ ":str_format_shim" ]
  50. public_configs = [ ":system_absl_str_format" ]
  51. }
  52. source_set("ascii_test") {
  53. }
  54. source_set("cord_data_edge_test") {
  55. }
  56. source_set("cord_rep_btree_navigator_test") {
  57. }
  58. source_set("cord_rep_btree_reader_test") {
  59. }
  60. source_set("cord_rep_btree_test") {
  61. }
  62. source_set("cord_rep_crc_test") {
  63. }
  64. source_set("cordz_functions_test") {
  65. }
  66. source_set("cordz_info_statistics_test") {
  67. }
  68. source_set("cordz_info_test") {
  69. }
  70. source_set("cordz_test") {
  71. }
  72. source_set("cordz_update_scope_test") {
  73. }
  74. source_set("cordz_update_tracker_test") {
  75. }
  76. source_set("match_test") {
  77. }
  78. source_set("str_replace_test") {
  79. }
  80. source_set("string_view_test") {
  81. }