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 3981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3992 }], | 3992 }], |
3993 ], | 3993 ], |
3994 }, | 3994 }, |
3995 'xcode_settings': { | 3995 'xcode_settings': { |
3996 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 3996 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
3997 # (Equivalent to -fPIC) | 3997 # (Equivalent to -fPIC) |
3998 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min | 3998 # MACOSX_DEPLOYMENT_TARGET maps to -mmacosx-version-min |
3999 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 3999 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
4000 # Keep pch files below xcodebuild/. | 4000 # Keep pch files below xcodebuild/. |
4001 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe
aders', | 4001 'SHARED_PRECOMPS_DIR': '$(CONFIGURATION_BUILD_DIR)/SharedPrecompiledHe
aders', |
4002 'OTHER_CFLAGS': [ | 4002 |
4003 '-fno-strict-aliasing', # See http://crbug.com/32204 | 4003 # -fno-strict-aliasing, see http://crbug.com/32204 |
4004 ], | 4004 'GCC_STRICT_ALIASING': 'NO', |
4005 }, | 4005 }, |
4006 'target_conditions': [ | 4006 'target_conditions': [ |
4007 ['_type=="executable"', { | 4007 ['_type=="executable"', { |
4008 'postbuilds': [ | 4008 'postbuilds': [ |
4009 { | 4009 { |
4010 # Arranges for data (heap) pages to be protected against | 4010 # Arranges for data (heap) pages to be protected against |
4011 # code execution when running on Mac OS X 10.7 ("Lion"), and | 4011 # code execution when running on Mac OS X 10.7 ("Lion"), and |
4012 # ensures that the position-independent executable (PIE) bit | 4012 # ensures that the position-independent executable (PIE) bit |
4013 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). | 4013 # is set for ASLR when running on Mac OS X 10.5 ("Leopard"). |
4014 'variables': { | 4014 'variables': { |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4643 # settings in target dicts. SYMROOT is a special case, because many other | 4643 # settings in target dicts. SYMROOT is a special case, because many other |
4644 # Xcode variables depend on it, including variables such as | 4644 # Xcode variables depend on it, including variables such as |
4645 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4645 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4646 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4646 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4647 # files to appear (when present) in the UI as actual files and not red | 4647 # files to appear (when present) in the UI as actual files and not red |
4648 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4648 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4649 # and therefore SYMROOT, needs to be set at the project level. | 4649 # and therefore SYMROOT, needs to be set at the project level. |
4650 'SYMROOT': '<(DEPTH)/xcodebuild', | 4650 'SYMROOT': '<(DEPTH)/xcodebuild', |
4651 }, | 4651 }, |
4652 } | 4652 } |
OLD | NEW |