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

Side by Side Diff: url/BUILD.gn

Issue 1756193007: Fix iOS GN build after r379128. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes 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 | url/run_all_unittests.cc » ('j') | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
122 "origin_unittest.cc", 121 "origin_unittest.cc",
123 "run_all_unittests.cc", 122 "run_all_unittests.cc",
124 "scheme_host_port_unittest.cc", 123 "scheme_host_port_unittest.cc",
125 "url_canon_icu_unittest.cc", 124 "url_canon_icu_unittest.cc",
126 "url_canon_unittest.cc", 125 "url_canon_unittest.cc",
127 "url_parse_unittest.cc", 126 "url_parse_unittest.cc",
128 "url_test_utils.h", 127 "url_test_utils.h",
129 "url_util_unittest.cc", 128 "url_util_unittest.cc",
130 ] 129 ]
131 130
131 if (!is_ios) {
132 sources += [ "mojo/url_gurl_struct_traits_unittest.cc" ]
133 }
134
132 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
133 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 136 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
134 137
135 deps = [ 138 deps = [
136 ":url", 139 ":url",
137 "//base", 140 "//base",
138 "//base/test:test_support", 141 "//base/test:test_support",
139 "//mojo/edk/system",
140 "//mojo/edk/test:test_support",
141 "//testing/gtest", 142 "//testing/gtest",
142 "//third_party/icu:icuuc", 143 "//third_party/icu:icuuc",
143 "//url/mojo:test_url_mojom_gurl",
144 ] 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 }
145 } 153 }
146 } 154 }
OLDNEW
« no previous file with comments | « no previous file | url/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698