Chromium Code Reviews| 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 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1301 # The version of GCC in use, set later in platforms that use GCC and have | 1301 # The version of GCC in use, set later in platforms that use GCC and have |
| 1302 # not explicitly chosen to build with clang. Currently, this means all | 1302 # not explicitly chosen to build with clang. Currently, this means all |
| 1303 # platforms except Windows, Mac and iOS. | 1303 # platforms except Windows, Mac and iOS. |
| 1304 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1304 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1305 # it takes effect here. | 1305 # it takes effect here. |
| 1306 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { | 1306 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { |
| 1307 'conditions': [ | 1307 'conditions': [ |
| 1308 ['OS=="android"', { | 1308 ['OS=="android"', { |
| 1309 # We directly set the gcc_version since we know what we use. | 1309 # We directly set the gcc_version since we know what we use. |
| 1310 'gcc_version%': 46, | 1310 'gcc_version%': 46, |
| 1311 'binutils_version%': 222, | |
| 1312 }, { | 1311 }, { |
| 1313 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1312 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
| 1314 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py a ssembler)', | |
| 1315 }], | 1313 }], |
| 1316 ], | 1314 ], |
| 1317 }, { | 1315 }, { |
| 1318 'gcc_version%': 0, | 1316 'gcc_version%': 0, |
| 1319 'binutils_version%': 0, | |
| 1320 }], | 1317 }], |
| 1321 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { | 1318 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { |
| 1322 'windows_sdk_path%': '<(windows_sdk_default_path)', | 1319 'windows_sdk_path%': '<(windows_sdk_default_path)', |
| 1323 }, { | 1320 }, { |
| 1324 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1321 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
| 1325 }], | 1322 }], |
| 1326 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { | 1323 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { |
| 1327 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1324 'directx_sdk_path%': '<(directx_sdk_default_path)', |
| 1328 }, { | 1325 }, { |
| 1329 'directx_sdk_path%': '$(DXSDK_DIR)', | 1326 'directx_sdk_path%': '$(DXSDK_DIR)', |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 1348 }], | 1345 }], |
| 1349 # All Chrome builds have breakpad symbols, but only process the | 1346 # All Chrome builds have breakpad symbols, but only process the |
| 1350 # symbols from official builds. | 1347 # symbols from official builds. |
| 1351 ['(branding=="Chrome" and buildtype=="Official")', { | 1348 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1352 'linux_dump_symbols%': 1, | 1349 'linux_dump_symbols%': 1, |
| 1353 | 1350 |
| 1354 # Omit unwind support in official release builds to save space. We | 1351 # Omit unwind support in official release builds to save space. We |
| 1355 # can use breakpad for these builds. | 1352 # can use breakpad for these builds. |
| 1356 'release_unwind_tables%': 0, | 1353 'release_unwind_tables%': 0, |
| 1357 }], | 1354 }], |
| 1355 ['OS=="android"', { | |
| 1356 'binutils_version%': 222, | |
| 1357 }, { | |
| 1358 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py a ssembler)', | |
| 1359 }], | |
| 1358 ], | 1360 ], |
| 1361 }, { | |
| 1362 'binutils_version%': 0, | |
| 1359 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1363 }], # os_posix==1 and OS!="mac" and OS!="ios" |
| 1360 ['OS=="ios"', { | 1364 ['OS=="ios"', { |
| 1361 'disable_nacl%': 1, | 1365 'disable_nacl%': 1, |
| 1362 'enable_background%': 0, | 1366 'enable_background%': 0, |
| 1363 'icu_use_data_file_flag%': 1, | 1367 'icu_use_data_file_flag%': 1, |
| 1364 'input_speech%': 0, | 1368 'input_speech%': 0, |
| 1365 'use_system_libxml%': 1, | 1369 'use_system_libxml%': 1, |
| 1366 'use_system_sqlite%': 1, | 1370 'use_system_sqlite%': 1, |
| 1367 'locales==': [ | 1371 'locales==': [ |
| 1368 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1372 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
| (...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3090 '-Wl,--no-as-needed', | 3094 '-Wl,--no-as-needed', |
| 3091 ], | 3095 ], |
| 3092 }], | 3096 }], |
| 3093 ['debug_unwind_tables==1', { | 3097 ['debug_unwind_tables==1', { |
| 3094 'cflags': ['-funwind-tables'], | 3098 'cflags': ['-funwind-tables'], |
| 3095 }, { | 3099 }, { |
| 3096 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'], | 3100 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'], |
| 3097 }], | 3101 }], |
| 3098 # http://gcc.gnu.org/wiki/DebugFission | 3102 # http://gcc.gnu.org/wiki/DebugFission |
| 3099 # Requires gold and gcc >= 4.7 or clang. | 3103 # Requires gold and gcc >= 4.7 or clang. |
| 3100 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=47) and bi nutils_version>=223', { | 3104 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=47) and bi nutils_version>=223', { |
|
Nico
2014/03/18 16:00:21
This still says 47 – probably just some old base v
mithro-old
2014/03/18 16:06:23
Yeah, just an old base version. Got too many of th
| |
| 3101 'cflags': ['-gsplit-dwarf'], | 3105 'cflags': ['-gsplit-dwarf'], |
| 3102 'ldflags': ['-Wl,--gdb-index'], | 3106 'ldflags': ['-Wl,--gdb-index'], |
| 3103 }], | 3107 }], |
| 3104 ], | 3108 ], |
| 3105 }, | 3109 }, |
| 3106 'Release_Base': { | 3110 'Release_Base': { |
| 3107 'variables': { | 3111 'variables': { |
| 3108 'release_optimize%': '2', | 3112 'release_optimize%': '2', |
| 3109 # Binaries become big and gold is unable to perform GC | 3113 # Binaries become big and gold is unable to perform GC |
| 3110 # and remove unused sections for some of test targets | 3114 # and remove unused sections for some of test targets |
| (...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5058 # settings in target dicts. SYMROOT is a special case, because many other | 5062 # settings in target dicts. SYMROOT is a special case, because many other |
| 5059 # Xcode variables depend on it, including variables such as | 5063 # Xcode variables depend on it, including variables such as |
| 5060 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5064 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5061 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5065 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5062 # files to appear (when present) in the UI as actual files and not red | 5066 # files to appear (when present) in the UI as actual files and not red |
| 5063 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5067 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5064 # and therefore SYMROOT, needs to be set at the project level. | 5068 # and therefore SYMROOT, needs to be set at the project level. |
| 5065 'SYMROOT': '<(DEPTH)/xcodebuild', | 5069 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5066 }, | 5070 }, |
| 5067 } | 5071 } |
| OLD | NEW |