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

Unified Diff: components/url_formatter.gypi

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: Fold in secure_display to url_formatter Created 5 years, 5 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.gypi
diff --git a/components/url_formatter.gypi b/components/url_formatter.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..7e6250c082e6a7d9e40e815f2c6dabbfc535bece
--- /dev/null
+++ b/components/url_formatter.gypi
@@ -0,0 +1,35 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ # GN version: //components/url_formatter
+ 'target_name': 'url_formatter',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../net/net.gyp:net',
+ '../third_party/icu/icu.gyp:icui18n',
+ '../third_party/icu/icu.gyp:icuuc',
+ '../ui/gfx/gfx.gyp:gfx',
+ '../url/url.gyp:url_lib',
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'url_formatter/elide_url.cc',
+ 'url_formatter/elide_url.h',
+ 'url_formatter/url_fixer.cc',
+ 'url_formatter/url_fixer.h',
+ 'url_formatter/url_formatter.cc',
+ 'url_formatter/url_formatter.h',
+ ],
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [4267, ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698