| 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("//testing/test.gni") |
| 5 import("//url/config.gni") | 6 import("//url/config.gni") |
| 6 | 7 |
| 7 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. | 8 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. |
| 8 config("url_icu_config") { | 9 config("url_icu_config") { |
| 9 if (use_icu_alternatives_on_android) { | 10 if (use_icu_alternatives_on_android) { |
| 10 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] | 11 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] |
| 11 } | 12 } |
| 12 } | 13 } |
| 13 | 14 |
| 14 component("url") { | 15 component("url") { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 "//testing/gtest", | 121 "//testing/gtest", |
| 121 "//third_party/icu:icuuc", | 122 "//third_party/icu:icuuc", |
| 122 ] | 123 ] |
| 123 | 124 |
| 124 if (use_icu_alternatives_on_android) { | 125 if (use_icu_alternatives_on_android) { |
| 125 sources -= [ "url_canon_icu_unittest.cc" ] | 126 sources -= [ "url_canon_icu_unittest.cc" ] |
| 126 deps -= [ "//third_party/icu:icuuc" ] | 127 deps -= [ "//third_party/icu:icuuc" ] |
| 127 } | 128 } |
| 128 } | 129 } |
| 129 } | 130 } |
| OLD | NEW |