Index: components/url_formatter/BUILD.gn |
diff --git a/components/mime_util/BUILD.gn b/components/url_formatter/BUILD.gn |
similarity index 50% |
copy from components/mime_util/BUILD.gn |
copy to components/url_formatter/BUILD.gn |
index 0e3a8137a7adfd9b48b781ea6dc5128bf03c126b..5ba65208327171254faa27046ca460d3a7536591 100644 |
--- a/components/mime_util/BUILD.gn |
+++ b/components/url_formatter/BUILD.gn |
@@ -2,32 +2,32 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-static_library("mime_util") { |
+static_library("url_fixer") { |
sources = [ |
- "mime_util.cc", |
- "mime_util.h", |
+ "url_formatter.cc", |
+ "url_formatter.h", |
] |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ # configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
deps = [ |
"//base", |
+ "//third_party/icu", |
"//net", |
+ "//url", |
] |
- |
- # iOS doesn't use and must not depend on //media |
- if (!is_ios) { |
- deps += [ "//media" ] |
- } |
} |
source_set("unit_tests") { |
testonly = true |
sources = [ |
- "mime_util_unittest.cc", |
+ "url_formatter_unittest.cc", |
] |
deps = [ |
- ":mime_util", |
"//base", |
- "//testing/gtest", |
+ "//url", |
+ ":url_formatter", |
] |
} |