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 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 ['enable_register_protocol_handler==1', { | 1173 ['enable_register_protocol_handler==1', { |
1174 'defines': [ | 1174 'defines': [ |
1175 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 1175 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
1176 ], | 1176 ], |
1177 }], | 1177 }], |
1178 ['enable_web_intents==1', { | 1178 ['enable_web_intents==1', { |
1179 'defines': [ | 1179 'defines': [ |
1180 'ENABLE_WEB_INTENTS=1', | 1180 'ENABLE_WEB_INTENTS=1', |
1181 ], | 1181 ], |
1182 }], | 1182 }], |
| 1183 ['OS=="win" and branding=="Chrome"', { |
| 1184 'defines': ['ENABLE_SWIFTSHADER'], |
| 1185 }], |
1183 ], # conditions for 'target_defaults' | 1186 ], # conditions for 'target_defaults' |
1184 'target_conditions': [ | 1187 'target_conditions': [ |
1185 ['enable_wexit_time_destructors==1', { | 1188 ['enable_wexit_time_destructors==1', { |
1186 'conditions': [ | 1189 'conditions': [ |
1187 [ 'clang==1', { | 1190 [ 'clang==1', { |
1188 'cflags': [ | 1191 'cflags': [ |
1189 '-Wexit-time-destructors', | 1192 '-Wexit-time-destructors', |
1190 ], | 1193 ], |
1191 'xcode_settings': { | 1194 'xcode_settings': { |
1192 'WARNING_CFLAGS': [ | 1195 'WARNING_CFLAGS': [ |
(...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2672 # settings in target dicts. SYMROOT is a special case, because many other | 2675 # settings in target dicts. SYMROOT is a special case, because many other |
2673 # Xcode variables depend on it, including variables such as | 2676 # Xcode variables depend on it, including variables such as |
2674 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2677 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2675 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2678 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2676 # files to appear (when present) in the UI as actual files and not red | 2679 # files to appear (when present) in the UI as actual files and not red |
2677 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2680 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2678 # and therefore SYMROOT, needs to be set at the project level. | 2681 # and therefore SYMROOT, needs to be set at the project level. |
2679 'SYMROOT': '<(DEPTH)/xcodebuild', | 2682 'SYMROOT': '<(DEPTH)/xcodebuild', |
2680 }, | 2683 }, |
2681 } | 2684 } |
OLD | NEW |