| Index: third_party/re2/BUILD.gn
|
| diff --git a/third_party/re2/BUILD.gn b/third_party/re2/BUILD.gn
|
| index ca1f7a201c21bad24d0e081869cb3d01dd3619fb..e95451cb7246c267a36b9e699cc3c242bf29c080 100644
|
| --- a/third_party/re2/BUILD.gn
|
| +++ b/third_party/re2/BUILD.gn
|
| @@ -8,7 +8,6 @@ config("re2_config") {
|
|
|
| static_library("re2") {
|
| sources = [
|
| - "mswin/stdint.h",
|
| "re2/bitstate.cc",
|
| "re2/compile.cc",
|
| "re2/dfa.cc",
|
| @@ -32,6 +31,7 @@ static_library("re2") {
|
| "re2/set.cc",
|
| "re2/set.h",
|
| "re2/simplify.cc",
|
| + "re2/stringpiece.cc",
|
| "re2/stringpiece.h",
|
| "re2/tostring.cc",
|
| "re2/unicode_casefold.cc",
|
| @@ -40,21 +40,21 @@ static_library("re2") {
|
| "re2/unicode_groups.h",
|
| "re2/variadic_function.h",
|
| "re2/walker-inl.h",
|
| - "util/arena.cc",
|
| - "util/arena.h",
|
| "util/atomicops.h",
|
| "util/flags.h",
|
| "util/hash.cc",
|
| + "util/logging.cc",
|
| "util/logging.h",
|
| "util/mutex.h",
|
| "util/rune.cc",
|
| "util/sparse_array.h",
|
| "util/sparse_set.h",
|
| - "util/stringpiece.cc",
|
| "util/stringprintf.cc",
|
| "util/strutil.cc",
|
| "util/utf.h",
|
| "util/util.h",
|
| + "util/valgrind.cc",
|
| + "util/valgrind.h",
|
| ]
|
|
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| @@ -66,12 +66,9 @@ static_library("re2") {
|
| ]
|
|
|
| if (is_win) {
|
| - include_dirs = [ "mswin" ]
|
| cflags = [
|
| "/wd4018", # Signed/unsigned mismatch in comparison.
|
| "/wd4722", # Destructor never terminates.
|
| ]
|
| - } else {
|
| - sources -= [ "mswin/stdint.h" ]
|
| }
|
| }
|
|
|