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

Side by Side Diff: third_party/re2/re2.gyp

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 | « third_party/re2/BUILD.gn ('k') | no next file » | no next file with comments »
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 { 5 {
6 'variables': { 6 'variables': {
7 'build_for_tool%': '', 7 'build_for_tool%': '',
tfarina 2016/01/05 16:50:21 what is this for? Can we get rid of it?
battre 2016/01/05 16:56:08 This is needed. It declares build_for_tool as a va
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 're2', 11 'target_name': 're2',
12 'type': 'static_library', 12 'type': 'static_library',
13 'include_dirs': [ 13 'include_dirs': [
tfarina 2016/01/05 16:50:21 is this and direct_dependent_settings really neede
battre 2016/01/05 16:56:08 hm, no idea.
14 'src', 14 'src',
15 '<(DEPTH)', 15 '<(DEPTH)',
16 ], 16 ],
17 'direct_dependent_settings': { 17 'direct_dependent_settings': {
18 'include_dirs': [ 18 'include_dirs': [
19 'src', 19 'src',
20 '<(DEPTH)', 20 '<(DEPTH)',
21 ], 21 ],
22 }, 22 },
23 'dependencies': [
24 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
25 ],
26 'sources': [ 23 'sources': [
27 'src/re2/bitstate.cc', 24 'src/re2/bitstate.cc',
28 'src/re2/compile.cc', 25 'src/re2/compile.cc',
29 'src/re2/dfa.cc', 26 'src/re2/dfa.cc',
30 'src/re2/filtered_re2.cc', 27 'src/re2/filtered_re2.cc',
31 'src/re2/filtered_re2.h', 28 'src/re2/filtered_re2.h',
32 'src/re2/mimics_pcre.cc', 29 'src/re2/mimics_pcre.cc',
33 'src/re2/nfa.cc', 30 'src/re2/nfa.cc',
34 'src/re2/onepass.cc', 31 'src/re2/onepass.cc',
35 'src/re2/parse.cc', 32 'src/re2/parse.cc',
(...skipping 30 matching lines...) Expand all
66 'src/util/sparse_array.h', 63 'src/util/sparse_array.h',
67 'src/util/sparse_set.h', 64 'src/util/sparse_set.h',
68 'src/util/stringprintf.cc', 65 'src/util/stringprintf.cc',
69 'src/util/strutil.cc', 66 'src/util/strutil.cc',
70 'src/util/utf.h', 67 'src/util/utf.h',
71 'src/util/util.h', 68 'src/util/util.h',
72 'src/util/valgrind.cc', 69 'src/util/valgrind.cc',
73 'src/util/valgrind.h', 70 'src/util/valgrind.h',
74 ], 71 ],
75 'conditions': [ 72 'conditions': [
76 ['OS=="win"', {
77 'msvs_disabled_warnings': [ 4018, 4722, 4267 ],
78 }],
79 ['build_for_tool=="drmemory"', { 73 ['build_for_tool=="drmemory"', {
80 # Treat builds for Dr. Memory as builds for MSAN to prevent false 74 # Treat builds for Dr. Memory as builds for MSAN to prevent false
81 # positives created by lazily initialized memory. 75 # positives created by lazily initialized memory.
82 # See crbug.com/568119#3 . 76 # See crbug.com/568119#3 .
83 'defines': [ 77 'defines': [
84 'MEMORY_SANITIZER' 78 'MEMORY_SANITIZER'
85 ], 79 ],
86 }], 80 }],
87 ] 81 ]
88 }, 82 },
89 ], 83 ],
90 } 84 }
OLDNEW
« no previous file with comments | « third_party/re2/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698