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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 ['win_use_allocator_shim==0', { | 1181 ['win_use_allocator_shim==0', { |
1182 'defines': ['NO_TCMALLOC'], | 1182 'defines': ['NO_TCMALLOC'], |
1183 }], | 1183 }], |
1184 ['OS=="linux"', { | 1184 ['OS=="linux"', { |
1185 'cflags': [ | 1185 'cflags': [ |
1186 '<@(release_extra_cflags)', | 1186 '<@(release_extra_cflags)', |
1187 ], | 1187 ], |
1188 }], | 1188 }], |
1189 ], | 1189 ], |
1190 }, | 1190 }, |
1191 'Purify_Base': { | |
1192 'abstract': 1, | |
1193 'defines': [ | |
1194 'PURIFY', | |
1195 'NO_TCMALLOC', | |
1196 ], | |
1197 'msvs_settings': { | |
1198 'VCCLCompilerTool': { | |
1199 'Optimization': '0', | |
1200 'RuntimeLibrary': '0', | |
1201 'BufferSecurityCheck': 'false', | |
1202 }, | |
1203 'VCLinkerTool': { | |
1204 'EnableCOMDATFolding': '1', | |
1205 'LinkIncremental': '1', | |
1206 }, | |
1207 }, | |
1208 }, | |
1209 # | 1191 # |
1210 # Concrete configurations | 1192 # Concrete configurations |
1211 # | 1193 # |
1212 'Debug': { | 1194 'Debug': { |
1213 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], | 1195 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], |
1214 }, | 1196 }, |
1215 'Release': { | 1197 'Release': { |
1216 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], | 1198 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], |
1217 'conditions': [ | 1199 'conditions': [ |
1218 ['msvs_use_common_release', { | 1200 ['msvs_use_common_release', { |
1219 'includes': ['release.gypi'], | 1201 'includes': ['release.gypi'], |
1220 }], | 1202 }], |
1221 ] | 1203 ] |
1222 }, | 1204 }, |
1223 'conditions': [ | 1205 'conditions': [ |
1224 [ 'OS=="win"', { | 1206 [ 'OS=="win"', { |
1225 # TODO(bradnelson): add a gyp mechanism to make this more graceful. | 1207 # TODO(bradnelson): add a gyp mechanism to make this more graceful. |
1226 'Purify': { | |
1227 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base', 'Purify'
], | |
1228 }, | |
1229 'Debug_x64': { | 1208 'Debug_x64': { |
1230 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], | 1209 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], |
1231 }, | 1210 }, |
1232 'Release_x64': { | 1211 'Release_x64': { |
1233 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 1212 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |
1234 }, | 1213 }, |
1235 'Purify_x64': { | |
1236 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base', 'Purify_
Base'], | |
1237 }, | |
1238 }], | 1214 }], |
1239 ], | 1215 ], |
1240 }, | 1216 }, |
1241 }, | 1217 }, |
1242 'conditions': [ | 1218 'conditions': [ |
1243 ['os_posix==1 and OS!="mac"', { | 1219 ['os_posix==1 and OS!="mac"', { |
1244 'target_defaults': { | 1220 'target_defaults': { |
1245 # Enable -Werror by default, but put it in a variable so it can | 1221 # Enable -Werror by default, but put it in a variable so it can |
1246 # be disabled in ~/.gyp/include.gypi on the valgrind builders. | 1222 # be disabled in ~/.gyp/include.gypi on the valgrind builders. |
1247 'variables': { | 1223 'variables': { |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1934 # settings in target dicts. SYMROOT is a special case, because many other | 1910 # settings in target dicts. SYMROOT is a special case, because many other |
1935 # Xcode variables depend on it, including variables such as | 1911 # Xcode variables depend on it, including variables such as |
1936 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1912 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1937 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1913 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1938 # files to appear (when present) in the UI as actual files and not red | 1914 # files to appear (when present) in the UI as actual files and not red |
1939 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1915 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1940 # and therefore SYMROOT, needs to be set at the project level. | 1916 # and therefore SYMROOT, needs to be set at the project level. |
1941 'SYMROOT': '<(DEPTH)/xcodebuild', | 1917 'SYMROOT': '<(DEPTH)/xcodebuild', |
1942 }, | 1918 }, |
1943 } | 1919 } |
OLD | NEW |