| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'variables': { | 7 'variables': { |
| 8 # This code gets run a lot and debugged rarely, so it should be fast | 8 # This code gets run a lot and debugged rarely, so it should be fast |
| 9 # by default. See http://crbug.com/388949. | 9 # by default. See http://crbug.com/388949. |
| 10 'debug_optimize': '2', | 10 'debug_optimize': '2', |
| 11 'win_debug_Optimization': '2', | 11 'win_debug_Optimization': '2', |
| 12 # Run time checks are incompatible with any level of optimizations. | 12 # Run time checks are incompatible with any level of optimizations. |
| 13 'win_debug_RuntimeChecks': '0', | 13 'win_debug_RuntimeChecks': '0', |
| 14 }, | 14 }, |
| 15 'configurations': { |
| 16 'Release': { |
| 17 'conditions': [ |
| 18 ['OS=="android"', { |
| 19 'cflags!': ['-Os'], |
| 20 'cflags': ['-O2'], |
| 21 }], |
| 22 ], |
| 23 }, |
| 24 }, |
| 15 }, | 25 }, |
| 16 'variables': { | 26 'variables': { |
| 17 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', | 27 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', |
| 18 'use_vtable_verify%': 0, | 28 'use_vtable_verify%': 0, |
| 19 }, | 29 }, |
| 20 'targets': [ | 30 'targets': [ |
| 21 # Only executables and not libraries should depend on the | 31 # Only executables and not libraries should depend on the |
| 22 # allocator target; only the application (the final executable) | 32 # allocator target; only the application (the final executable) |
| 23 # knows what allocator makes sense. | 33 # knows what allocator makes sense. |
| 24 { | 34 { |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 'sources': [ | 640 'sources': [ |
| 631 'type_profiler_map_unittest.cc', | 641 'type_profiler_map_unittest.cc', |
| 632 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 642 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
| 633 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 643 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
| 634 ], | 644 ], |
| 635 }, | 645 }, |
| 636 ], | 646 ], |
| 637 }], | 647 }], |
| 638 ], | 648 ], |
| 639 } | 649 } |
| OLD | NEW |