| 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("//testing/test.gni") | 
| 6 import("//url/config.gni") | 6 import("//url/config.gni") | 
| 7 | 7 | 
| 8 # 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. | 
| 9 config("url_icu_config") { | 9 config("url_icu_config") { | 
| 10   if (use_icu_alternatives_on_android) { | 10   if (use_icu_alternatives_on_android) { | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 53     "url_parse_file.cc", | 53     "url_parse_file.cc", | 
| 54     "url_parse_internal.h", | 54     "url_parse_internal.h", | 
| 55     "url_util.cc", | 55     "url_util.cc", | 
| 56     "url_util.h", | 56     "url_util.h", | 
| 57   ] | 57   ] | 
| 58 | 58 | 
| 59   defines = [ "URL_IMPLEMENTATION" ] | 59   defines = [ "URL_IMPLEMENTATION" ] | 
| 60 | 60 | 
| 61   configs += [ | 61   configs += [ | 
| 62     ":url_icu_config", | 62     ":url_icu_config", | 
|  | 63 | 
| 63     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 64     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 
| 64     "//build/config/compiler:no_size_t_to_int_warning", | 65     "//build/config/compiler:no_size_t_to_int_warning", | 
| 65   ] | 66   ] | 
| 66 | 67 | 
| 67   deps = [ | 68   deps = [ | 
| 68     "//base", | 69     "//base", | 
| 69     "//base/third_party/dynamic_annotations", | 70     "//base/third_party/dynamic_annotations", | 
| 70     "//third_party/icu:icudata", | 71     "//third_party/icu:icudata", | 
| 71     "//third_party/icu", | 72     "//third_party/icu", | 
| 72   ] | 73   ] | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 117       "//testing/gtest", | 118       "//testing/gtest", | 
| 118       "//third_party/icu:icuuc", | 119       "//third_party/icu:icuuc", | 
| 119     ] | 120     ] | 
| 120 | 121 | 
| 121     if (use_icu_alternatives_on_android) { | 122     if (use_icu_alternatives_on_android) { | 
| 122       sources -= [ "url_canon_icu_unittest.cc" ] | 123       sources -= [ "url_canon_icu_unittest.cc" ] | 
| 123       deps -= [ "//third_party/icu:icuuc" ] | 124       deps -= [ "//third_party/icu:icuuc" ] | 
| 124     } | 125     } | 
| 125   } | 126   } | 
| 126 } | 127 } | 
| OLD | NEW | 
|---|