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("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("features.gni") | 7 import("features.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 "//base", | 65 "//base", |
66 "//base/third_party/dynamic_annotations", | 66 "//base/third_party/dynamic_annotations", |
67 ] | 67 ] |
68 | 68 |
69 if (is_win) { | 69 if (is_win) { |
70 # Don't conflict with Windows' "url.dll". | 70 # Don't conflict with Windows' "url.dll". |
71 output_name = "url_lib" | 71 output_name = "url_lib" |
72 } | 72 } |
73 | 73 |
74 # ICU support. | 74 # ICU support. |
75 if (use_platform_icu_alternatives) { | 75 if (use_platform_icu_alternatives && current_toolchain == default_toolchain) { |
Yuki
2017/05/12 15:20:11
Why do we need this change?
peria
2017/06/20 10:20:14
To use ICU alternatives on Android, but it can't b
| |
76 if (is_android) { | 76 if (is_android) { |
77 sources += [ "url_canon_icu_alternatives_android.cc" ] | 77 sources += [ "url_canon_icu_alternatives_android.cc" ] |
78 deps += [ | 78 deps += [ |
79 ":url_features", | 79 ":url_features", |
80 ":url_java", | 80 ":url_java", |
81 ":url_jni_headers", | 81 ":url_jni_headers", |
82 "//base", | 82 "//base", |
83 "//base/third_party/dynamic_annotations", | 83 "//base/third_party/dynamic_annotations", |
84 ] | 84 ] |
85 } else if (is_ios) { | 85 } else if (is_ios) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
165 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 165 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
166 | 166 |
167 if (!is_ios) { | 167 if (!is_ios) { |
168 deps += [ | 168 deps += [ |
169 "//mojo/edk/system", | 169 "//mojo/edk/system", |
170 "//mojo/edk/test:test_support", | 170 "//mojo/edk/test:test_support", |
171 "//url/mojo:test_url_mojom_gurl", | 171 "//url/mojo:test_url_mojom_gurl", |
172 ] | 172 ] |
173 } | 173 } |
174 } | 174 } |
OLD | NEW |