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

Side by Side Diff: ui/events/events.gyp

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: ready with use_allocator 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 'gesture_detection/mock_motion_event.h', 271 'gesture_detection/mock_motion_event.h',
272 'gesture_detection/mock_motion_event.cc', 272 'gesture_detection/mock_motion_event.cc',
273 'gesture_detection/velocity_tracker_unittest.cc', 273 'gesture_detection/velocity_tracker_unittest.cc',
274 'keycodes/dom4/keycode_converter_unittest.cc', 274 'keycodes/dom4/keycode_converter_unittest.cc',
275 'latency_info_unittest.cc', 275 'latency_info_unittest.cc',
276 'ozone/evdev/key_event_converter_evdev_unittest.cc', 276 'ozone/evdev/key_event_converter_evdev_unittest.cc',
277 'ozone/evdev/touch_event_converter_evdev_unittest.cc', 277 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
278 'x/events_x_unittest.cc', 278 'x/events_x_unittest.cc',
279 ], 279 ],
280 'conditions': [ 280 'conditions': [
281 ['OS=="linux" and linux_use_tcmalloc==1', { 281 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
282 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
282 'dependencies': [ 283 'dependencies': [
283 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 284 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
284 ], 285 ],
285 }], 286 }],
286 # Exclude tests that rely on event_utils.h for platforms that do not 287 # Exclude tests that rely on event_utils.h for platforms that do not
287 # provide native cracking, i.e., platforms that use events_stub.cc. 288 # provide native cracking, i.e., platforms that use events_stub.cc.
288 ['OS!="win" and use_x11!=1 and use_ozone!=1', { 289 ['OS!="win" and use_x11!=1 and use_ozone!=1', {
289 'sources!': [ 290 'sources!': [
290 'event_unittest.cc', 291 'event_unittest.cc',
291 ], 292 ],
(...skipping 21 matching lines...) Expand all
313 'variables': { 314 'variables': {
314 'test_suite_name': 'events_unittests', 315 'test_suite_name': 'events_unittests',
315 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)', 316 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un ittests<(SHARED_LIB_SUFFIX)',
316 }, 317 },
317 'includes': [ '../../build/apk_test.gypi' ], 318 'includes': [ '../../build/apk_test.gypi' ],
318 }, 319 },
319 ], 320 ],
320 }], 321 }],
321 ], 322 ],
322 } 323 }
OLDNEW
« ash/ash.gyp ('K') | « ui/compositor/compositor.gyp ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698