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

Side by Side Diff: url/BUILD.gn

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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/resources/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("//url/config.gni") 5 import("//url/config.gni")
6 6
7 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag. 7 # Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag.
8 config("url_icu_config") { 8 config("url_icu_config") {
9 if (use_icu_alternatives_on_android) { 9 if (use_icu_alternatives_on_android) {
10 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] 10 defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "url_parse_internal.h", 53 "url_parse_internal.h",
54 "url_util.cc", 54 "url_util.cc",
55 "url_util.h", 55 "url_util.h",
56 ] 56 ]
57 57
58 defines = [ "URL_IMPLEMENTATION" ] 58 defines = [ "URL_IMPLEMENTATION" ]
59 59
60 configs += [ ":url_icu_config" ] 60 configs += [ ":url_icu_config" ]
61 61
62 if (is_win) { 62 if (is_win) {
63 cflags = [ 63 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
64 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
65 ]
66 } 64 }
67 65
68 deps = [ 66 deps = [
69 "//base", 67 "//base",
70 "//base/third_party/dynamic_annotations", 68 "//base/third_party/dynamic_annotations",
71 "//third_party/icu:icudata", 69 "//third_party/icu:icudata",
72 "//third_party/icu", 70 "//third_party/icu",
73 ] 71 ]
74 72
75 if (use_icu_alternatives_on_android) { 73 if (use_icu_alternatives_on_android) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 115
118 deps = [ 116 deps = [
119 ":url", 117 ":url",
120 "//base", 118 "//base",
121 "//base/test:run_all_unittests", 119 "//base/test:run_all_unittests",
122 "//testing/gtest", 120 "//testing/gtest",
123 "//third_party/icu:icuuc", 121 "//third_party/icu:icuuc",
124 ] 122 ]
125 123
126 if (use_icu_alternatives_on_android) { 124 if (use_icu_alternatives_on_android) {
127 sources -= [ 125 sources -= [ "url_canon_icu_unittest.cc" ]
128 "url_canon_icu_unittest.cc", 126 deps -= [ "//third_party/icu:icuuc" ]
129 ]
130 deps -= [
131 "//third_party/icu:icuuc",
132 ]
133 } 127 }
134 } 128 }
135 } 129 }
OLDNEW
« no previous file with comments | « ui/resources/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698