| 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" | 5 gyp_file = "//out/gn_gyp/third_party/re2/re2.gyp" |
| 6 | 6 |
| 7 config("re2_config") { | 7 config("re2_config") { |
| 8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 "util/rune.cc", | 52 "util/rune.cc", |
| 53 "util/sparse_array.h", | 53 "util/sparse_array.h", |
| 54 "util/sparse_set.h", | 54 "util/sparse_set.h", |
| 55 "util/stringpiece.cc", | 55 "util/stringpiece.cc", |
| 56 "util/stringprintf.cc", | 56 "util/stringprintf.cc", |
| 57 "util/strutil.cc", | 57 "util/strutil.cc", |
| 58 "util/utf.h", | 58 "util/utf.h", |
| 59 "util/util.h", | 59 "util/util.h", |
| 60 ] | 60 ] |
| 61 | 61 |
| 62 configs -= "//build/config/compiler:chromium_code" | 62 configs -= [ "//build/config/compiler:chromium_code" ] |
| 63 configs += "//build/config/compiler:no_chromium_code" | 63 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 64 direct_dependent_configs = [ ":re2_config" ] | 64 direct_dependent_configs = [ ":re2_config" ] |
| 65 | 65 |
| 66 deps = [ | 66 deps = [ |
| 67 "//base/third_party/dynamic_annotations", | 67 "//base/third_party/dynamic_annotations", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 if (is_win) { | 70 if (is_win) { |
| 71 include_dirs = [ "mswin" ] | 71 include_dirs = [ "mswin" ] |
| 72 } else { | 72 } else { |
| 73 sources -= "mswin/stdint.h" | 73 sources -= [ "mswin/stdint.h" ] |
| 74 } | 74 } |
| 75 } | 75 } |
| OLD | NEW |