| Index: url/BUILD.gn
|
| diff --git a/url/BUILD.gn b/url/BUILD.gn
|
| index 03e90cb3fff083757c979c0cc9630e69337fefa0..964a08bde6a4e1ef68c2d72912b5d5aef299f0e5 100644
|
| --- a/url/BUILD.gn
|
| +++ b/url/BUILD.gn
|
| @@ -58,11 +58,11 @@ component("url") {
|
|
|
| defines = [ "URL_IMPLEMENTATION" ]
|
|
|
| - configs += [ ":url_icu_config" ]
|
| -
|
| - if (is_win) {
|
| - cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - }
|
| + configs += [
|
| + ":url_icu_config",
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + "//build/config/compiler:no_size_t_to_int_warning",
|
| + ]
|
|
|
| deps = [
|
| "//base",
|
| @@ -101,19 +101,15 @@ if (!is_android) {
|
| "url_util_unittest.cc",
|
| ]
|
|
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| +
|
| #if (is_posix && !is_mac && !is_ios) {
|
| # if (use_allocator!="none") {
|
| # deps += "//base/allocator"
|
| # }
|
| #}
|
|
|
| - if (is_win) {
|
| - cflags = [
|
| - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - "/wd4267",
|
| - ]
|
| - }
|
| -
|
| deps = [
|
| ":url",
|
| "//base",
|
|
|