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