Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: build/common.gypi

Issue 199333007: Moving binutils version extraction so it works with clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing the binutil version for the android x64 toolchain. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'conditions': [ 1310 'conditions': [
1311 ['target_arch=="x64"', { 1311 ['target_arch=="x64"', {
1312 'gcc_version%': 48, 1312 'gcc_version%': 48,
1313 }, { 1313 }, {
1314 'gcc_version%': 46, 1314 'gcc_version%': 46,
1315 }], 1315 }],
1316 ], 1316 ],
1317 'binutils_version%': 222,
1318 }, { 1317 }, {
1319 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 1318 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
1320 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py a ssembler)',
1321 }], 1319 }],
1322 ], 1320 ],
1323 }, { 1321 }, {
1324 'gcc_version%': 0, 1322 'gcc_version%': 0,
1325 'binutils_version%': 0,
1326 }], 1323 }],
1327 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { 1324 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', {
1328 'windows_sdk_path%': '<(windows_sdk_default_path)', 1325 'windows_sdk_path%': '<(windows_sdk_default_path)',
1329 }, { 1326 }, {
1330 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', 1327 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0',
1331 }], 1328 }],
1332 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { 1329 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', {
1333 'directx_sdk_path%': '<(directx_sdk_default_path)', 1330 'directx_sdk_path%': '<(directx_sdk_default_path)',
1334 }, { 1331 }, {
1335 'directx_sdk_path%': '$(DXSDK_DIR)', 1332 'directx_sdk_path%': '$(DXSDK_DIR)',
(...skipping 18 matching lines...) Expand all
1354 }], 1351 }],
1355 # All Chrome builds have breakpad symbols, but only process the 1352 # All Chrome builds have breakpad symbols, but only process the
1356 # symbols from official builds. 1353 # symbols from official builds.
1357 ['(branding=="Chrome" and buildtype=="Official")', { 1354 ['(branding=="Chrome" and buildtype=="Official")', {
1358 'linux_dump_symbols%': 1, 1355 'linux_dump_symbols%': 1,
1359 1356
1360 # Omit unwind support in official release builds to save space. We 1357 # Omit unwind support in official release builds to save space. We
1361 # can use breakpad for these builds. 1358 # can use breakpad for these builds.
1362 'release_unwind_tables%': 0, 1359 'release_unwind_tables%': 0,
1363 }], 1360 }],
1361 ['OS=="android"', {
1362 'conditions': [
1363 ['target_arch=="x64"', {
1364 'binutils_version%': 223,
1365 }, {
1366 'binutils_version%': 222,
1367 }],
1368 ],
1369 }, {
1370 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py a ssembler)',
1371 }],
1364 ], 1372 ],
1373 }, {
1374 'binutils_version%': 0,
1365 }], # os_posix==1 and OS!="mac" and OS!="ios" 1375 }], # os_posix==1 and OS!="mac" and OS!="ios"
1366 ['OS=="ios"', { 1376 ['OS=="ios"', {
1367 'disable_nacl%': 1, 1377 'disable_nacl%': 1,
1368 'enable_background%': 0, 1378 'enable_background%': 0,
1369 'icu_use_data_file_flag%': 1, 1379 'icu_use_data_file_flag%': 1,
1370 'input_speech%': 0, 1380 'input_speech%': 0,
1371 'use_system_libxml%': 1, 1381 'use_system_libxml%': 1,
1372 'use_system_sqlite%': 1, 1382 'use_system_sqlite%': 1,
1373 'locales==': [ 1383 'locales==': [
1374 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', 1384 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX',
(...skipping 3728 matching lines...) Expand 10 before | Expand all | Expand 10 after
5103 # settings in target dicts. SYMROOT is a special case, because many other 5113 # settings in target dicts. SYMROOT is a special case, because many other
5104 # Xcode variables depend on it, including variables such as 5114 # Xcode variables depend on it, including variables such as
5105 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5115 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5106 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5116 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5107 # files to appear (when present) in the UI as actual files and not red 5117 # files to appear (when present) in the UI as actual files and not red
5108 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5118 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5109 # and therefore SYMROOT, needs to be set at the project level. 5119 # and therefore SYMROOT, needs to be set at the project level.
5110 'SYMROOT': '<(DEPTH)/xcodebuild', 5120 'SYMROOT': '<(DEPTH)/xcodebuild',
5111 }, 5121 },
5112 } 5122 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698