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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "//base/third_party/dynamic_annotations", | 111 "//base/third_party/dynamic_annotations", |
112 ] | 112 ] |
113 } | 113 } |
114 } | 114 } |
115 | 115 |
116 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. | 116 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. |
117 if (!is_android) { | 117 if (!is_android) { |
118 test("url_unittests") { | 118 test("url_unittests") { |
119 sources = [ | 119 sources = [ |
120 "gurl_unittest.cc", | 120 "gurl_unittest.cc", |
| 121 "mojo/url_gurl_struct_traits_unittest.cc", |
121 "origin_unittest.cc", | 122 "origin_unittest.cc", |
| 123 "run_all_unittests.cc", |
122 "scheme_host_port_unittest.cc", | 124 "scheme_host_port_unittest.cc", |
123 "url_canon_icu_unittest.cc", | 125 "url_canon_icu_unittest.cc", |
124 "url_canon_unittest.cc", | 126 "url_canon_unittest.cc", |
125 "url_parse_unittest.cc", | 127 "url_parse_unittest.cc", |
126 "url_test_utils.h", | 128 "url_test_utils.h", |
127 "url_util_unittest.cc", | 129 "url_util_unittest.cc", |
128 ] | 130 ] |
129 | 131 |
130 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 132 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
131 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 133 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
132 | 134 |
133 deps = [ | 135 deps = [ |
134 ":url", | 136 ":url", |
135 "//base", | 137 "//base", |
136 "//base/test:run_all_unittests", | 138 "//base/test:test_support", |
| 139 "//mojo/edk/system", |
| 140 "//mojo/edk/test:test_support", |
137 "//testing/gtest", | 141 "//testing/gtest", |
138 "//third_party/icu:icuuc", | 142 "//third_party/icu:icuuc", |
| 143 "//url/mojo:test_url_mojom_gurl", |
139 ] | 144 ] |
140 } | 145 } |
141 } | 146 } |
OLD | NEW |