Chromium Code Reviews| 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 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 723 # require server-side APIs may fail to work if no keys are | 723 # require server-side APIs may fail to work if no keys are |
| 724 # provided. | 724 # provided. |
| 725 # | 725 # |
| 726 # Note that if you are building an official build or if | 726 # Note that if you are building an official build or if |
| 727 # use_official_google_api_keys has been set to 1 (explicitly or | 727 # use_official_google_api_keys has been set to 1 (explicitly or |
| 728 # implicitly), these values will be ignored and the official | 728 # implicitly), these values will be ignored and the official |
| 729 # keys will be used instead. | 729 # keys will be used instead. |
| 730 'google_api_key%': '', | 730 'google_api_key%': '', |
| 731 'google_default_client_id%': '', | 731 'google_default_client_id%': '', |
| 732 'google_default_client_secret%': '', | 732 'google_default_client_secret%': '', |
| 733 | |
| 734 # IPC fuzzer is disabled by default. | |
| 735 'enable_ipc_fuzzer%': 0, | |
|
Tom Sepez
2013/07/12 18:47:20
Not sure this is the right way to include this fea
| |
| 733 }, | 736 }, |
| 734 | 737 |
| 735 # Copy conditionally-set variables out one scope. | 738 # Copy conditionally-set variables out one scope. |
| 736 'branding%': '<(branding)', | 739 'branding%': '<(branding)', |
| 737 'buildtype%': '<(buildtype)', | 740 'buildtype%': '<(buildtype)', |
| 738 'target_arch%': '<(target_arch)', | 741 'target_arch%': '<(target_arch)', |
| 739 'host_arch%': '<(host_arch)', | 742 'host_arch%': '<(host_arch)', |
| 740 'toolkit_views%': '<(toolkit_views)', | 743 'toolkit_views%': '<(toolkit_views)', |
| 741 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 744 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
| 742 'use_aura%': '<(use_aura)', | 745 'use_aura%': '<(use_aura)', |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1089 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', | 1092 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', |
| 1090 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', | 1093 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', |
| 1091 | 1094 |
| 1092 # Whether we are using the rlz library or not. Platforms like Android send | 1095 # Whether we are using the rlz library or not. Platforms like Android send |
| 1093 # rlz codes for searches but do not use the library. | 1096 # rlz codes for searches but do not use the library. |
| 1094 'enable_rlz%': 0, | 1097 'enable_rlz%': 0, |
| 1095 | 1098 |
| 1096 # MDNS is disabled by default. | 1099 # MDNS is disabled by default. |
| 1097 'enable_mdns%' : 0, | 1100 'enable_mdns%' : 0, |
| 1098 | 1101 |
| 1102 'enable_ipc_fuzzer%': '<(enable_ipc_fuzzer)', | |
| 1103 | |
| 1099 'conditions': [ | 1104 'conditions': [ |
| 1100 # The version of GCC in use, set later in platforms that use GCC and have | 1105 # The version of GCC in use, set later in platforms that use GCC and have |
| 1101 # not explicitly chosen to build with clang. Currently, this means all | 1106 # not explicitly chosen to build with clang. Currently, this means all |
| 1102 # platforms except Windows, Mac and iOS. | 1107 # platforms except Windows, Mac and iOS. |
| 1103 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1108 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1104 # it takes effect here. | 1109 # it takes effect here. |
| 1105 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { | 1110 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { |
| 1106 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1111 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
| 1107 }, { | 1112 }, { |
| 1108 'gcc_version%': 0, | 1113 'gcc_version%': 0, |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2241 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], | 2246 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], |
| 2242 }], | 2247 }], |
| 2243 ['spdy_proxy_auth_property != ""', { | 2248 ['spdy_proxy_auth_property != ""', { |
| 2244 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], | 2249 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], |
| 2245 }], | 2250 }], |
| 2246 ['spdy_proxy_auth_value != ""', { | 2251 ['spdy_proxy_auth_value != ""', { |
| 2247 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], | 2252 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], |
| 2248 }], | 2253 }], |
| 2249 ['enable_mdns==1', { | 2254 ['enable_mdns==1', { |
| 2250 'defines': ['ENABLE_MDNS=1'], | 2255 'defines': ['ENABLE_MDNS=1'], |
| 2251 }] | 2256 }], |
| 2257 ['enable_ipc_fuzzer==1', { | |
| 2258 'defines': ['ENABLE_IPC_FUZZER=1'], | |
| 2259 }], | |
| 2252 ], # conditions for 'target_defaults' | 2260 ], # conditions for 'target_defaults' |
| 2253 'target_conditions': [ | 2261 'target_conditions': [ |
| 2254 ['enable_wexit_time_destructors==1', { | 2262 ['enable_wexit_time_destructors==1', { |
| 2255 'conditions': [ | 2263 'conditions': [ |
| 2256 [ 'clang==1', { | 2264 [ 'clang==1', { |
| 2257 'cflags': [ | 2265 'cflags': [ |
| 2258 '-Wexit-time-destructors', | 2266 '-Wexit-time-destructors', |
| 2259 ], | 2267 ], |
| 2260 'xcode_settings': { | 2268 'xcode_settings': { |
| 2261 'WARNING_CFLAGS': [ | 2269 'WARNING_CFLAGS': [ |
| (...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4624 # settings in target dicts. SYMROOT is a special case, because many other | 4632 # settings in target dicts. SYMROOT is a special case, because many other |
| 4625 # Xcode variables depend on it, including variables such as | 4633 # Xcode variables depend on it, including variables such as |
| 4626 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4634 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4627 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4635 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4628 # files to appear (when present) in the UI as actual files and not red | 4636 # files to appear (when present) in the UI as actual files and not red |
| 4629 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4637 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4630 # and therefore SYMROOT, needs to be set at the project level. | 4638 # and therefore SYMROOT, needs to be set at the project level. |
| 4631 'SYMROOT': '<(DEPTH)/xcodebuild', | 4639 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4632 }, | 4640 }, |
| 4633 } | 4641 } |
| OLD | NEW |