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

Side by Side Diff: build/common.gypi

Issue 1426433002: ios: Use a 10.7 deployment target for host builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 1921
1922 # Normally, mac_sdk_min is used to find an SDK that Xcode knows 1922 # Normally, mac_sdk_min is used to find an SDK that Xcode knows
1923 # about that is at least the specified version. In official builds, 1923 # about that is at least the specified version. In official builds,
1924 # the SDK must match mac_sdk_min exactly. If the SDK is installed 1924 # the SDK must match mac_sdk_min exactly. If the SDK is installed
1925 # someplace that Xcode doesn't know about, set mac_sdk_path to the 1925 # someplace that Xcode doesn't know about, set mac_sdk_path to the
1926 # path to the SDK; when set to a non-empty string, SDK detection 1926 # path to the SDK; when set to a non-empty string, SDK detection
1927 # based on mac_sdk_min will be bypassed entirely. 1927 # based on mac_sdk_min will be bypassed entirely.
1928 'conditions': [ 1928 'conditions': [
1929 ['OS=="ios"', { 1929 ['OS=="ios"', {
1930 'mac_sdk_min%': '10.8', 1930 'mac_sdk_min%': '10.8',
1931 # The iOS build can use Xcode's clang, and that will complain
1932 # about -stdlib=libc++ if the deployment target is not at least
1933 # 10.7.
1934 'mac_deployment_target%': '10.7',
1931 }, { # else OS!="ios" 1935 }, { # else OS!="ios"
1932 'mac_sdk_min%': '10.10', 1936 'mac_sdk_min%': '10.10',
1937 'mac_deployment_target%': '10.6',
1933 }], 1938 }],
1934 ], 1939 ],
1935 'mac_sdk_path%': '', 1940 'mac_sdk_path%': '',
1936 1941
1937 'mac_deployment_target%': '10.6',
1938 }, 1942 },
1939 1943
1940 'mac_sdk_min': '<(mac_sdk_min)', 1944 'mac_sdk_min': '<(mac_sdk_min)',
1941 'mac_sdk_path': '<(mac_sdk_path)', 1945 'mac_sdk_path': '<(mac_sdk_path)',
1942 'mac_deployment_target': '<(mac_deployment_target)', 1946 'mac_deployment_target': '<(mac_deployment_target)',
1943 1947
1944 # Compile in Breakpad support by default so that it can be 1948 # Compile in Breakpad support by default so that it can be
1945 # tested, even if it is not enabled by default at runtime. 1949 # tested, even if it is not enabled by default at runtime.
1946 'mac_breakpad_compiled_in%': 1, 1950 'mac_breakpad_compiled_in%': 1,
1947 'conditions': [ 1951 'conditions': [
(...skipping 3493 matching lines...) Expand 10 before | Expand all | Expand 10 after
5441 ['_toolset=="host"', { 5445 ['_toolset=="host"', {
5442 'xcode_settings': { 5446 'xcode_settings': {
5443 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot 5447 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot
5444 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', 5448 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
5445 'VALID_ARCHS': [ 5449 'VALID_ARCHS': [
5446 'x86_64', 5450 'x86_64',
5447 ], 5451 ],
5448 'ARCHS': [ 5452 'ARCHS': [
5449 'x86_64', 5453 'x86_64',
5450 ], 5454 ],
5455 'WARNING_CFLAGS': [
5456 # TODO(thakis): Remove this once the deployment target on OS X
5457 # is 10.7 too, http://crbug.com/547071
5458 # In general, it is NOT OK to add -Wno-deprecated-declarations
5459 # anywhere, you should instead fix your code instead. But host
5460 # compiles on iOS are really mac compiles, so this will be fixed
5461 # when the mac deployment target is increased. (Some of the
5462 # fixes depend on OS X 10.7 so they can't be done before mac
5463 # upgrades).
5464 '-Wno-deprecated-declarations',
5465 ],
5451 }, 5466 },
5452 }], 5467 }],
5453 ['_toolset=="target"', { 5468 ['_toolset=="target"', {
5454 'xcode_settings': { 5469 'xcode_settings': {
5455 # This section should be for overriding host settings. But, 5470 # This section should be for overriding host settings. But,
5456 # since we can't negate the iphone deployment target above, we 5471 # since we can't negate the iphone deployment target above, we
5457 # instead set it here for target only. 5472 # instead set it here for target only.
5458 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)', 5473 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)',
5459 'ARCHS': ['$(ARCHS_STANDARD_INCLUDING_64_BIT)'], 5474 'ARCHS': ['$(ARCHS_STANDARD_INCLUDING_64_BIT)'],
5460 }, 5475 },
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
6297 # settings in target dicts. SYMROOT is a special case, because many other 6312 # settings in target dicts. SYMROOT is a special case, because many other
6298 # Xcode variables depend on it, including variables such as 6313 # Xcode variables depend on it, including variables such as
6299 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6314 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6300 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6315 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6301 # files to appear (when present) in the UI as actual files and not red 6316 # files to appear (when present) in the UI as actual files and not red
6302 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6317 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6303 # and therefore SYMROOT, needs to be set at the project level. 6318 # and therefore SYMROOT, needs to be set at the project level.
6304 'SYMROOT': '<(DEPTH)/xcodebuild', 6319 'SYMROOT': '<(DEPTH)/xcodebuild',
6305 }, 6320 },
6306 } 6321 }
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