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

Side by Side Diff: ppapi/ppapi_tests.gypi

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 | « net/net.gyp ('k') | printing/printing.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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ppapi_tests', 8 'target_name': 'ppapi_tests',
9 'type': 'loadable_module', 9 'type': 'loadable_module',
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 'ppapi_unittest_shared', 118 'ppapi_unittest_shared',
119 '../base/base.gyp:test_support_base', 119 '../base/base.gyp:test_support_base',
120 '../testing/gtest.gyp:gtest', 120 '../testing/gtest.gyp:gtest',
121 ], 121 ],
122 'sources': [ 122 'sources': [
123 'proxy/ppapi_perftests.cc', 123 'proxy/ppapi_perftests.cc',
124 'proxy/ppp_messaging_proxy_perftest.cc', 124 'proxy/ppp_messaging_proxy_perftest.cc',
125 ], 125 ],
126 'conditions': [ 126 'conditions': [
127 # See http://crbug.com/162998#c4 for why this is needed. 127 # See http://crbug.com/162998#c4 for why this is needed.
128 ['OS=="linux" and linux_use_tcmalloc==1', { 128 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
129 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
129 'dependencies': [ 130 'dependencies': [
130 '../base/allocator/allocator.gyp:allocator', 131 '../base/allocator/allocator.gyp:allocator',
131 ], 132 ],
132 }], 133 }],
133 ], 134 ],
134 }, 135 },
135 { 136 {
136 'target_name': 'ppapi_unittests', 137 'target_name': 'ppapi_unittests',
137 'type': 'executable', 138 'type': 'executable',
138 'variables': { 139 'variables': {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 'shared_impl/resource_tracker_unittest.cc', 196 'shared_impl/resource_tracker_unittest.cc',
196 'shared_impl/thread_aware_callback_unittest.cc', 197 'shared_impl/thread_aware_callback_unittest.cc',
197 'shared_impl/time_conversion_unittest.cc', 198 'shared_impl/time_conversion_unittest.cc',
198 'shared_impl/tracked_callback_unittest.cc', 199 'shared_impl/tracked_callback_unittest.cc',
199 'shared_impl/var_tracker_unittest.cc', 200 'shared_impl/var_tracker_unittest.cc',
200 'shared_impl/var_value_conversions_unittest.cc', 201 'shared_impl/var_value_conversions_unittest.cc',
201 ], 202 ],
202 'conditions': [ 203 'conditions': [
203 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { 204 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
204 'conditions': [ 205 'conditions': [
205 [ 'linux_use_tcmalloc == 1', { 206 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
207 [ '(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
206 'dependencies': [ 208 'dependencies': [
207 '../base/allocator/allocator.gyp:allocator', 209 '../base/allocator/allocator.gyp:allocator',
208 ], 210 ],
209 }], 211 }],
210 ], 212 ],
211 }], 213 }],
212 ], 214 ],
213 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 215 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
214 'msvs_disabled_warnings': [ 4267, ], 216 'msvs_disabled_warnings': [ 4267, ],
215 }, 217 },
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 ], 546 ],
545 'include_dirs': [ 547 'include_dirs': [
546 'lib/gl/include', 548 'lib/gl/include',
547 ], 549 ],
548 'sources': [ 550 'sources': [
549 'examples/media_stream_video/media_stream_video.cc', 551 'examples/media_stream_video/media_stream_video.cc',
550 ], 552 ],
551 }, 553 },
552 ], 554 ],
553 } 555 }
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698