OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 static_library("url_formatter") { |
| 6 sources = [ |
| 7 "elide_url.cc", |
| 8 "elide_url.h", |
| 9 "url_fixer.cc", |
| 10 "url_fixer.h", |
| 11 "url_formatter.cc", |
| 12 "url_formatter.h", |
| 13 ] |
| 14 |
| 15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 17 |
| 18 deps = [ |
| 19 "//base", |
| 20 "//third_party/icu", |
| 21 "//net", |
| 22 "//ui/gfx", |
| 23 "//url", |
| 24 ] |
| 25 } |
| 26 |
| 27 source_set("unit_tests") { |
| 28 testonly = true |
| 29 sources = [ |
| 30 "elide_url_unittest.cc", |
| 31 "url_fixer_unittest.cc", |
| 32 "url_formatter_unittest.cc", |
| 33 ] |
| 34 |
| 35 deps = [ |
| 36 "//base", |
| 37 "//url", |
| 38 ":url_formatter", |
| 39 ] |
| 40 } |
OLD | NEW |