Advertisement
Guest User

Untitled

a guest
Jan 9th, 2019
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config("config") {
  2.     defines = [
  3.         "PCRE2_CODE_UNIT_WIDTH=8",
  4.         "PCRE2_STATIC"
  5.     ]
  6. }
  7.  
  8. static_library("pcre") {
  9.     sources = [        
  10.         "pcre2.h",
  11.         "pcre2_auto_possess.c",
  12.         "pcre2_chartables.c",
  13.         "pcre2_compile.c",
  14.         "pcre2_config.c",
  15.         "pcre2_context.c",
  16.         "pcre2_dfa_match.c",
  17.         "pcre2_error.c",
  18.         "pcre2_internal.h",
  19.         "pcre2_intmodedep.h",
  20.         "pcre2_maketables.c",
  21.         "pcre2_match.c",
  22.         "pcre2_match_data.c",
  23.         "pcre2_newline.c",
  24.         "pcre2_ord2utf.c",
  25.         "pcre2_pattern_info.c",
  26.         "pcre2_serialize.c",
  27.         "pcre2_string_utils.c",
  28.         "pcre2_study.c",
  29.         "pcre2_substitute.c",
  30.         "pcre2_substring.c",
  31.         "pcre2_tables.c",
  32.         "pcre2_ucd.c",
  33.         "pcre2_ucp.h",
  34.         "pcre2_valid_utf.c",
  35.         "pcre2_xclass.c",
  36.     ]
  37.  
  38.     public_configs = [":config"]
  39.     configs -= ["//build/config:default-warnings"]
  40.     configs += ["//build/config:contrib-warnings"]
  41.  
  42.     defines = [
  43.         "LINK_SIZE=2",
  44.         "MATCH_LIMIT=10000000",
  45.         "NEWLINE_DEFAULT=2",
  46.         "MATCH_LIMIT_RECURSION=MATCH_LIMIT",
  47.         "PARENS_NEST_LIMIT=250",
  48.         "MAX_NAME_SIZE=32",
  49.         "MAX_NAME_COUNT=10000",
  50.         "SUPPORT_UNICODE",
  51.     ]
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement