1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # Note, this target_name cannot be 'url', because that will generate
12 # 'url.dll' for a Windows component build, and that will confuse Windows,
13 # which has a system DLL with the same name.
14 'target_name': 'url_lib',
15 'type': '<(component)',
17 '../base/base.gyp:base',
18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
19 '../third_party/icu/icu.gyp:icui18n',
20 '../third_party/icu/icu.gyp:icuuc',
25 'third_party/mozilla/url_parse.cc',
26 'third_party/mozilla/url_parse.h',
29 'url_canon_filesystemurl.cc',
30 'url_canon_fileurl.cc',
34 'url_canon_internal.cc',
35 'url_canon_internal.h',
36 'url_canon_internal_file.h',
39 'url_canon_mailtourl.cc',
41 'url_canon_pathurl.cc',
43 'url_canon_relative.cc',
44 'url_canon_stdstring.cc',
45 'url_canon_stdstring.h',
46 'url_canon_stdurl.cc',
49 'url_parse_internal.h',
53 'direct_dependent_settings': {
61 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
62 'msvs_disabled_warnings': [4267, ],
65 'target_name': 'url_unittests',
68 '../base/base.gyp:base_i18n',
69 '../base/base.gyp:run_all_unittests',
70 '../testing/gtest.gyp:gtest',
71 '../third_party/icu/icu.gyp:icuuc',
76 'url_canon_unittest.cc',
77 'url_parse_unittest.cc',
79 'url_util_unittest.cc',
82 ['os_posix==1 and OS!="mac" and OS!="ios"',
85 ['linux_use_tcmalloc==1',
88 '../base/allocator/allocator.gyp:allocator',
96 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
97 'msvs_disabled_warnings': [4267, ],