| 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 3050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3061 'configurations': { | 3061 'configurations': { |
| 3062 'Debug_Base': { | 3062 'Debug_Base': { |
| 3063 'variables': { | 3063 'variables': { |
| 3064 'debug_optimize%': '0', | 3064 'debug_optimize%': '0', |
| 3065 }, | 3065 }, |
| 3066 'defines': [ | 3066 'defines': [ |
| 3067 '_DEBUG', | 3067 '_DEBUG', |
| 3068 ], | 3068 ], |
| 3069 'cflags': [ | 3069 'cflags': [ |
| 3070 '-O>(debug_optimize)', | 3070 '-O>(debug_optimize)', |
| 3071 '-gdwarf-4', | 3071 '-g', |
| 3072 ], | 3072 ], |
| 3073 'conditions' : [ | 3073 'conditions' : [ |
| 3074 ['fastbuild==0', { | |
| 3075 'cflags': [ | |
| 3076 '-g3', | |
| 3077 ], | |
| 3078 }], | |
| 3079 ['OS=="android"', { | 3074 ['OS=="android"', { |
| 3080 'ldflags': [ | 3075 'ldflags': [ |
| 3081 # Only link with needed input sections. This is to avoid | 3076 # Only link with needed input sections. This is to avoid |
| 3082 # getting undefined reference to __cxa_bad_typeid in the CDU | 3077 # getting undefined reference to __cxa_bad_typeid in the CDU |
| 3083 # library. | 3078 # library. |
| 3084 '-Wl,--gc-sections', | 3079 '-Wl,--gc-sections', |
| 3085 # Warn in case of text relocations. | 3080 # Warn in case of text relocations. |
| 3086 '-Wl,--warn-shared-textrel', | 3081 '-Wl,--warn-shared-textrel', |
| 3087 ], | 3082 ], |
| 3088 }], | 3083 }], |
| (...skipping 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5108 # settings in target dicts. SYMROOT is a special case, because many other | 5103 # settings in target dicts. SYMROOT is a special case, because many other |
| 5109 # Xcode variables depend on it, including variables such as | 5104 # Xcode variables depend on it, including variables such as |
| 5110 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5105 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5111 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5106 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5112 # files to appear (when present) in the UI as actual files and not red | 5107 # files to appear (when present) in the UI as actual files and not red |
| 5113 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5108 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5114 # and therefore SYMROOT, needs to be set at the project level. | 5109 # and therefore SYMROOT, needs to be set at the project level. |
| 5115 'SYMROOT': '<(DEPTH)/xcodebuild', | 5110 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5116 }, | 5111 }, |
| 5117 } | 5112 } |
| OLD | NEW |