| 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 static_library("mime_util") { | 5 static_library("url_fixer") { |
| 6 sources = [ | 6 sources = [ |
| 7 "mime_util.cc", | 7 "url_formatter.cc", |
| 8 "mime_util.h", | 8 "url_formatter.h", |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 12 # configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 13 |
| 11 deps = [ | 14 deps = [ |
| 12 "//base", | 15 "//base", |
| 16 "//third_party/icu", |
| 13 "//net", | 17 "//net", |
| 18 "//url", |
| 14 ] | 19 ] |
| 15 | |
| 16 # iOS doesn't use and must not depend on //media | |
| 17 if (!is_ios) { | |
| 18 deps += [ "//media" ] | |
| 19 } | |
| 20 } | 20 } |
| 21 | 21 |
| 22 source_set("unit_tests") { | 22 source_set("unit_tests") { |
| 23 testonly = true | 23 testonly = true |
| 24 sources = [ | 24 sources = [ |
| 25 "mime_util_unittest.cc", | 25 "url_formatter_unittest.cc", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 deps = [ | 28 deps = [ |
| 29 ":mime_util", | |
| 30 "//base", | 29 "//base", |
| 31 "//testing/gtest", | 30 "//url", |
| 31 ":url_formatter", |
| 32 ] | 32 ] |
| 33 } | 33 } |
| OLD | NEW |