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

Unified Diff: components/url_formatter/BUILD.gn

Issue 1171333003: Move net::FormatUrl and friends outside of //net and into //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fixes following rebase Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
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",
]
}

Powered by Google App Engine
This is Rietveld 408576698