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

Side by Side Diff: build/common.gypi

Issue 594603003: Infrastructure for reading V8's initial snapshot from external files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ross' comments Created 6 years, 2 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
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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 }, { 979 }, {
980 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86', 980 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86',
981 }], 981 }],
982 982
983 # Turn on JNI generation optimizations on non-WebView builds. 983 # Turn on JNI generation optimizations on non-WebView builds.
984 ['OS=="android" and android_webview_build==0', { 984 ['OS=="android" and android_webview_build==0', {
985 'optimize_jni_generation%': 1, 985 'optimize_jni_generation%': 1,
986 }, { 986 }, {
987 'optimize_jni_generation%': 0, 987 'optimize_jni_generation%': 0,
988 }], 988 }],
989
990 # TODO(baixo): Eliminate this OS dependency by enabling
rmcilroy 2014/10/07 16:16:10 nit - this is not a dependency. I would just writ
baixo 2014/10/08 11:28:54 Done.
991 # v8_use_external_startup_data on Windows and Mac. crbug.com/421063
992 ['OS=="linux" or OS=="android"', {
993 'v8_use_external_startup_data': 1,
994 }, {
995 'v8_use_external_startup_data': 0,
996 }],
989 ], 997 ],
990 998
991 # Set this to 1 to enable use of concatenated impulse responses 999 # Set this to 1 to enable use of concatenated impulse responses
992 # for the HRTF panner in WebAudio. 1000 # for the HRTF panner in WebAudio.
993 'use_concatenated_impulse_responses': 1, 1001 'use_concatenated_impulse_responses': 1,
994 1002
995 # You can set the variable 'use_official_google_api_keys' to 1 1003 # You can set the variable 'use_official_google_api_keys' to 1
996 # to use the Google-internal file containing official API keys 1004 # to use the Google-internal file containing official API keys
997 # for Google Chrome even in a developer build. Setting this 1005 # for Google Chrome even in a developer build. Setting this
998 # variable explicitly to 1 will cause your build to fail if the 1006 # variable explicitly to 1 will cause your build to fail if the
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 'enable_service_discovery%' : '<(enable_service_discovery)', 1183 'enable_service_discovery%' : '<(enable_service_discovery)',
1176 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', 1184 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)',
1177 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1185 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1178 'v8_optimized_debug%': '<(v8_optimized_debug)', 1186 'v8_optimized_debug%': '<(v8_optimized_debug)',
1179 'proprietary_codecs%': '<(proprietary_codecs)', 1187 'proprietary_codecs%': '<(proprietary_codecs)',
1180 'use_goma%': '<(use_goma)', 1188 'use_goma%': '<(use_goma)',
1181 'gomadir%': '<(gomadir)', 1189 'gomadir%': '<(gomadir)',
1182 'video_hole%': '<(video_hole)', 1190 'video_hole%': '<(video_hole)',
1183 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', 1191 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)',
1184 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', 1192 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)',
1193 'v8_use_external_startup_data': '<(v8_use_external_startup_data)',
1185 1194
1186 # Whether or not we are building the Athena shell. 1195 # Whether or not we are building the Athena shell.
1187 'use_athena%': '0', 1196 'use_athena%': '0',
1188 1197
1189 # Use system protobuf instead of bundled one. 1198 # Use system protobuf instead of bundled one.
1190 'use_system_protobuf%': 0, 1199 'use_system_protobuf%': 0,
1191 1200
1192 # Use system yasm instead of bundled one. 1201 # Use system yasm instead of bundled one.
1193 'use_system_yasm%': 0, 1202 'use_system_yasm%': 0,
1194 1203
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after
2897 }], 2906 }],
2898 ['enable_ipc_fuzzer==1', { 2907 ['enable_ipc_fuzzer==1', {
2899 'defines': ['ENABLE_IPC_FUZZER=1'], 2908 'defines': ['ENABLE_IPC_FUZZER=1'],
2900 }], 2909 }],
2901 ['video_hole==1', { 2910 ['video_hole==1', {
2902 'defines': ['VIDEO_HOLE=1'], 2911 'defines': ['VIDEO_HOLE=1'],
2903 }], 2912 }],
2904 ['enable_load_completion_hacks==1', { 2913 ['enable_load_completion_hacks==1', {
2905 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'], 2914 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'],
2906 }], 2915 }],
2916 ['v8_use_external_startup_data==1', {
2917 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
2918 }],
2907 ], # conditions for 'target_defaults' 2919 ], # conditions for 'target_defaults'
2908 'target_conditions': [ 2920 'target_conditions': [
2909 ['<(use_openssl)==1', { 2921 ['<(use_openssl)==1', {
2910 'defines': ['USE_OPENSSL=1'], 2922 'defines': ['USE_OPENSSL=1'],
2911 }], 2923 }],
2912 ['<(use_openssl_certs)==1', { 2924 ['<(use_openssl_certs)==1', {
2913 'defines': ['USE_OPENSSL_CERTS=1'], 2925 'defines': ['USE_OPENSSL_CERTS=1'],
2914 }], 2926 }],
2915 ['>(nacl_untrusted_build)==1', { 2927 ['>(nacl_untrusted_build)==1', {
2916 'defines': [ 2928 'defines': [
(...skipping 2794 matching lines...) Expand 10 before | Expand all | Expand 10 after
5711 # settings in target dicts. SYMROOT is a special case, because many other 5723 # settings in target dicts. SYMROOT is a special case, because many other
5712 # Xcode variables depend on it, including variables such as 5724 # Xcode variables depend on it, including variables such as
5713 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5725 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5714 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5726 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5715 # files to appear (when present) in the UI as actual files and not red 5727 # files to appear (when present) in the UI as actual files and not red
5716 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5728 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5717 # and therefore SYMROOT, needs to be set at the project level. 5729 # and therefore SYMROOT, needs to be set at the project level.
5718 'SYMROOT': '<(DEPTH)/xcodebuild', 5730 'SYMROOT': '<(DEPTH)/xcodebuild',
5719 }, 5731 },
5720 } 5732 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698