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 5081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5092 ['clang_xcode==1', { | 5092 ['clang_xcode==1', { |
5093 'WARNING_CFLAGS': [ | 5093 'WARNING_CFLAGS': [ |
5094 '-Wno-unknown-warning-option', | 5094 '-Wno-unknown-warning-option', |
5095 ], | 5095 ], |
5096 }], | 5096 }], |
5097 | 5097 |
5098 # Limit the valid architectures depending on "target_subarch". | 5098 # Limit the valid architectures depending on "target_subarch". |
5099 # This need to include the "arm" architectures but also the "x86" | 5099 # This need to include the "arm" architectures but also the "x86" |
5100 # ones (they are used when building for the simulator). | 5100 # ones (they are used when building for the simulator). |
5101 ['target_subarch=="arm32"', { | 5101 ['target_subarch=="arm32"', { |
5102 'VALID_ARCHS': ['armv7', 'armv7s', 'i386'], | 5102 'VALID_ARCHS': ['armv7', 'i386'], |
5103 }], | 5103 }], |
5104 ['target_subarch=="arm64"', { | 5104 ['target_subarch=="arm64"', { |
5105 'VALID_ARCHS': ['arm64', 'x86_64'], | 5105 'VALID_ARCHS': ['arm64', 'x86_64'], |
5106 }], | 5106 }], |
5107 ['target_subarch=="both"', { | 5107 ['target_subarch=="both"', { |
5108 'VALID_ARCHS': ['arm64', 'armv7', 'armv7s', 'x86_64', 'i386'], | 5108 'VALID_ARCHS': ['arm64', 'armv7', 'x86_64', 'i386'], |
5109 }], | 5109 }], |
5110 ['use_system_libcxx==1', { | 5110 ['use_system_libcxx==1', { |
5111 'target_conditions': [ | 5111 'target_conditions': [ |
5112 # Only use libc++ when building target for iOS not when building | 5112 # Only use libc++ when building target for iOS not when building |
5113 # tools for the host (OS X) as Mac targets OS X SDK 10.6 which | 5113 # tools for the host (OS X) as Mac targets OS X SDK 10.6 which |
5114 # does not support libc++. | 5114 # does not support libc++. |
5115 ['_toolset=="target"', { | 5115 ['_toolset=="target"', { |
5116 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ | 5116 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ |
5117 }] | 5117 }] |
5118 ], | 5118 ], |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5758 # settings in target dicts. SYMROOT is a special case, because many other | 5758 # settings in target dicts. SYMROOT is a special case, because many other |
5759 # Xcode variables depend on it, including variables such as | 5759 # Xcode variables depend on it, including variables such as |
5760 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5760 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5761 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5761 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5762 # files to appear (when present) in the UI as actual files and not red | 5762 # files to appear (when present) in the UI as actual files and not red |
5763 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5763 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5764 # and therefore SYMROOT, needs to be set at the project level. | 5764 # and therefore SYMROOT, needs to be set at the project level. |
5765 'SYMROOT': '<(DEPTH)/xcodebuild', | 5765 'SYMROOT': '<(DEPTH)/xcodebuild', |
5766 }, | 5766 }, |
5767 } | 5767 } |
OLD | NEW |