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

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

Issue 2877973003: Pull out IDN_Spoof_Checker to separate cc/h files. (Closed)
Patch Set: fix a typo in regex 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 = [
11 "android/component_jni_registrar.cc", 11 "android/component_jni_registrar.cc",
12 "android/component_jni_registrar.h", 12 "android/component_jni_registrar.h",
13 "elide_url.cc", 13 "elide_url.cc",
14 "elide_url.h", 14 "elide_url.h",
15 "idn_spoof_checker.cc",
16 "idn_spoof_checker.h",
15 "url_fixer.cc", 17 "url_fixer.cc",
16 "url_fixer.h", 18 "url_fixer.h",
17 "url_formatter.cc", 19 "url_formatter.cc",
18 "url_formatter.h", 20 "url_formatter.h",
19 "url_formatter_android.cc", 21 "url_formatter_android.cc",
20 "url_formatter_android.h", 22 "url_formatter_android.h",
21 ] 23 ]
22 24
23 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
24 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
(...skipping 27 matching lines...) Expand all
52 "//net", 54 "//net",
53 "//testing/gtest", 55 "//testing/gtest",
54 "//ui/gfx", 56 "//ui/gfx",
55 "//url", 57 "//url",
56 ] 58 ]
57 59
58 if (is_android) { 60 if (is_android) {
59 deps -= [ "//ui/gfx" ] 61 deps -= [ "//ui/gfx" ]
60 } 62 }
61 } 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