| OLD | NEW |
| 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%': '', |
| 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': [ |
| 14 '.', | 14 'src', |
| 15 '<(DEPTH)', | 15 '<(DEPTH)', |
| 16 ], | 16 ], |
| 17 'direct_dependent_settings': { | 17 'direct_dependent_settings': { |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 '.', | 19 'src', |
| 20 '<(DEPTH)', | 20 '<(DEPTH)', |
| 21 ], | 21 ], |
| 22 }, | 22 }, |
| 23 'dependencies': [ | 23 'dependencies': [ |
| 24 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 24 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 25 ], | 25 ], |
| 26 'sources': [ | 26 'sources': [ |
| 27 're2/bitstate.cc', | 27 'src/re2/bitstate.cc', |
| 28 're2/compile.cc', | 28 'src/re2/compile.cc', |
| 29 're2/dfa.cc', | 29 'src/re2/dfa.cc', |
| 30 're2/filtered_re2.cc', | 30 'src/re2/filtered_re2.cc', |
| 31 're2/filtered_re2.h', | 31 'src/re2/filtered_re2.h', |
| 32 're2/mimics_pcre.cc', | 32 'src/re2/mimics_pcre.cc', |
| 33 're2/nfa.cc', | 33 'src/re2/nfa.cc', |
| 34 're2/onepass.cc', | 34 'src/re2/onepass.cc', |
| 35 're2/parse.cc', | 35 'src/re2/parse.cc', |
| 36 're2/perl_groups.cc', | 36 'src/re2/perl_groups.cc', |
| 37 're2/prefilter.cc', | 37 'src/re2/prefilter.cc', |
| 38 're2/prefilter.h', | 38 'src/re2/prefilter.h', |
| 39 're2/prefilter_tree.cc', | 39 'src/re2/prefilter_tree.cc', |
| 40 're2/prefilter_tree.h', | 40 'src/re2/prefilter_tree.h', |
| 41 're2/prog.cc', | 41 'src/re2/prog.cc', |
| 42 're2/prog.h', | 42 'src/re2/prog.h', |
| 43 're2/re2.cc', | 43 'src/re2/re2.cc', |
| 44 're2/re2.h', | 44 'src/re2/re2.h', |
| 45 're2/regexp.cc', | 45 'src/re2/regexp.cc', |
| 46 're2/regexp.h', | 46 'src/re2/regexp.h', |
| 47 're2/set.cc', | 47 'src/re2/set.cc', |
| 48 're2/set.h', | 48 'src/re2/set.h', |
| 49 're2/simplify.cc', | 49 'src/re2/simplify.cc', |
| 50 're2/stringpiece.cc', | 50 'src/re2/stringpiece.cc', |
| 51 're2/stringpiece.h', | 51 'src/re2/stringpiece.h', |
| 52 're2/tostring.cc', | 52 'src/re2/tostring.cc', |
| 53 're2/unicode_casefold.cc', | 53 'src/re2/unicode_casefold.cc', |
| 54 're2/unicode_casefold.h', | 54 'src/re2/unicode_casefold.h', |
| 55 're2/unicode_groups.cc', | 55 'src/re2/unicode_groups.cc', |
| 56 're2/unicode_groups.h', | 56 'src/re2/unicode_groups.h', |
| 57 're2/variadic_function.h', | 57 'src/re2/variadic_function.h', |
| 58 're2/walker-inl.h', | 58 'src/re2/walker-inl.h', |
| 59 'util/atomicops.h', | 59 'src/util/atomicops.h', |
| 60 'util/flags.h', | 60 'src/util/flags.h', |
| 61 'util/hash.cc', | 61 'src/util/hash.cc', |
| 62 'util/logging.cc', | 62 'src/util/logging.cc', |
| 63 'util/logging.h', | 63 'src/util/logging.h', |
| 64 'util/mutex.h', | 64 'src/util/mutex.h', |
| 65 'util/rune.cc', | 65 'src/util/rune.cc', |
| 66 'util/sparse_array.h', | 66 'src/util/sparse_array.h', |
| 67 'util/sparse_set.h', | 67 'src/util/sparse_set.h', |
| 68 'util/stringprintf.cc', | 68 'src/util/stringprintf.cc', |
| 69 'util/strutil.cc', | 69 'src/util/strutil.cc', |
| 70 'util/utf.h', | 70 'src/util/utf.h', |
| 71 'util/util.h', | 71 'src/util/util.h', |
| 72 'util/valgrind.cc', | 72 'src/util/valgrind.cc', |
| 73 'util/valgrind.h', | 73 'src/util/valgrind.h', |
| 74 ], | 74 ], |
| 75 'conditions': [ | 75 'conditions': [ |
| 76 ['OS=="win"', { | 76 ['OS=="win"', { |
| 77 'msvs_disabled_warnings': [ 4018, 4722, 4267 ], | 77 'msvs_disabled_warnings': [ 4018, 4722, 4267 ], |
| 78 }], | 78 }], |
| 79 ['build_for_tool=="drmemory"', { | 79 ['build_for_tool=="drmemory"', { |
| 80 # Treat builds for Dr. Memory as builds for MSAN to prevent false | 80 # Treat builds for Dr. Memory as builds for MSAN to prevent false |
| 81 # positives created by lazily initialized memory. | 81 # positives created by lazily initialized memory. |
| 82 # See crbug.com/568119#3 . | 82 # See crbug.com/568119#3 . |
| 83 'defines': [ | 83 'defines': [ |
| 84 'MEMORY_SANITIZER' | 84 'MEMORY_SANITIZER' |
| 85 ], | 85 ], |
| 86 }], | 86 }], |
| 87 ] | 87 ] |
| 88 }, | 88 }, |
| 89 ], | 89 ], |
| 90 } | 90 } |
| OLD | NEW |