| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 ":url_java", | 108 ":url_java", |
| 109 ":url_jni_headers", | 109 ":url_jni_headers", |
| 110 "//base", | 110 "//base", |
| 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 # TODO(GYP): Delete this after we've converted everything to GN. | |
| 119 # The _run targets exist only for compatibility w/ GYP. | |
| 120 group("url_unittests_run") { | |
| 121 testonly = true | |
| 122 deps = [ | |
| 123 ":url_unittests", | |
| 124 ] | |
| 125 } | |
| 126 | |
| 127 test("url_unittests") { | 118 test("url_unittests") { |
| 128 sources = [ | 119 sources = [ |
| 129 "gurl_unittest.cc", | 120 "gurl_unittest.cc", |
| 130 "origin_unittest.cc", | 121 "origin_unittest.cc", |
| 131 "scheme_host_port_unittest.cc", | 122 "scheme_host_port_unittest.cc", |
| 132 "url_canon_icu_unittest.cc", | 123 "url_canon_icu_unittest.cc", |
| 133 "url_canon_unittest.cc", | 124 "url_canon_unittest.cc", |
| 134 "url_parse_unittest.cc", | 125 "url_parse_unittest.cc", |
| 135 "url_test_utils.h", | 126 "url_test_utils.h", |
| 136 "url_util_unittest.cc", | 127 "url_util_unittest.cc", |
| 137 ] | 128 ] |
| 138 | 129 |
| 139 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 130 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 140 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 131 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 141 | 132 |
| 142 deps = [ | 133 deps = [ |
| 143 ":url", | 134 ":url", |
| 144 "//base", | 135 "//base", |
| 145 "//base/test:run_all_unittests", | 136 "//base/test:run_all_unittests", |
| 146 "//testing/gtest", | 137 "//testing/gtest", |
| 147 "//third_party/icu:icuuc", | 138 "//third_party/icu:icuuc", |
| 148 ] | 139 ] |
| 149 } | 140 } |
| 150 } | 141 } |
| OLD | NEW |