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 declare_args() { | 5 declare_args() { |
6 # Tells icu to load an external data file rather than rely on the icudata | 6 # Tells icu to load an external data file rather than rely on the icudata |
7 # being linked directly into the binary. | 7 # being linked directly into the binary. |
8 # | 8 # |
9 # This flag is a bit confusing. As of this writing, icu.gyp set the value to | 9 # This flag is a bit confusing. As of this writing, icu.gyp set the value to |
10 # 0 but common.gypi sets the value to 1 for most platforms (and the 1 takes | 10 # 0 but common.gypi sets the value to 1 for most platforms (and the 1 takes |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
259 direct_dependent_configs = [ ":icu_config" ] | 259 direct_dependent_configs = [ ":icu_config" ] |
260 | 260 |
261 if (is_clang) { | 261 if (is_clang) { |
262 # uspoof.h has a U_NAMESPACE_USE macro. That's a bug, | 262 # uspoof.h has a U_NAMESPACE_USE macro. That's a bug, |
263 # the header should use U_NAMESPACE_BEGIN instead. | 263 # the header should use U_NAMESPACE_BEGIN instead. |
264 # http://bugs.icu-project.org/trac/ticket/9054 | 264 # http://bugs.icu-project.org/trac/ticket/9054 |
265 configs -= [ "//build/config/clang:extra_warnings" ] | 265 configs -= [ "//build/config/clang:extra_warnings" ] |
266 | 266 |
267 cflags = [ | 267 cflags = [ |
268 "-Wno-header-hygiene", | 268 "-Wno-header-hygiene", |
269 "-Wno-deprecated-declarations", | |
Nico
2014/09/08 20:51:52
the gyp files have short explanations for suppress
scottmg
2014/09/08 20:55:55
Done.
| |
269 # Looks like a real issue, see http://crbug.com/114660 | 270 # Looks like a real issue, see http://crbug.com/114660 |
270 "-Wno-return-type-c-linkage", | 271 "-Wno-return-type-c-linkage", |
271 ] | 272 ] |
272 } | 273 } |
273 } | 274 } |
274 | 275 |
275 component("icuuc") { | 276 component("icuuc") { |
276 sources = [ | 277 sources = [ |
277 "source/common/appendable.cpp", | 278 "source/common/appendable.cpp", |
278 "source/common/bmpset.cpp", | 279 "source/common/bmpset.cpp", |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
509 sources = [ "mac/icudtl_dat.S" ] | 510 sources = [ "mac/icudtl_dat.S" ] |
510 } else if (is_android) { | 511 } else if (is_android) { |
511 sources = [ "android/icudtl_dat.S" ] | 512 sources = [ "android/icudtl_dat.S" ] |
512 } else { | 513 } else { |
513 assert(false, "No icu data for this platform") | 514 assert(false, "No icu data for this platform") |
514 } | 515 } |
515 defines = [ "U_HIDE_DATA_SYMBOL" ] | 516 defines = [ "U_HIDE_DATA_SYMBOL" ] |
516 } | 517 } |
517 } | 518 } |
518 } | 519 } |
OLD | NEW |