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

Side by Side Diff: base/allocator/allocator.gyp

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | base/android/jni_generator/jni_generator.gyp » ('j') | cc/blink/cc_blink.gyp » ('J')
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 '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
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 }
OLDNEW
« no previous file with comments | « no previous file | base/android/jni_generator/jni_generator.gyp » ('j') | cc/blink/cc_blink.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698