| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 ['win_use_allocator_shim==0', { | 1196 ['win_use_allocator_shim==0', { |
| 1197 'defines': ['NO_TCMALLOC'], | 1197 'defines': ['NO_TCMALLOC'], |
| 1198 }], | 1198 }], |
| 1199 ['OS=="linux"', { | 1199 ['OS=="linux"', { |
| 1200 'cflags': [ | 1200 'cflags': [ |
| 1201 '<@(release_extra_cflags)', | 1201 '<@(release_extra_cflags)', |
| 1202 ], | 1202 ], |
| 1203 }], | 1203 }], |
| 1204 ], | 1204 ], |
| 1205 }, | 1205 }, |
| 1206 'Purify_Base': { | |
| 1207 'abstract': 1, | |
| 1208 'defines': [ | |
| 1209 'PURIFY', | |
| 1210 'NO_TCMALLOC', | |
| 1211 ], | |
| 1212 'msvs_settings': { | |
| 1213 'VCCLCompilerTool': { | |
| 1214 'Optimization': '0', | |
| 1215 'RuntimeLibrary': '0', | |
| 1216 'BufferSecurityCheck': 'false', | |
| 1217 }, | |
| 1218 'VCLinkerTool': { | |
| 1219 'EnableCOMDATFolding': '1', | |
| 1220 'LinkIncremental': '1', | |
| 1221 }, | |
| 1222 }, | |
| 1223 }, | |
| 1224 # | 1206 # |
| 1225 # Concrete configurations | 1207 # Concrete configurations |
| 1226 # | 1208 # |
| 1227 'Debug': { | 1209 'Debug': { |
| 1228 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], | 1210 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], |
| 1229 }, | 1211 }, |
| 1230 'Release': { | 1212 'Release': { |
| 1231 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], | 1213 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], |
| 1232 'conditions': [ | 1214 'conditions': [ |
| 1233 ['msvs_use_common_release', { | 1215 ['msvs_use_common_release', { |
| 1234 'includes': ['release.gypi'], | 1216 'includes': ['release.gypi'], |
| 1235 }], | 1217 }], |
| 1236 ] | 1218 ] |
| 1237 }, | 1219 }, |
| 1238 'conditions': [ | 1220 'conditions': [ |
| 1239 [ 'OS=="win"', { | 1221 [ 'OS=="win"', { |
| 1240 # TODO(bradnelson): add a gyp mechanism to make this more graceful. | 1222 # TODO(bradnelson): add a gyp mechanism to make this more graceful. |
| 1241 'Purify': { | |
| 1242 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base', 'Purify'
], | |
| 1243 }, | |
| 1244 'Debug_x64': { | 1223 'Debug_x64': { |
| 1245 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], | 1224 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], |
| 1246 }, | 1225 }, |
| 1247 'Release_x64': { | 1226 'Release_x64': { |
| 1248 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 1227 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |
| 1249 }, | 1228 }, |
| 1250 'Purify_x64': { | |
| 1251 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify_
Base'], | |
| 1252 }, | |
| 1253 }], | 1229 }], |
| 1254 ], | 1230 ], |
| 1255 }, | 1231 }, |
| 1256 }, | 1232 }, |
| 1257 'conditions': [ | 1233 'conditions': [ |
| 1258 ['os_posix==1 and OS!="mac"', { | 1234 ['os_posix==1 and OS!="mac"', { |
| 1259 'target_defaults': { | 1235 'target_defaults': { |
| 1260 # Enable -Werror by default, but put it in a variable so it can | 1236 # Enable -Werror by default, but put it in a variable so it can |
| 1261 # be disabled in ~/.gyp/include.gypi on the valgrind builders. | 1237 # be disabled in ~/.gyp/include.gypi on the valgrind builders. |
| 1262 'variables': { | 1238 'variables': { |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1957 # settings in target dicts. SYMROOT is a special case, because many other | 1933 # settings in target dicts. SYMROOT is a special case, because many other |
| 1958 # Xcode variables depend on it, including variables such as | 1934 # Xcode variables depend on it, including variables such as |
| 1959 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1935 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1960 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1936 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1961 # files to appear (when present) in the UI as actual files and not red | 1937 # files to appear (when present) in the UI as actual files and not red |
| 1962 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1938 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1963 # and therefore SYMROOT, needs to be set at the project level. | 1939 # and therefore SYMROOT, needs to be set at the project level. |
| 1964 'SYMROOT': '<(DEPTH)/xcodebuild', | 1940 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1965 }, | 1941 }, |
| 1966 } | 1942 } |
| OLD | NEW |