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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 # require server-side APIs may fail to work if no keys are | 770 # require server-side APIs may fail to work if no keys are |
771 # provided. | 771 # provided. |
772 # | 772 # |
773 # Note that if you are building an official build or if | 773 # Note that if you are building an official build or if |
774 # use_official_google_api_keys has been set to 1 (explicitly or | 774 # use_official_google_api_keys has been set to 1 (explicitly or |
775 # implicitly), these values will be ignored and the official | 775 # implicitly), these values will be ignored and the official |
776 # keys will be used instead. | 776 # keys will be used instead. |
777 'google_api_key%': '', | 777 'google_api_key%': '', |
778 'google_default_client_id%': '', | 778 'google_default_client_id%': '', |
779 'google_default_client_secret%': '', | 779 'google_default_client_secret%': '', |
| 780 |
| 781 # IPC fuzzer is disabled by default. |
| 782 'enable_ipc_fuzzer%': 0, |
780 }, | 783 }, |
781 | 784 |
782 # Copy conditionally-set variables out one scope. | 785 # Copy conditionally-set variables out one scope. |
783 'branding%': '<(branding)', | 786 'branding%': '<(branding)', |
784 'buildtype%': '<(buildtype)', | 787 'buildtype%': '<(buildtype)', |
785 'target_arch%': '<(target_arch)', | 788 'target_arch%': '<(target_arch)', |
786 'host_arch%': '<(host_arch)', | 789 'host_arch%': '<(host_arch)', |
787 'toolkit_views%': '<(toolkit_views)', | 790 'toolkit_views%': '<(toolkit_views)', |
788 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 791 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
789 'use_aura%': '<(use_aura)', | 792 'use_aura%': '<(use_aura)', |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 # Whether we are using the rlz library or not. Platforms like Android send | 1137 # Whether we are using the rlz library or not. Platforms like Android send |
1135 # rlz codes for searches but do not use the library. | 1138 # rlz codes for searches but do not use the library. |
1136 'enable_rlz%': 0, | 1139 'enable_rlz%': 0, |
1137 | 1140 |
1138 # Turns on the i18n support in V8. | 1141 # Turns on the i18n support in V8. |
1139 'v8_enable_i18n_support': 1, | 1142 'v8_enable_i18n_support': 1, |
1140 | 1143 |
1141 # Use the chromium skia by default. | 1144 # Use the chromium skia by default. |
1142 'use_system_skia%': '0', | 1145 'use_system_skia%': '0', |
1143 | 1146 |
| 1147 'enable_ipc_fuzzer%': '<(enable_ipc_fuzzer)', |
| 1148 |
1144 'conditions': [ | 1149 'conditions': [ |
1145 # The version of GCC in use, set later in platforms that use GCC and have | 1150 # The version of GCC in use, set later in platforms that use GCC and have |
1146 # not explicitly chosen to build with clang. Currently, this means all | 1151 # not explicitly chosen to build with clang. Currently, this means all |
1147 # platforms except Windows, Mac and iOS. | 1152 # platforms except Windows, Mac and iOS. |
1148 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1153 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1149 # it takes effect here. | 1154 # it takes effect here. |
1150 ['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', { | 1155 ['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', { |
1151 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1156 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
1152 }, { | 1157 }, { |
1153 'gcc_version%': 0, | 1158 'gcc_version%': 0, |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2306 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], | 2311 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], |
2307 }], | 2312 }], |
2308 ['spdy_proxy_auth_property != ""', { | 2313 ['spdy_proxy_auth_property != ""', { |
2309 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], | 2314 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], |
2310 }], | 2315 }], |
2311 ['spdy_proxy_auth_value != ""', { | 2316 ['spdy_proxy_auth_value != ""', { |
2312 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], | 2317 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], |
2313 }], | 2318 }], |
2314 ['enable_mdns==1', { | 2319 ['enable_mdns==1', { |
2315 'defines': ['ENABLE_MDNS=1'], | 2320 'defines': ['ENABLE_MDNS=1'], |
2316 }] | 2321 }], |
| 2322 ['enable_ipc_fuzzer==1', { |
| 2323 'defines': ['ENABLE_IPC_FUZZER=1'], |
| 2324 }], |
2317 ], # conditions for 'target_defaults' | 2325 ], # conditions for 'target_defaults' |
2318 'target_conditions': [ | 2326 'target_conditions': [ |
2319 ['enable_wexit_time_destructors==1', { | 2327 ['enable_wexit_time_destructors==1', { |
2320 'conditions': [ | 2328 'conditions': [ |
2321 [ 'clang==1', { | 2329 [ 'clang==1', { |
2322 'cflags': [ | 2330 'cflags': [ |
2323 '-Wexit-time-destructors', | 2331 '-Wexit-time-destructors', |
2324 ], | 2332 ], |
2325 'xcode_settings': { | 2333 'xcode_settings': { |
2326 'WARNING_CFLAGS': [ | 2334 'WARNING_CFLAGS': [ |
(...skipping 2397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4724 # settings in target dicts. SYMROOT is a special case, because many other | 4732 # settings in target dicts. SYMROOT is a special case, because many other |
4725 # Xcode variables depend on it, including variables such as | 4733 # Xcode variables depend on it, including variables such as |
4726 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4734 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4727 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4735 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4728 # files to appear (when present) in the UI as actual files and not red | 4736 # files to appear (when present) in the UI as actual files and not red |
4729 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4737 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4730 # and therefore SYMROOT, needs to be set at the project level. | 4738 # and therefore SYMROOT, needs to be set at the project level. |
4731 'SYMROOT': '<(DEPTH)/xcodebuild', | 4739 'SYMROOT': '<(DEPTH)/xcodebuild', |
4732 }, | 4740 }, |
4733 } | 4741 } |
OLD | NEW |