| 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 external = true | 6 external = true |
| 7 if (is_win) { | 7 if (is_win) { |
| 8 # Don't conflict with Windows' "url.dll". | 8 # Don't conflict with Windows' "url.dll". |
| 9 output_name = "url_lib" | 9 output_name = "url_lib" |
| 10 } | 10 } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 external = true | 60 external = true |
| 61 sources = [ | 61 sources = [ |
| 62 "gurl_unittest.cc", | 62 "gurl_unittest.cc", |
| 63 "url_canon_unittest.cc", | 63 "url_canon_unittest.cc", |
| 64 "url_parse_unittest.cc", | 64 "url_parse_unittest.cc", |
| 65 "url_test_utils.h", | 65 "url_test_utils.h", |
| 66 "url_util_unittest.cc", | 66 "url_util_unittest.cc", |
| 67 ] | 67 ] |
| 68 | 68 |
| 69 #if (is_posix && !is_mac && !is_ios) { | 69 #if (is_posix && !is_mac && !is_ios) { |
| 70 # if (linux_use_tcmalloc) { | 70 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
| 71 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_al
locator=="see_use_tcmalloc" && linux_use_tcmalloc) { |
| 71 # deps += "//base/allocator" | 72 # deps += "//base/allocator" |
| 72 # } | 73 # } |
| 73 #} | 74 #} |
| 74 | 75 |
| 75 # if (is_win) { | 76 # if (is_win) { |
| 76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 77 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 77 # 'msvs_disabled_warnings': [ 4267, ] | 78 # 'msvs_disabled_warnings': [ 4267, ] |
| 78 # } | 79 # } |
| 79 | 80 |
| 80 deps = [ | 81 deps = [ |
| 81 ":url", | 82 ":url", |
| 82 "//base:base_i18n", | 83 "//base:base_i18n", |
| 83 "//base/test:run_all_unittests", | 84 "//base/test:run_all_unittests", |
| 84 "//testing/gtest", | 85 "//testing/gtest", |
| 85 "//third_party/icu:icuuc", | 86 "//third_party/icu:icuuc", |
| 86 ] | 87 ] |
| 87 } | 88 } |
| OLD | NEW |