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

Side by Side Diff: components/url_formatter/BUILD.gn

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("url_formatter") { 7 source_set("url_formatter") {
8 sources = [ 8 sources = [
9 "elide_url.cc", 9 "elide_url.cc",
10 "elide_url.h", 10 "elide_url.h",
11 "url_fixer.cc", 11 "url_fixer.cc",
12 "url_fixer.h", 12 "url_fixer.h",
13 "url_formatter.cc", 13 "url_formatter.cc",
14 "url_formatter.h", 14 "url_formatter.h",
15 ] 15 ]
16 16
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//net",
22 "//third_party/icu", 23 "//third_party/icu",
23 "//net",
24 "//url", 24 "//url",
25 ] 25 ]
26 26
27 if (!is_android || use_aura) { 27 if (!is_android || use_aura) {
28 deps += [ "//ui/gfx" ] 28 deps += [ "//ui/gfx" ]
29 } 29 }
30 } 30 }
31 31
32 source_set("unit_tests") { 32 source_set("unit_tests") {
33 testonly = true 33 testonly = true
34 sources = [ 34 sources = [
35 "elide_url_unittest.cc", 35 "elide_url_unittest.cc",
36 "url_fixer_unittest.cc", 36 "url_fixer_unittest.cc",
37 "url_formatter_unittest.cc", 37 "url_formatter_unittest.cc",
38 ] 38 ]
39 39
40 deps = [ 40 deps = [
41 ":url_formatter", 41 ":url_formatter",
42 "//base", 42 "//base",
43 "//net", 43 "//net",
44 "//testing/gtest", 44 "//testing/gtest",
45 "//url", 45 "//url",
46 ] 46 ]
47 47
48 if (!is_android || use_aura) { 48 if (!is_android || use_aura) {
49 deps += [ "//ui/gfx" ] 49 deps += [ "//ui/gfx" ]
50 } 50 }
51 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698