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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ] | 127 ] |
128 | 128 |
129 deps = [ | 129 deps = [ |
130 ":url", | 130 ":url", |
131 "//base", | 131 "//base", |
132 "//base/test:test_support", | 132 "//base/test:test_support", |
133 "//testing/gtest", | 133 "//testing/gtest", |
134 ] | 134 ] |
135 | 135 |
136 if (!is_ios) { | 136 if (!is_ios) { |
137 sources += [ "mojo/url_gurl_struct_traits_unittest.cc" ] | 137 sources += [ |
| 138 "//ui/ozone/common/mojo/display_mode_params_struct_traits_unittest.cc", |
| 139 "mojo/url_gurl_struct_traits_unittest.cc", |
| 140 ] |
138 } | 141 } |
139 | 142 |
140 if (use_platform_icu_alternatives) { | 143 if (use_platform_icu_alternatives) { |
141 # Unit tests that are not supported by the current ICU alternatives on Andro
id. | 144 # Unit tests that are not supported by the current ICU alternatives on Andro
id. |
142 if (is_android) { | 145 if (is_android) { |
143 sources -= [ | 146 sources -= [ |
144 "url_canon_icu_unittest.cc", | 147 "url_canon_icu_unittest.cc", |
145 "url_canon_unittest.cc", | 148 "url_canon_unittest.cc", |
146 ] | 149 ] |
147 deps += [ ":url_java" ] | 150 deps += [ ":url_java" ] |
(...skipping 12 matching lines...) Expand all Loading... |
160 deps += [ "//third_party/icu:icuuc" ] | 163 deps += [ "//third_party/icu:icuuc" ] |
161 } | 164 } |
162 | 165 |
163 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 166 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
164 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 167 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
165 | 168 |
166 if (!is_ios) { | 169 if (!is_ios) { |
167 deps += [ | 170 deps += [ |
168 "//mojo/edk/system", | 171 "//mojo/edk/system", |
169 "//mojo/edk/test:test_support", | 172 "//mojo/edk/test:test_support", |
| 173 "//ui/ozone/common/mojo:test_ui_ozone_common_mojom_display_mode_params", |
| 174 "//ui/ozone/common/mojo:ui_ozone_common_mojom_display_mode_params", |
170 "//url/mojo:test_url_mojom_gurl", | 175 "//url/mojo:test_url_mojom_gurl", |
171 ] | 176 ] |
172 } | 177 } |
173 } | 178 } |
OLD | NEW |