OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 component("url") { | 5 component("url") { |
6 if (is_win) { | 6 if (is_win) { |
7 # Don't conflict with Windows' "url.dll". | 7 # Don't conflict with Windows' "url.dll". |
8 output_name = "url_lib" | 8 output_name = "url_lib" |
9 } | 9 } |
10 sources = [ | 10 sources = [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 test("url_unittests") { | 59 test("url_unittests") { |
60 sources = [ | 60 sources = [ |
61 "gurl_unittest.cc", | 61 "gurl_unittest.cc", |
62 "url_canon_unittest.cc", | 62 "url_canon_unittest.cc", |
63 "url_parse_unittest.cc", | 63 "url_parse_unittest.cc", |
64 "url_test_utils.h", | 64 "url_test_utils.h", |
65 "url_util_unittest.cc", | 65 "url_util_unittest.cc", |
66 ] | 66 ] |
67 | 67 |
68 #if (is_posix && !is_mac && !is_ios) { | 68 #if (is_posix && !is_mac && !is_ios) { |
69 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 69 # if (use_allocator!="none") { |
70 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_
allocator=="see_use_tcmalloc" && linux_use_tcmalloc) { | |
71 # deps += "//base/allocator" | 70 # deps += "//base/allocator" |
72 # } | 71 # } |
73 #} | 72 #} |
74 | 73 |
75 # if (is_win) { | 74 # if (is_win) { |
76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
77 # 'msvs_disabled_warnings': [ 4267, ] | 76 # 'msvs_disabled_warnings': [ 4267, ] |
78 # } | 77 # } |
79 | 78 |
80 deps = [ | 79 deps = [ |
81 ":url", | 80 ":url", |
82 "//base:i18n", | 81 "//base:i18n", |
83 "//base/test:run_all_unittests", | 82 "//base/test:run_all_unittests", |
84 "//testing/gtest", | 83 "//testing/gtest", |
85 "//third_party/icu:icuuc", | 84 "//third_party/icu:icuuc", |
86 ] | 85 ] |
87 } | 86 } |
88 } | 87 } |
OLD | NEW |