| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//url/config.gni") | 5 import("//url/config.gni") |
| 6 | 6 |
| 7 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. | 7 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. |
| 8 config("url_icu_config") { | 8 config("url_icu_config") { |
| 9 if (use_icu_alternatives_on_android) { | 9 if (use_icu_alternatives_on_android) { |
| 10 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] | 10 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 110 |
| 111 if (is_win) { | 111 if (is_win) { |
| 112 cflags = [ | 112 cflags = [ |
| 113 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 113 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 114 "/wd4267", | 114 "/wd4267", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| 117 | 117 |
| 118 deps = [ | 118 deps = [ |
| 119 ":url", | 119 ":url", |
| 120 "//base", |
| 120 "//base/test:run_all_unittests", | 121 "//base/test:run_all_unittests", |
| 121 "//testing/gtest", | 122 "//testing/gtest", |
| 122 "//third_party/icu:icuuc", | 123 "//third_party/icu:icuuc", |
| 123 ] | 124 ] |
| 124 | 125 |
| 125 if (use_icu_alternatives_on_android) { | 126 if (use_icu_alternatives_on_android) { |
| 126 sources -= [ | 127 sources -= [ |
| 127 "url_canon_icu_unittest.cc", | 128 "url_canon_icu_unittest.cc", |
| 128 ] | 129 ] |
| 129 deps -= [ | 130 deps -= [ |
| 130 "//third_party/icu:icuuc", | 131 "//third_party/icu:icuuc", |
| 131 ] | 132 ] |
| 132 } | 133 } |
| 133 } | 134 } |
| 134 } | 135 } |
| OLD | NEW |