Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: third_party/re2/BUILD.gn

Issue 1553403002: re2: Drop dynamic_annotations dependency and remove compiler warning flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/re2/re2.gyp » ('j') | third_party/re2/re2.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("re2_config") { 5 config("re2_config") {
6 include_dirs = [ "src" ] 6 include_dirs = [ "src" ]
7 } 7 }
8 8
9 static_library("re2") { 9 static_library("re2") {
10 sources = [ 10 sources = [
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "src/util/utf.h", 54 "src/util/utf.h",
55 "src/util/util.h", 55 "src/util/util.h",
56 "src/util/valgrind.cc", 56 "src/util/valgrind.cc",
57 "src/util/valgrind.h", 57 "src/util/valgrind.h",
58 ] 58 ]
59 59
60 configs -= [ "//build/config/compiler:chromium_code" ] 60 configs -= [ "//build/config/compiler:chromium_code" ]
61 configs += [ "//build/config/compiler:no_chromium_code" ] 61 configs += [ "//build/config/compiler:no_chromium_code" ]
62 public_configs = [ ":re2_config" ] 62 public_configs = [ ":re2_config" ]
63 63
64 deps = [
65 "//base/third_party/dynamic_annotations",
66 ]
67
68 if (is_win) {
69 cflags = [
70 "/wd4018", # Signed/unsigned mismatch in comparison.
71 "/wd4722", # Destructor never terminates.
72 ]
73 }
74
75 # TODO(battre) If Dr. Memory is ever migrated to GN, a flag needs to be 64 # TODO(battre) If Dr. Memory is ever migrated to GN, a flag needs to be
76 # added for this that adds a MEMORY_SANITIZER define. See re2.gyp. 65 # added for this that adds a MEMORY_SANITIZER define. See re2.gyp.
77 # if (is_drmemory) { 66 # if (is_drmemory) {
78 # defines += [ "MEMORY_SANITIZER" ] 67 # defines += [ "MEMORY_SANITIZER" ]
79 # } 68 # }
80 } 69 }
OLDNEW
« no previous file with comments | « no previous file | third_party/re2/re2.gyp » ('j') | third_party/re2/re2.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698