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 2927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2938 # crash reporting. | 2938 # crash reporting. |
2939 ['target_arch=="ia32"', { | 2939 ['target_arch=="ia32"', { |
2940 'cflags': [ | 2940 'cflags': [ |
2941 '-fno-unwind-tables', | 2941 '-fno-unwind-tables', |
2942 '-fno-asynchronous-unwind-tables', | 2942 '-fno-asynchronous-unwind-tables', |
2943 ], | 2943 ], |
2944 }], | 2944 }], |
2945 ], | 2945 ], |
2946 }, | 2946 }, |
2947 }, | 2947 }, |
2948 'variants': { | |
2949 'coverage': { | |
2950 'cflags': ['-fprofile-arcs', '-ftest-coverage'], | |
2951 'ldflags': ['-fprofile-arcs'], | |
2952 }, | |
2953 'profile': { | |
2954 'cflags': ['-pg', '-g'], | |
2955 'ldflags': ['-pg'], | |
2956 }, | |
2957 'symbols': { | |
2958 'cflags': ['-g'], | |
2959 }, | |
2960 }, | |
2961 'conditions': [ | 2948 'conditions': [ |
2962 ['target_arch=="ia32"', { | 2949 ['target_arch=="ia32"', { |
2963 'target_conditions': [ | 2950 'target_conditions': [ |
2964 ['_toolset=="target"', { | 2951 ['_toolset=="target"', { |
2965 'asflags': [ | 2952 'asflags': [ |
2966 # Needed so that libs with .s files (e.g. libicudata.a) | 2953 # Needed so that libs with .s files (e.g. libicudata.a) |
2967 # are compatible with the general 32-bit-ness. | 2954 # are compatible with the general 32-bit-ness. |
2968 '-32', | 2955 '-32', |
2969 ], | 2956 ], |
2970 # All floating-point computations on x87 happens in 80-bit | 2957 # All floating-point computations on x87 happens in 80-bit |
(...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4742 # settings in target dicts. SYMROOT is a special case, because many other | 4729 # settings in target dicts. SYMROOT is a special case, because many other |
4743 # Xcode variables depend on it, including variables such as | 4730 # Xcode variables depend on it, including variables such as |
4744 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4731 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4745 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4732 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4746 # files to appear (when present) in the UI as actual files and not red | 4733 # files to appear (when present) in the UI as actual files and not red |
4747 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4734 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4748 # and therefore SYMROOT, needs to be set at the project level. | 4735 # and therefore SYMROOT, needs to be set at the project level. |
4749 'SYMROOT': '<(DEPTH)/xcodebuild', | 4736 'SYMROOT': '<(DEPTH)/xcodebuild', |
4750 }, | 4737 }, |
4751 } | 4738 } |
OLD | NEW |