Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: build/common.gypi

Issue 21004010: Compile v8 like "release" by default in debug builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use v8_optimized_debug on all android Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 ['OS=="android" and target_arch=="arm" and android_webview_build==0', { 682 ['OS=="android" and target_arch=="arm" and android_webview_build==0', {
683 # Currently only supported on Android ARM, without webview. 683 # Currently only supported on Android ARM, without webview.
684 # When enabled, this will also enable WebAudio on Android 684 # When enabled, this will also enable WebAudio on Android
685 # ARM. Default is enabled. 685 # ARM. Default is enabled.
686 'use_openmax_dl_fft%': 1, 686 'use_openmax_dl_fft%': 1,
687 }, { 687 }, {
688 'use_openmax_dl_fft%': 0, 688 'use_openmax_dl_fft%': 0,
689 }], 689 }],
690 ['OS=="win" or OS=="linux"', { 690 ['OS=="win" or OS=="linux"', {
691 'enable_mdns%' : 1, 691 'enable_mdns%' : 1,
692 }] 692 }],
693
694 # Turns on compiler optimizations in V8 in Debug build, except
695 # on android_clang, where we're hitting a weird linker error.
696 # TODO(dpranke): http://crbug.com/266155 .
697 ['OS=="android"', {
698 'v8_optimized_debug': 1,
699 }, {
700 'v8_optimized_debug': 2,
701 }],
693 ], 702 ],
694 703
695 # Set this to 1 to enable use of concatenated impulse responses 704 # Set this to 1 to enable use of concatenated impulse responses
696 # for the HRTF panner in WebAudio. 705 # for the HRTF panner in WebAudio.
697 'use_concatenated_impulse_responses': 1, 706 'use_concatenated_impulse_responses': 1,
698 707
699 # You can set the variable 'use_official_google_api_keys' to 1 708 # You can set the variable 'use_official_google_api_keys' to 1
700 # to use the Google-internal file containing official API keys 709 # to use the Google-internal file containing official API keys
701 # for Google Chrome even in a developer build. Setting this 710 # for Google Chrome even in a developer build. Setting this
702 # variable explicitly to 1 will cause your build to fail if the 711 # variable explicitly to 1 will cause your build to fail if the
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 'google_api_key%': '<(google_api_key)', 844 'google_api_key%': '<(google_api_key)',
836 'google_default_client_id%': '<(google_default_client_id)', 845 'google_default_client_id%': '<(google_default_client_id)',
837 'google_default_client_secret%': '<(google_default_client_secret)', 846 'google_default_client_secret%': '<(google_default_client_secret)',
838 'enable_managed_users%': '<(enable_managed_users)', 847 'enable_managed_users%': '<(enable_managed_users)',
839 'native_discardable_memory%': '<(native_discardable_memory)', 848 'native_discardable_memory%': '<(native_discardable_memory)',
840 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', 849 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)',
841 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', 850 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)',
842 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', 851 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)',
843 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', 852 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)',
844 'enable_mdns%' : '<(enable_mdns)', 853 'enable_mdns%' : '<(enable_mdns)',
854 'v8_optimized_debug': '<(v8_optimized_debug)',
845 855
846 # Use system mesa instead of bundled one. 856 # Use system mesa instead of bundled one.
847 'use_system_mesa%': 0, 857 'use_system_mesa%': 0,
848 858
849 # Use system nspr instead of the bundled one. 859 # Use system nspr instead of the bundled one.
850 'use_system_nspr%': 0, 860 'use_system_nspr%': 0,
851 861
852 # Use system protobuf instead of bundled one. 862 # Use system protobuf instead of bundled one.
853 'use_system_protobuf%': 0, 863 'use_system_protobuf%': 0,
854 864
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', 1105 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))',
1096 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', 1106 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
1097 1107
1098 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', 1108 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files',
1099 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', 1109 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files',
1100 1110
1101 # Whether we are using the rlz library or not. Platforms like Android send 1111 # Whether we are using the rlz library or not. Platforms like Android send
1102 # rlz codes for searches but do not use the library. 1112 # rlz codes for searches but do not use the library.
1103 'enable_rlz%': 0, 1113 'enable_rlz%': 0,
1104 1114
1105 # Turns on compiler optimizations in V8 in Debug build.
1106 'v8_optimized_debug': 1,
1107
1108 # Turns on the i18n support in V8. 1115 # Turns on the i18n support in V8.
1109 'v8_enable_i18n_support': 1, 1116 'v8_enable_i18n_support': 1,
1110 1117
1111 'conditions': [ 1118 'conditions': [
1112 # The version of GCC in use, set later in platforms that use GCC and have 1119 # The version of GCC in use, set later in platforms that use GCC and have
1113 # not explicitly chosen to build with clang. Currently, this means all 1120 # not explicitly chosen to build with clang. Currently, this means all
1114 # platforms except Windows, Mac and iOS. 1121 # platforms except Windows, Mac and iOS.
1115 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that 1122 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that
1116 # it takes effect here. 1123 # it takes effect here.
1117 ['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', { 1124 ['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', {
(...skipping 3530 matching lines...) Expand 10 before | Expand all | Expand 10 after
4648 # settings in target dicts. SYMROOT is a special case, because many other 4655 # settings in target dicts. SYMROOT is a special case, because many other
4649 # Xcode variables depend on it, including variables such as 4656 # Xcode variables depend on it, including variables such as
4650 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4657 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4651 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4658 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4652 # files to appear (when present) in the UI as actual files and not red 4659 # files to appear (when present) in the UI as actual files and not red
4653 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4660 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4654 # and therefore SYMROOT, needs to be set at the project level. 4661 # and therefore SYMROOT, needs to be set at the project level.
4655 'SYMROOT': '<(DEPTH)/xcodebuild', 4662 'SYMROOT': '<(DEPTH)/xcodebuild',
4656 }, 4663 },
4657 } 4664 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698