1# Copyright 2023 The Pigweed Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); you may not 4# use this file except in compliance with the License. You may obtain a copy of 5# the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12# License for the specific language governing permissions and limitations under 13# the License. 14 15# DO NOT MANUALLY EDIT! 16# This file was automatically generated by pw_build/gn_writer.py 17 18import("//build_overrides/pigweed.gni") 19 20import("$dir_pw_build/target_types.gni") 21import("$dir_pw_docgen/docs.gni") 22import("$dir_pw_third_party/re2/re2.gni") 23 24if (dir_pw_third_party_re2 != "") { 25 config("re2_public_config1") { 26 include_dirs = [ "$dir_pw_third_party_re2" ] 27 } 28 29 # Generated from //:re2 30 pw_source_set("re2") { 31 public = [ 32 "$dir_pw_third_party_re2/re2/filtered_re2.h", 33 "$dir_pw_third_party_re2/re2/re2.h", 34 "$dir_pw_third_party_re2/re2/set.h", 35 "$dir_pw_third_party_re2/re2/stringpiece.h", 36 ] 37 sources = [ 38 "$dir_pw_third_party_re2/re2/bitmap256.cc", 39 "$dir_pw_third_party_re2/re2/bitmap256.h", 40 "$dir_pw_third_party_re2/re2/bitstate.cc", 41 "$dir_pw_third_party_re2/re2/compile.cc", 42 "$dir_pw_third_party_re2/re2/dfa.cc", 43 "$dir_pw_third_party_re2/re2/filtered_re2.cc", 44 "$dir_pw_third_party_re2/re2/mimics_pcre.cc", 45 "$dir_pw_third_party_re2/re2/nfa.cc", 46 "$dir_pw_third_party_re2/re2/onepass.cc", 47 "$dir_pw_third_party_re2/re2/parse.cc", 48 "$dir_pw_third_party_re2/re2/perl_groups.cc", 49 "$dir_pw_third_party_re2/re2/pod_array.h", 50 "$dir_pw_third_party_re2/re2/prefilter.cc", 51 "$dir_pw_third_party_re2/re2/prefilter.h", 52 "$dir_pw_third_party_re2/re2/prefilter_tree.cc", 53 "$dir_pw_third_party_re2/re2/prefilter_tree.h", 54 "$dir_pw_third_party_re2/re2/prog.cc", 55 "$dir_pw_third_party_re2/re2/prog.h", 56 "$dir_pw_third_party_re2/re2/re2.cc", 57 "$dir_pw_third_party_re2/re2/regexp.cc", 58 "$dir_pw_third_party_re2/re2/regexp.h", 59 "$dir_pw_third_party_re2/re2/set.cc", 60 "$dir_pw_third_party_re2/re2/simplify.cc", 61 "$dir_pw_third_party_re2/re2/sparse_array.h", 62 "$dir_pw_third_party_re2/re2/sparse_set.h", 63 "$dir_pw_third_party_re2/re2/stringpiece.cc", 64 "$dir_pw_third_party_re2/re2/tostring.cc", 65 "$dir_pw_third_party_re2/re2/unicode_casefold.cc", 66 "$dir_pw_third_party_re2/re2/unicode_casefold.h", 67 "$dir_pw_third_party_re2/re2/unicode_groups.cc", 68 "$dir_pw_third_party_re2/re2/unicode_groups.h", 69 "$dir_pw_third_party_re2/re2/walker-inl.h", 70 "$dir_pw_third_party_re2/util/logging.h", 71 "$dir_pw_third_party_re2/util/mix.h", 72 "$dir_pw_third_party_re2/util/mutex.h", 73 "$dir_pw_third_party_re2/util/rune.cc", 74 "$dir_pw_third_party_re2/util/strutil.cc", 75 "$dir_pw_third_party_re2/util/strutil.h", 76 "$dir_pw_third_party_re2/util/utf.h", 77 "$dir_pw_third_party_re2/util/util.h", 78 ] 79 cflags = [ "-pthread" ] 80 ldflags = [ "-pthread" ] 81 public_configs = [ ":re2_public_config1" ] 82 configs = [ "configs:internal_disabled_warnings" ] 83 remove_configs = [ "$dir_pw_fuzzer:instrumentation" ] 84 } 85} 86 87pw_doc_group("docs") { 88 sources = [ "docs.rst" ] 89} 90