| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |