| 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 import("//third_party/icu/config.gni") | 5 import("//third_party/icu/config.gni") |
| 6 | 6 |
| 7 # Meta target that includes both icuuc and icui18n. Most targets want both. | 7 # Meta target that includes both icuuc and icui18n. Most targets want both. |
| 8 # You can depend on the individually if you need to. | 8 # You can depend on the individually if you need to. |
| 9 group("icu") { | 9 group("icu") { |
| 10 deps = [ | 10 deps = [ |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 "-Wno-logical-op-parentheses", | 71 "-Wno-logical-op-parentheses", |
| 72 "-Wno-tautological-compare", | 72 "-Wno-tautological-compare", |
| 73 "-Wno-switch", | 73 "-Wno-switch", |
| 74 "-Wno-parentheses", | 74 "-Wno-parentheses", |
| 75 ] | 75 ] |
| 76 if (is_win) { | 76 if (is_win) { |
| 77 cflags += [ | 77 cflags += [ |
| 78 # See http://bugs.icu-project.org/trac/ticket/11122 | 78 # See http://bugs.icu-project.org/trac/ticket/11122 |
| 79 "-Wno-inline-new-delete", | 79 "-Wno-inline-new-delete", |
| 80 "-Wno-implicit-exception-spec-mismatch", | 80 "-Wno-implicit-exception-spec-mismatch", |
| 81 # See http://bugs.icu-project.org/trac/ticket/11757. |
| 82 "-Wno-reorder", |
| 81 ] | 83 ] |
| 82 } | 84 } |
| 83 } | 85 } |
| 84 } | 86 } |
| 85 | 87 |
| 86 component("icui18n") { | 88 component("icui18n") { |
| 87 sources = [ | 89 sources = [ |
| 88 "source/i18n/alphaindex.cpp", | 90 "source/i18n/alphaindex.cpp", |
| 89 "source/i18n/anytrans.cpp", | 91 "source/i18n/anytrans.cpp", |
| 90 "source/i18n/astro.cpp", | 92 "source/i18n/astro.cpp", |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 sources = [ | 565 sources = [ |
| 564 "android/icudtl_dat.S", | 566 "android/icudtl_dat.S", |
| 565 ] | 567 ] |
| 566 } else { | 568 } else { |
| 567 assert(false, "No icu data for this platform") | 569 assert(false, "No icu data for this platform") |
| 568 } | 570 } |
| 569 defines = [ "U_HIDE_DATA_SYMBOL" ] | 571 defines = [ "U_HIDE_DATA_SYMBOL" ] |
| 570 } | 572 } |
| 571 } | 573 } |
| 572 } | 574 } |
| OLD | NEW |