Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 'variables': { | 6 'variables': { |
| 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', | 7 'jemalloc_dir': '../../third_party/jemalloc/chromium', |
| 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', | 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 523 '<(tcmalloc_dir)/src', | 523 '<(tcmalloc_dir)/src', |
| 524 ], | 524 ], |
| 525 'dependencies': [ | 525 'dependencies': [ |
| 526 '../../testing/gtest.gyp:gtest', | 526 '../../testing/gtest.gyp:gtest', |
| 527 '../base.gyp:base', | 527 '../base.gyp:base', |
| 528 'allocator', | 528 'allocator', |
| 529 ], | 529 ], |
| 530 }, | 530 }, |
| 531 ], | 531 ], |
| 532 }], | 532 }], |
| 533 ['clang_profiling_allocated_type==1', { | |
| 534 'targets': [ | |
| 535 { | |
| 536 'target_name': 'allocated_type_profiler_tcmalloc', | |
| 537 'type': 'static_library', | |
| 538 'include_dirs': [ | |
| 539 '.', | |
| 540 '<(tcmalloc_dir)/src/base', | |
| 541 '<(tcmalloc_dir)/src', | |
| 542 '../..', | |
| 543 ], | |
| 544 'sources': [ | |
| 545 'allocated_type_profiler_control.h', | |
| 546 'allocated_type_profiler.h', | |
| 547 'allocated_type_profiler_tcmalloc.cc', | |
|
Ryan Sleevi
2012/08/10 04:16:09
nit: sort
Dai Mikurube (NOT FULLTIME)
2012/08/10 07:30:03
Done.
| |
| 548 '<(tcmalloc_dir)/src/allocated_type_map.cc', | |
| 549 '<(tcmalloc_dir)/src/gperftools/allocated_type_map.h', | |
| 550 ], | |
| 551 }, | |
| 552 { | |
| 553 'target_name': 'allocated_type_profiler_ignore', | |
| 554 'type': 'static_library', | |
| 555 'include_dirs': [ | |
| 556 '.', | |
| 557 '<(tcmalloc_dir)/src/base', | |
| 558 '<(tcmalloc_dir)/src', | |
| 559 '../..', | |
| 560 ], | |
| 561 'sources': [ | |
| 562 'allocated_type_profiler.h', | |
| 563 'allocated_type_profiler_ignore.cc', | |
| 564 ], | |
| 565 }, | |
| 566 { | |
| 567 'target_name': 'allocated_type_profiler_log', | |
|
Ryan Sleevi
2012/08/10 04:16:09
Can you explain why you're using three separate ta
Dai Mikurube (NOT FULLTIME)
2012/08/10 07:30:03
Please read my reply at http://codereview.chromium
| |
| 568 'type': 'static_library', | |
| 569 'include_dirs': [ | |
| 570 '.', | |
| 571 '<(tcmalloc_dir)/src/base', | |
| 572 '<(tcmalloc_dir)/src', | |
| 573 '../..', | |
| 574 ], | |
| 575 'sources': [ | |
| 576 'allocated_type_profiler.h', | |
| 577 'allocated_type_profiler_log.cc', | |
| 578 ], | |
| 579 }, | |
| 580 ], | |
| 581 }], | |
| 533 ], | 582 ], |
| 534 } | 583 } |
| OLD | NEW |