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 4015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4026 'STRIP_INSTALLED_PRODUCT': 'YES', | 4026 'STRIP_INSTALLED_PRODUCT': 'YES', |
4027 }, | 4027 }, |
4028 }, | 4028 }, |
4029 'Debug_Base': { | 4029 'Debug_Base': { |
4030 'xcode_settings': { | 4030 'xcode_settings': { |
4031 # Remove dSYM to reduce build time. | 4031 # Remove dSYM to reduce build time. |
4032 'DEBUG_INFORMATION_FORMAT': 'dwarf', | 4032 'DEBUG_INFORMATION_FORMAT': 'dwarf', |
4033 }, | 4033 }, |
4034 }, | 4034 }, |
4035 }, | 4035 }, |
| 4036 'xcode_settings': { |
| 4037 # It is necessary to link with the -fobjc-arc flag to use |
| 4038 # subscripting on iOS < 6. |
| 4039 'OTHER_LDFLAGS': [ |
| 4040 '-fobjc-arc', |
| 4041 ], |
| 4042 }, |
4036 'conditions': [ | 4043 'conditions': [ |
4037 # TODO(justincohen): ninja builds don't support signing yet. | 4044 # TODO(justincohen): ninja builds don't support signing yet. |
4038 ['"<(GENERATOR)"!="ninja"', { | 4045 ['"<(GENERATOR)"!="ninja"', { |
4039 'xcode_settings': { | 4046 'xcode_settings': { |
4040 'conditions': [ | 4047 'conditions': [ |
4041 ['chromium_ios_signing', { | 4048 ['chromium_ios_signing', { |
4042 # iOS SDK wants everything for device signed. | 4049 # iOS SDK wants everything for device signed. |
4043 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', | 4050 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', |
4044 }, { | 4051 }, { |
4045 'CODE_SIGNING_REQUIRED': 'NO', | 4052 'CODE_SIGNING_REQUIRED': 'NO', |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4432 # settings in target dicts. SYMROOT is a special case, because many other | 4439 # settings in target dicts. SYMROOT is a special case, because many other |
4433 # Xcode variables depend on it, including variables such as | 4440 # Xcode variables depend on it, including variables such as |
4434 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4441 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4435 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4442 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4436 # files to appear (when present) in the UI as actual files and not red | 4443 # files to appear (when present) in the UI as actual files and not red |
4437 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4444 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4438 # and therefore SYMROOT, needs to be set at the project level. | 4445 # and therefore SYMROOT, needs to be set at the project level. |
4439 'SYMROOT': '<(DEPTH)/xcodebuild', | 4446 'SYMROOT': '<(DEPTH)/xcodebuild', |
4440 }, | 4447 }, |
4441 } | 4448 } |
OLD | NEW |