Chromium Code Reviews| 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 gyp_file = "//out/gn_gyp/third_party/re2/re2.gyp" | |
| 6 | |
| 5 config("re2_config") { | 7 config("re2_config") { |
| 6 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
| 7 } | 9 } |
| 8 | 10 |
| 9 gyp_file = "re2.gyp" | |
| 10 external = true | |
| 11 | |
| 12 static_library("re2") { | 11 static_library("re2") { |
| 13 sources = [ | 12 sources = [ |
| 14 "mswin/stdint.h", | 13 "mswin/stdint.h", |
| 15 "re2/bitstate.cc", | 14 "re2/bitstate.cc", |
| 16 "re2/compile.cc", | 15 "re2/compile.cc", |
| 17 "re2/dfa.cc", | 16 "re2/dfa.cc", |
| 18 "re2/filtered_re2.cc", | 17 "re2/filtered_re2.cc", |
| 19 "re2/filtered_re2.h", | 18 "re2/filtered_re2.h", |
| 20 "re2/mimics_pcre.cc", | 19 "re2/mimics_pcre.cc", |
| 21 "re2/nfa.cc", | 20 "re2/nfa.cc", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 configs -= "//build/config/compiler:chromium_code" | 62 configs -= "//build/config/compiler:chromium_code" |
| 64 configs += "//build/config/compiler:no_chromium_code" | 63 configs += "//build/config/compiler:no_chromium_code" |
| 65 direct_dependent_configs = [ ":re2_config" ] | 64 direct_dependent_configs = [ ":re2_config" ] |
| 66 | 65 |
| 67 deps = [ | 66 deps = [ |
| 68 "//base/third_party/dynamic_annotations", | 67 "//base/third_party/dynamic_annotations", |
| 69 ] | 68 ] |
| 70 | 69 |
| 71 if (is_win) { | 70 if (is_win) { |
| 72 include_dirs = [ "mswin" ] | 71 include_dirs = [ "mswin" ] |
| 73 # TODO(brettw) 'msvs_disabled_warnings': [ 4018, 4722, 4267 ], | |
|
Will Harris
2014/01/21 02:10:53
FYI - this change seems to have generated a load o
| |
| 74 } else { | 72 } else { |
| 75 sources -= "mswin/stdint.h" | 73 sources -= "mswin/stdint.h" |
| 76 } | 74 } |
| 77 } | 75 } |
| OLD | NEW |