Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: url/BUILD.gn

Issue 177353002: Add use_allocator instead of linux_use_tcmalloc to switch the allocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/views.gyp ('k') | url/url.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « ui/views/views.gyp ('k') | url/url.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698