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 'use_vtable_verify%': 0, | 9 'use_vtable_verify%': 0, |
10 }, | 10 }, |
11 'targets': [ | 11 'targets': [ |
| 12 # Only executables and not libraries should depend on the |
| 13 # allocator target; only the application (the final executable) |
| 14 # knows what allocator makes sense. |
12 { | 15 { |
13 'target_name': 'allocator', | 16 'target_name': 'allocator', |
14 'type': 'static_library', | 17 'type': 'static_library', |
15 # Make sure the allocation library is optimized to | 18 # Make sure the allocation library is optimized to |
16 # the hilt in official builds. | 19 # the hilt in official builds. |
17 'variables': { | 20 'variables': { |
18 'optimize': 'max', | 21 'optimize': 'max', |
19 }, | 22 }, |
20 'include_dirs': [ | 23 'include_dirs': [ |
21 '.', | 24 '.', |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 'sources': [ | 662 'sources': [ |
660 'type_profiler_map_unittests.cc', | 663 'type_profiler_map_unittests.cc', |
661 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 664 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
662 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 665 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
663 ], | 666 ], |
664 }, | 667 }, |
665 ], | 668 ], |
666 }], | 669 }], |
667 ], | 670 ], |
668 } | 671 } |
OLD | NEW |