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.
7 # Don't conflict with Windows' "url.dll".
8 output_name = "url_lib"
13 "third_party/mozilla/url_parse.cc",
14 "third_party/mozilla/url_parse.h",
17 "url_canon_filesystemurl.cc",
18 "url_canon_fileurl.cc",
22 "url_canon_internal.cc",
23 "url_canon_internal.h",
24 "url_canon_internal_file.h",
27 "url_canon_mailtourl.cc",
29 "url_canon_pathurl.cc",
31 "url_canon_relative.cc",
32 "url_canon_stdstring.cc",
33 "url_canon_stdstring.h",
34 "url_canon_stdurl.cc",
38 "url_parse_internal.h",
43 defines = [ "URL_IMPLEMENTATION" ]
46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
47 # 'msvs_disabled_warnings': [ 4267, ]
52 "//third_party/icu:icudata",
57 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android.
59 test("url_unittests") {
62 "url_canon_unittest.cc",
63 "url_parse_unittest.cc",
65 "url_util_unittest.cc",
68 #if (is_posix && !is_mac && !is_ios) {
69 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
70 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_allocator=="see_use_tcmalloc" && 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",