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, ], |
+ }, |
+ ], |
+} |