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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
836 # require server-side APIs may fail to work if no keys are | 836 # require server-side APIs may fail to work if no keys are |
837 # provided. | 837 # provided. |
838 # | 838 # |
839 # Note that if you are building an official build or if | 839 # Note that if you are building an official build or if |
840 # use_official_google_api_keys has been set to 1 (explicitly or | 840 # use_official_google_api_keys has been set to 1 (explicitly or |
841 # implicitly), these values will be ignored and the official | 841 # implicitly), these values will be ignored and the official |
842 # keys will be used instead. | 842 # keys will be used instead. |
843 'google_api_key%': '', | 843 'google_api_key%': '', |
844 'google_default_client_id%': '', | 844 'google_default_client_id%': '', |
845 'google_default_client_secret%': '', | 845 'google_default_client_secret%': '', |
846 | |
847 # IPC fuzzer is disabled by default. | |
848 'enable_ipc_fuzzer%': 0, | |
jochen (gone - plz use gerrit)
2013/11/27 09:19:49
you don't need to duplicate this here, it's enough
aedla
2013/11/27 19:24:51
Done.
| |
846 }, | 849 }, |
847 | 850 |
848 # Copy conditionally-set variables out one scope. | 851 # Copy conditionally-set variables out one scope. |
849 'branding%': '<(branding)', | 852 'branding%': '<(branding)', |
850 'buildtype%': '<(buildtype)', | 853 'buildtype%': '<(buildtype)', |
851 'target_arch%': '<(target_arch)', | 854 'target_arch%': '<(target_arch)', |
852 'host_arch%': '<(host_arch)', | 855 'host_arch%': '<(host_arch)', |
853 'toolkit_views%': '<(toolkit_views)', | 856 'toolkit_views%': '<(toolkit_views)', |
854 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 857 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
855 'use_aura%': '<(use_aura)', | 858 'use_aura%': '<(use_aura)', |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1210 | 1213 |
1211 # Use the chromium skia by default. | 1214 # Use the chromium skia by default. |
1212 'use_system_skia%': '0', | 1215 'use_system_skia%': '0', |
1213 | 1216 |
1214 # Use brlapi from brltty for braille display support. | 1217 # Use brlapi from brltty for braille display support. |
1215 'use_brlapi%': 0, | 1218 'use_brlapi%': 0, |
1216 | 1219 |
1217 # Relative path to icu.gyp from this file. | 1220 # Relative path to icu.gyp from this file. |
1218 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1221 'icu_gyp_path': '../third_party/icu/icu.gyp', |
1219 | 1222 |
1223 'enable_ipc_fuzzer%': '<(enable_ipc_fuzzer)', | |
1224 | |
1220 'conditions': [ | 1225 'conditions': [ |
1221 # The version of GCC in use, set later in platforms that use GCC and have | 1226 # The version of GCC in use, set later in platforms that use GCC and have |
1222 # not explicitly chosen to build with clang. Currently, this means all | 1227 # not explicitly chosen to build with clang. Currently, this means all |
1223 # platforms except Windows, Mac and iOS. | 1228 # platforms except Windows, Mac and iOS. |
1224 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1229 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1225 # it takes effect here. | 1230 # it takes effect here. |
1226 ['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', { | 1231 ['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', { |
1227 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1232 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
1228 }, { | 1233 }, { |
1229 'gcc_version%': 0, | 1234 'gcc_version%': 0, |
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2392 }], | 2397 }], |
2393 ['data_reduction_proxy_probe_url != ""', { | 2398 ['data_reduction_proxy_probe_url != ""', { |
2394 'defines': [ | 2399 'defines': [ |
2395 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'], | 2400 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'], |
2396 }], | 2401 }], |
2397 ['enable_mdns==1', { | 2402 ['enable_mdns==1', { |
2398 'defines': ['ENABLE_MDNS=1'], | 2403 'defines': ['ENABLE_MDNS=1'], |
2399 }], | 2404 }], |
2400 ['enable_enhanced_bookmarks==1', { | 2405 ['enable_enhanced_bookmarks==1', { |
2401 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2406 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2402 }] | 2407 }], |
2408 ['enable_ipc_fuzzer==1', { | |
2409 'defines': ['ENABLE_IPC_FUZZER=1'], | |
2410 }], | |
2403 ], # conditions for 'target_defaults' | 2411 ], # conditions for 'target_defaults' |
2404 'target_conditions': [ | 2412 'target_conditions': [ |
2405 ['enable_wexit_time_destructors==1', { | 2413 ['enable_wexit_time_destructors==1', { |
2406 'conditions': [ | 2414 'conditions': [ |
2407 [ 'clang==1', { | 2415 [ 'clang==1', { |
2408 'cflags': [ | 2416 'cflags': [ |
2409 '-Wexit-time-destructors', | 2417 '-Wexit-time-destructors', |
2410 ], | 2418 ], |
2411 'xcode_settings': { | 2419 'xcode_settings': { |
2412 'WARNING_CFLAGS': [ | 2420 'WARNING_CFLAGS': [ |
(...skipping 2332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4745 # settings in target dicts. SYMROOT is a special case, because many other | 4753 # settings in target dicts. SYMROOT is a special case, because many other |
4746 # Xcode variables depend on it, including variables such as | 4754 # Xcode variables depend on it, including variables such as |
4747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4755 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4756 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4749 # files to appear (when present) in the UI as actual files and not red | 4757 # files to appear (when present) in the UI as actual files and not red |
4750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4758 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4751 # and therefore SYMROOT, needs to be set at the project level. | 4759 # and therefore SYMROOT, needs to be set at the project level. |
4752 'SYMROOT': '<(DEPTH)/xcodebuild', | 4760 'SYMROOT': '<(DEPTH)/xcodebuild', |
4753 }, | 4761 }, |
4754 } | 4762 } |
OLD | NEW |