| 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 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "src/util/strutil.cc", | 53 "src/util/strutil.cc", |
| 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 | |
| 64 # TODO(battre) If Dr. Memory is ever migrated to GN, a flag needs to be | |
| 65 # added for this that adds a MEMORY_SANITIZER define. See re2.gyp. | |
| 66 # if (is_drmemory) { | |
| 67 # defines += [ "MEMORY_SANITIZER" ] | |
| 68 # } | |
| 69 } | 63 } |
| OLD | NEW |