Branch
        Hash :
f1ae163b
        
        Author :
  
        
        Date :
2025-07-01T17:02:14
        
      
Update googletest We need https://github.com/google/googletest/commit/fa8438ae6b70c57010177de47a9f13d7041a6328 in order to be able to roll in https://chromium-review.googlesource.com/c/chromium/src/+/6674713 This rolls: https://chromium.googlesource.com/chromium/src/third_party/googletest/+log/17bbed2084d3127bd7bcd27283f18d7a5861bea8..0784ddbe926a700e2216b224109791f7fa19eb2f https://chromium.googlesource.com/external/github.com/google/googletest/+log/2d924d7a971e9667d76ad09727fb2402b4f8a1e3..c67de117379f4d1c889c7581a0a76aa0979c2083 The above also requires adding re2 dependency, since newer googletest depends on it. re2 has 2 parts: build files in https://chromium.googlesource.com/chromium/src/third_party/re2/ and source files in https://chromium.googlesource.com/external/github.com/google/re2/. Unfortunately, git submodules don't allow us to have them nested. So, build files are copied into third_party/re2 from https://chromium.googlesource.com/chromium/src/third_party/re2/+/e9ea896a60f8d72b4943dcc079f0041863985c0e These would require manual updates if build breaks in the future. And then the sources are added as a submodule in third_party/re2/src. These would be autorolled in the future. Bug: angleproject:428697844 Change-Id: Ia695b83669d1822614177fb2aaad44f733b1dfb9 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6695112 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//testing/libfuzzer/fuzzer_test.gni")
config("re2_config") {
  include_dirs = [ "src" ]
}
static_library("re2") {
  sources = [
    "src/re2/bitmap256.cc",
    "src/re2/bitmap256.h",
    "src/re2/bitstate.cc",
    "src/re2/compile.cc",
    "src/re2/dfa.cc",
    "src/re2/filtered_re2.cc",
    "src/re2/filtered_re2.h",
    "src/re2/mimics_pcre.cc",
    "src/re2/nfa.cc",
    "src/re2/onepass.cc",
    "src/re2/parse.cc",
    "src/re2/perl_groups.cc",
    "src/re2/prefilter.cc",
    "src/re2/prefilter.h",
    "src/re2/prefilter_tree.cc",
    "src/re2/prefilter_tree.h",
    "src/re2/prog.cc",
    "src/re2/prog.h",
    "src/re2/re2.cc",
    "src/re2/re2.h",
    "src/re2/regexp.cc",
    "src/re2/regexp.h",
    "src/re2/set.cc",
    "src/re2/set.h",
    "src/re2/simplify.cc",
    "src/re2/sparse_array.h",
    "src/re2/sparse_set.h",
    "src/re2/stringpiece.h",
    "src/re2/tostring.cc",
    "src/re2/unicode_casefold.cc",
    "src/re2/unicode_casefold.h",
    "src/re2/unicode_groups.cc",
    "src/re2/unicode_groups.h",
    "src/re2/walker-inl.h",
    "src/util/rune.cc",
    "src/util/strutil.cc",
    "src/util/strutil.h",
    "src/util/utf.h",
  ]
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
  public_configs = [ ":re2_config" ]
  public_deps = [ "//third_party/abseil-cpp:absl" ]
}
fuzzer_test("third_party_re2_fuzzer") {
  sources = [ "src/re2/fuzzing/re2_fuzzer.cc" ]
  deps = [ ":re2" ]
}