1 # Copyright 2014 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.
9 static_library("re2") {
15 "re2/filtered_re2.cc",
24 "re2/prefilter_tree.cc",
25 "re2/prefilter_tree.h",
37 "re2/unicode_casefold.cc",
38 "re2/unicode_casefold.h",
39 "re2/unicode_groups.cc",
40 "re2/unicode_groups.h",
41 "re2/variadic_function.h",
51 "util/sparse_array.h",
53 "util/stringpiece.cc",
54 "util/stringprintf.cc",
60 configs -= [ "//build/config/compiler:chromium_code" ]
61 configs += [ "//build/config/compiler:no_chromium_code" ]
62 direct_dependent_configs = [ ":re2_config" ]
65 "//base/third_party/dynamic_annotations",
69 include_dirs = [ "mswin" ]
71 "/wd4267", # Conversion from size_t.
72 "/wd4722", # Destructor never terminates.
75 sources -= [ "mswin/stdint.h" ]