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

Side by Side Diff: url/BUILD.gn

Issue 1248673005: Add GN isolate support for a bunch of unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@some_isolates
Patch Set: merge to HEAD Created 5 years, 5 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 | « ui/gl/BUILD.gn ('k') | 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 import("//url/config.gni") 6 import("//url/config.gni")
7 7
8 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. 8 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag.
9 config("url_icu_config") { 9 config("url_icu_config") {
10 if (use_icu_alternatives_on_android) { 10 if (use_icu_alternatives_on_android) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 sources += [ 89 sources += [
90 "url_canon_icu_alternatives_android.cc", 90 "url_canon_icu_alternatives_android.cc",
91 "url_canon_icu_alternatives_android.h", 91 "url_canon_icu_alternatives_android.h",
92 ] 92 ]
93 } 93 }
94 } 94 }
95 95
96 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. 96 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android.
97 if (!is_android) { 97 if (!is_android) {
98 # TODO(GYP): Delete this after we've converted everything to GN.
99 # The _run targets exist only for compatibility w/ GYP.
100 group("url_unittests_run") {
101 testonly = true
102 deps = [
103 ":url_unittests",
104 ]
105 }
106
98 test("url_unittests") { 107 test("url_unittests") {
99 sources = [ 108 sources = [
100 "deprecated_serialized_origin_unittest.cc", 109 "deprecated_serialized_origin_unittest.cc",
101 "gurl_unittest.cc", 110 "gurl_unittest.cc",
102 "origin_unittest.cc", 111 "origin_unittest.cc",
103 "scheme_host_port_unittest.cc", 112 "scheme_host_port_unittest.cc",
104 "url_canon_icu_unittest.cc", 113 "url_canon_icu_unittest.cc",
105 "url_canon_unittest.cc", 114 "url_canon_unittest.cc",
106 "url_parse_unittest.cc", 115 "url_parse_unittest.cc",
107 "url_test_utils.h", 116 "url_test_utils.h",
(...skipping 16 matching lines...) Expand all
124 "//testing/gtest", 133 "//testing/gtest",
125 "//third_party/icu:icuuc", 134 "//third_party/icu:icuuc",
126 ] 135 ]
127 136
128 if (use_icu_alternatives_on_android) { 137 if (use_icu_alternatives_on_android) {
129 sources -= [ "url_canon_icu_unittest.cc" ] 138 sources -= [ "url_canon_icu_unittest.cc" ]
130 deps -= [ "//third_party/icu:icuuc" ] 139 deps -= [ "//third_party/icu:icuuc" ]
131 } 140 }
132 } 141 }
133 } 142 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698