1 # Copyright (c) 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.
8 # Don't conflict with Windows' "url.dll".
9 output_name = "url_lib"
14 "third_party/mozilla/url_parse.cc",
15 "third_party/mozilla/url_parse.h",
18 "url_canon_filesystemurl.cc",
19 "url_canon_fileurl.cc",
23 "url_canon_internal.cc",
24 "url_canon_internal.h",
25 "url_canon_internal_file.h",
28 "url_canon_mailtourl.cc",
30 "url_canon_pathurl.cc",
32 "url_canon_relative.cc",
33 "url_canon_stdstring.cc",
34 "url_canon_stdstring.h",
35 "url_canon_stdurl.cc",
39 "url_parse_internal.h",
44 defines = [ "URL_IMPLEMENTATION" ]
47 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
48 # 'msvs_disabled_warnings': [ 4267, ]
53 "//third_party/icu:icudata",
54 "//third_party/icu:icui18n",
55 "//third_party/icu:icuuc",
59 test("url_unittests") {
63 "url_canon_unittest.cc",
64 "url_parse_unittest.cc",
66 "url_util_unittest.cc",
69 #if (is_posix && !is_mac && !is_ios) {
70 # if (linux_use_tcmalloc) {
71 # deps += "//base/allocator"
76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
77 # 'msvs_disabled_warnings': [ 4267, ]
83 "//base/test:run_all_unittests",
85 "//third_party/icu:icuuc",