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

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

Issue 2889303003: Revert of Mitigate spoofing attempt using Latin letters. (Closed)
Patch Set: Created 3 years, 7 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/idn_spoof_checker.h » ('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 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("url_formatter") { 9 static_library("url_formatter") {
10 sources = [ 10 sources = [
(...skipping 10 matching lines...) Expand all
21 "url_formatter_android.cc", 21 "url_formatter_android.cc",
22 "url_formatter_android.h", 22 "url_formatter_android.h",
23 ] 23 ]
24 24
25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
27 27
28 deps = [ 28 deps = [
29 "//base", 29 "//base",
30 "//base:i18n", 30 "//base:i18n",
31 "//components/url_formatter/top_domains",
32 "//net", 31 "//net",
33 "//third_party/icu", 32 "//third_party/icu",
34 "//url", 33 "//url",
35 ] 34 ]
36 35
37 if (is_android) { 36 if (is_android) {
38 deps += [ "android:jni_headers" ] 37 deps += [ "android:jni_headers" ]
39 } else { 38 } else {
40 deps += [ "//ui/gfx" ] 39 deps += [ "//ui/gfx" ]
41 } 40 }
42 } 41 }
43 42
44 source_set("unit_tests") { 43 source_set("unit_tests") {
45 testonly = true 44 testonly = true
46 sources = [ 45 sources = [
47 "elide_url_unittest.cc", 46 "elide_url_unittest.cc",
48 "url_fixer_unittest.cc", 47 "url_fixer_unittest.cc",
49 "url_formatter_unittest.cc", 48 "url_formatter_unittest.cc",
50 ] 49 ]
51 50
52 deps = [ 51 deps = [
53 ":url_formatter", 52 ":url_formatter",
54 "//base", 53 "//base",
55 "//components/url_formatter/top_domains",
56 "//net", 54 "//net",
57 "//testing/gtest", 55 "//testing/gtest",
58 "//ui/gfx", 56 "//ui/gfx",
59 "//url", 57 "//url",
60 ] 58 ]
61 59
62 if (is_android) { 60 if (is_android) {
63 deps -= [ "//ui/gfx" ] 61 deps -= [ "//ui/gfx" ]
64 } 62 }
65 } 63 }
OLDNEW
« no previous file with comments | « no previous file | components/url_formatter/idn_spoof_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698