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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 # require server-side APIs may fail to work if no keys are | 784 # require server-side APIs may fail to work if no keys are |
785 # provided. | 785 # provided. |
786 # | 786 # |
787 # Note that if you are building an official build or if | 787 # Note that if you are building an official build or if |
788 # use_official_google_api_keys has been set to 1 (explicitly or | 788 # use_official_google_api_keys has been set to 1 (explicitly or |
789 # implicitly), these values will be ignored and the official | 789 # implicitly), these values will be ignored and the official |
790 # keys will be used instead. | 790 # keys will be used instead. |
791 'google_api_key%': '', | 791 'google_api_key%': '', |
792 'google_default_client_id%': '', | 792 'google_default_client_id%': '', |
793 'google_default_client_secret%': '', | 793 'google_default_client_secret%': '', |
| 794 |
| 795 # IPC fuzzer is disabled by default. |
| 796 'enable_ipc_fuzzer%': 0, |
794 }, | 797 }, |
795 | 798 |
796 # Copy conditionally-set variables out one scope. | 799 # Copy conditionally-set variables out one scope. |
797 'branding%': '<(branding)', | 800 'branding%': '<(branding)', |
798 'buildtype%': '<(buildtype)', | 801 'buildtype%': '<(buildtype)', |
799 'target_arch%': '<(target_arch)', | 802 'target_arch%': '<(target_arch)', |
800 'host_arch%': '<(host_arch)', | 803 'host_arch%': '<(host_arch)', |
801 'toolkit_views%': '<(toolkit_views)', | 804 'toolkit_views%': '<(toolkit_views)', |
802 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 805 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
803 'use_aura%': '<(use_aura)', | 806 'use_aura%': '<(use_aura)', |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 # Whether we are using the rlz library or not. Platforms like Android send | 1150 # Whether we are using the rlz library or not. Platforms like Android send |
1148 # rlz codes for searches but do not use the library. | 1151 # rlz codes for searches but do not use the library. |
1149 'enable_rlz%': 0, | 1152 'enable_rlz%': 0, |
1150 | 1153 |
1151 # Turns on the i18n support in V8. | 1154 # Turns on the i18n support in V8. |
1152 'v8_enable_i18n_support': 1, | 1155 'v8_enable_i18n_support': 1, |
1153 | 1156 |
1154 # Use the chromium skia by default. | 1157 # Use the chromium skia by default. |
1155 'use_system_skia%': '0', | 1158 'use_system_skia%': '0', |
1156 | 1159 |
| 1160 'enable_ipc_fuzzer%': '<(enable_ipc_fuzzer)', |
| 1161 |
1157 'conditions': [ | 1162 'conditions': [ |
1158 # The version of GCC in use, set later in platforms that use GCC and have | 1163 # The version of GCC in use, set later in platforms that use GCC and have |
1159 # not explicitly chosen to build with clang. Currently, this means all | 1164 # not explicitly chosen to build with clang. Currently, this means all |
1160 # platforms except Windows, Mac and iOS. | 1165 # platforms except Windows, Mac and iOS. |
1161 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1166 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1162 # it takes effect here. | 1167 # it takes effect here. |
1163 ['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', { | 1168 ['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', { |
1164 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1169 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
1165 }, { | 1170 }, { |
1166 'gcc_version%': 0, | 1171 'gcc_version%': 0, |
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2329 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], | 2334 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], |
2330 }], | 2335 }], |
2331 ['spdy_proxy_auth_property != ""', { | 2336 ['spdy_proxy_auth_property != ""', { |
2332 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], | 2337 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], |
2333 }], | 2338 }], |
2334 ['spdy_proxy_auth_value != ""', { | 2339 ['spdy_proxy_auth_value != ""', { |
2335 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], | 2340 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], |
2336 }], | 2341 }], |
2337 ['enable_mdns==1', { | 2342 ['enable_mdns==1', { |
2338 'defines': ['ENABLE_MDNS=1'], | 2343 'defines': ['ENABLE_MDNS=1'], |
2339 }] | 2344 }], |
| 2345 ['enable_ipc_fuzzer==1', { |
| 2346 'defines': ['ENABLE_IPC_FUZZER=1'], |
| 2347 }], |
2340 ], # conditions for 'target_defaults' | 2348 ], # conditions for 'target_defaults' |
2341 'target_conditions': [ | 2349 'target_conditions': [ |
2342 ['enable_wexit_time_destructors==1', { | 2350 ['enable_wexit_time_destructors==1', { |
2343 'conditions': [ | 2351 'conditions': [ |
2344 [ 'clang==1', { | 2352 [ 'clang==1', { |
2345 'cflags': [ | 2353 'cflags': [ |
2346 '-Wexit-time-destructors', | 2354 '-Wexit-time-destructors', |
2347 ], | 2355 ], |
2348 'xcode_settings': { | 2356 'xcode_settings': { |
2349 'WARNING_CFLAGS': [ | 2357 'WARNING_CFLAGS': [ |
(...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4735 # settings in target dicts. SYMROOT is a special case, because many other | 4743 # settings in target dicts. SYMROOT is a special case, because many other |
4736 # Xcode variables depend on it, including variables such as | 4744 # Xcode variables depend on it, including variables such as |
4737 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4745 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4738 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4746 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4739 # files to appear (when present) in the UI as actual files and not red | 4747 # files to appear (when present) in the UI as actual files and not red |
4740 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4748 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4741 # and therefore SYMROOT, needs to be set at the project level. | 4749 # and therefore SYMROOT, needs to be set at the project level. |
4742 'SYMROOT': '<(DEPTH)/xcodebuild', | 4750 'SYMROOT': '<(DEPTH)/xcodebuild', |
4743 }, | 4751 }, |
4744 } | 4752 } |
OLD | NEW |