Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: url/BUILD.gn

Issue 1815603003: Enable url_unittests for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 deps = [ 107 deps = [
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 test("url_unittests") {
117 if (!is_android) { 117 sources = [
118 test("url_unittests") { 118 "gurl_unittest.cc",
119 sources = [ 119 "origin_unittest.cc",
120 "gurl_unittest.cc", 120 "run_all_unittests.cc",
121 "origin_unittest.cc", 121 "scheme_host_port_unittest.cc",
122 "run_all_unittests.cc", 122 "url_canon_icu_unittest.cc",
123 "scheme_host_port_unittest.cc", 123 "url_canon_unittest.cc",
124 "url_canon_icu_unittest.cc", 124 "url_parse_unittest.cc",
125 "url_canon_unittest.cc", 125 "url_test_utils.h",
126 "url_parse_unittest.cc", 126 "url_util_unittest.cc",
127 "url_test_utils.h", 127 ]
128 "url_util_unittest.cc", 128
129 if (!is_ios) {
130 sources += [ "mojo/url_gurl_struct_traits_unittest.cc" ]
131 }
132
133 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
134 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
135
136 deps = [
137 ":url",
138 "//base",
139 "//base/test:test_support",
140 "//testing/gtest",
141 "//third_party/icu:icuuc",
142 ]
143
144 if (!is_ios) {
145 deps += [
146 "//mojo/edk/system",
147 "//mojo/edk/test:test_support",
148 "//url/mojo:test_url_mojom_gurl",
129 ] 149 ]
130
131 if (!is_ios) {
132 sources += [ "mojo/url_gurl_struct_traits_unittest.cc" ]
133 }
134
135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
136 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
137
138 deps = [
139 ":url",
140 "//base",
141 "//base/test:test_support",
142 "//testing/gtest",
143 "//third_party/icu:icuuc",
144 ]
145
146 if (!is_ios) {
147 deps += [
148 "//mojo/edk/system",
149 "//mojo/edk/test:test_support",
150 "//url/mojo:test_url_mojom_gurl",
151 ]
152 }
153 } 150 }
154 } 151 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698