OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 ['enable_register_protocol_handler==1', { | 1180 ['enable_register_protocol_handler==1', { |
1181 'defines': [ | 1181 'defines': [ |
1182 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 1182 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
1183 ], | 1183 ], |
1184 }], | 1184 }], |
1185 ['enable_web_intents==1', { | 1185 ['enable_web_intents==1', { |
1186 'defines': [ | 1186 'defines': [ |
1187 'ENABLE_WEB_INTENTS=1', | 1187 'ENABLE_WEB_INTENTS=1', |
1188 ], | 1188 ], |
1189 }], | 1189 }], |
1190 ['OS=="win" and branding=="Chrome"', { | |
1191 'defines': ['ENABLE_SWIFTSHADER'], | |
1192 }], | |
1193 ], # conditions for 'target_defaults' | 1190 ], # conditions for 'target_defaults' |
1194 'target_conditions': [ | 1191 'target_conditions': [ |
1195 ['enable_wexit_time_destructors==1', { | 1192 ['enable_wexit_time_destructors==1', { |
1196 'conditions': [ | 1193 'conditions': [ |
1197 [ 'clang==1', { | 1194 [ 'clang==1', { |
1198 'cflags': [ | 1195 'cflags': [ |
1199 '-Wexit-time-destructors', | 1196 '-Wexit-time-destructors', |
1200 ], | 1197 ], |
1201 'xcode_settings': { | 1198 'xcode_settings': { |
1202 'WARNING_CFLAGS': [ | 1199 'WARNING_CFLAGS': [ |
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2755 # settings in target dicts. SYMROOT is a special case, because many other | 2752 # settings in target dicts. SYMROOT is a special case, because many other |
2756 # Xcode variables depend on it, including variables such as | 2753 # Xcode variables depend on it, including variables such as |
2757 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2754 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2758 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2755 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2759 # files to appear (when present) in the UI as actual files and not red | 2756 # files to appear (when present) in the UI as actual files and not red |
2760 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2757 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2761 # and therefore SYMROOT, needs to be set at the project level. | 2758 # and therefore SYMROOT, needs to be set at the project level. |
2762 'SYMROOT': '<(DEPTH)/xcodebuild', | 2759 'SYMROOT': '<(DEPTH)/xcodebuild', |
2763 }, | 2760 }, |
2764 } | 2761 } |
OLD | NEW |