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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2561 'cflags!': [ | 2561 'cflags!': [ |
2562 '-fno-ident', | 2562 '-fno-ident', |
2563 ], | 2563 ], |
2564 }], | 2564 }], |
2565 ['profiling==1', { | 2565 ['profiling==1', { |
2566 'cflags': [ | 2566 'cflags': [ |
2567 '-fno-omit-frame-pointer', | 2567 '-fno-omit-frame-pointer', |
2568 '-g', | 2568 '-g', |
2569 ], | 2569 ], |
2570 }], | 2570 }], |
| 2571 # Can be omitted to reduce output size. Does not seem to affect |
| 2572 # crash reporting. |
| 2573 ['target_arch=="ia32"', { |
| 2574 'cflags': [ |
| 2575 '-fno-unwind-tables', |
| 2576 '-fno-asynchronous-unwind-tables', |
| 2577 ], |
| 2578 }], |
2571 ], | 2579 ], |
2572 }, | 2580 }, |
2573 }, | 2581 }, |
2574 'variants': { | 2582 'variants': { |
2575 'coverage': { | 2583 'coverage': { |
2576 'cflags': ['-fprofile-arcs', '-ftest-coverage'], | 2584 'cflags': ['-fprofile-arcs', '-ftest-coverage'], |
2577 'ldflags': ['-fprofile-arcs'], | 2585 'ldflags': ['-fprofile-arcs'], |
2578 }, | 2586 }, |
2579 'profile': { | 2587 'profile': { |
2580 'cflags': ['-pg', '-g'], | 2588 'cflags': ['-pg', '-g'], |
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4046 # settings in target dicts. SYMROOT is a special case, because many other | 4054 # settings in target dicts. SYMROOT is a special case, because many other |
4047 # Xcode variables depend on it, including variables such as | 4055 # Xcode variables depend on it, including variables such as |
4048 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4056 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4049 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4057 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4050 # files to appear (when present) in the UI as actual files and not red | 4058 # files to appear (when present) in the UI as actual files and not red |
4051 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4059 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4052 # and therefore SYMROOT, needs to be set at the project level. | 4060 # and therefore SYMROOT, needs to be set at the project level. |
4053 'SYMROOT': '<(DEPTH)/xcodebuild', | 4061 'SYMROOT': '<(DEPTH)/xcodebuild', |
4054 }, | 4062 }, |
4055 } | 4063 } |
OLD | NEW |