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

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

Issue 1562833002: Revert of Enable url_formatter::ElideUrl and url_formatter::ElideHost for aura Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | components/url_formatter/elide_url.h » ('j') | ui/gfx/text_elider.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
6
7 source_set("url_formatter") { 5 source_set("url_formatter") {
8 sources = [ 6 sources = [
9 "elide_url.cc", 7 "elide_url.cc",
10 "elide_url.h", 8 "elide_url.h",
11 "url_fixer.cc", 9 "url_fixer.cc",
12 "url_fixer.h", 10 "url_fixer.h",
13 "url_formatter.cc", 11 "url_formatter.cc",
14 "url_formatter.h", 12 "url_formatter.h",
15 ] 13 ]
16 14
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 17
20 deps = [ 18 deps = [
21 "//base", 19 "//base",
22 "//third_party/icu", 20 "//third_party/icu",
23 "//net", 21 "//net",
24 "//url", 22 "//url",
25 ] 23 ]
26 24
27 if (!is_android || use_aura) { 25 if (!is_android) {
28 deps += [ "//ui/gfx" ] 26 deps += [ "//ui/gfx" ]
29 } 27 }
30 } 28 }
31 29
32 source_set("unit_tests") { 30 source_set("unit_tests") {
33 testonly = true 31 testonly = true
34 sources = [ 32 sources = [
35 "elide_url_unittest.cc", 33 "elide_url_unittest.cc",
36 "url_fixer_unittest.cc", 34 "url_fixer_unittest.cc",
37 "url_formatter_unittest.cc", 35 "url_formatter_unittest.cc",
38 ] 36 ]
39 37
40 deps = [ 38 deps = [
41 ":url_formatter", 39 ":url_formatter",
42 "//base", 40 "//base",
43 "//net", 41 "//net",
44 "//testing/gtest", 42 "//testing/gtest",
43 "//ui/gfx",
45 "//url", 44 "//url",
46 ] 45 ]
47 46
48 if (!is_android || use_aura) { 47 if (is_android) {
49 deps += [ "//ui/gfx" ] 48 deps -= [ "//ui/gfx" ]
50 } 49 }
51 } 50 }
OLDNEW
« no previous file with comments | « no previous file | components/url_formatter/elide_url.h » ('j') | ui/gfx/text_elider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698