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

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: Fix android tests 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 ['OS=="linux" or OS=="android"', {
991 'v8_use_external_startup_data': 1,
992 }, {
993 'v8_use_external_startup_data': 0,
rmcilroy 2014/10/06 15:41:02 Please create a bug on crbug which mentions that y
baixo 2014/10/07 14:53:27 Done.
994 }],
989 ], 995 ],
990 996
991 # Set this to 1 to enable use of concatenated impulse responses 997 # Set this to 1 to enable use of concatenated impulse responses
992 # for the HRTF panner in WebAudio. 998 # for the HRTF panner in WebAudio.
993 'use_concatenated_impulse_responses': 1, 999 'use_concatenated_impulse_responses': 1,
994 1000
995 # You can set the variable 'use_official_google_api_keys' to 1 1001 # You can set the variable 'use_official_google_api_keys' to 1
996 # to use the Google-internal file containing official API keys 1002 # to use the Google-internal file containing official API keys
997 # for Google Chrome even in a developer build. Setting this 1003 # for Google Chrome even in a developer build. Setting this
998 # variable explicitly to 1 will cause your build to fail if the 1004 # 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)', 1181 'enable_service_discovery%' : '<(enable_service_discovery)',
1176 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', 1182 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)',
1177 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1183 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1178 'v8_optimized_debug%': '<(v8_optimized_debug)', 1184 'v8_optimized_debug%': '<(v8_optimized_debug)',
1179 'proprietary_codecs%': '<(proprietary_codecs)', 1185 'proprietary_codecs%': '<(proprietary_codecs)',
1180 'use_goma%': '<(use_goma)', 1186 'use_goma%': '<(use_goma)',
1181 'gomadir%': '<(gomadir)', 1187 'gomadir%': '<(gomadir)',
1182 'video_hole%': '<(video_hole)', 1188 'video_hole%': '<(video_hole)',
1183 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)', 1189 'enable_load_completion_hacks%': '<(enable_load_completion_hacks)',
1184 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)', 1190 'support_pre_M6_history_database%': '<(support_pre_M6_history_database)',
1191 'v8_use_external_startup_data': '<(v8_use_external_startup_data)',
1185 1192
1186 # Whether or not we are building the Athena shell. 1193 # Whether or not we are building the Athena shell.
1187 'use_athena%': '0', 1194 'use_athena%': '0',
1188 1195
1189 # Use system protobuf instead of bundled one. 1196 # Use system protobuf instead of bundled one.
1190 'use_system_protobuf%': 0, 1197 'use_system_protobuf%': 0,
1191 1198
1192 # Use system yasm instead of bundled one. 1199 # Use system yasm instead of bundled one.
1193 'use_system_yasm%': 0, 1200 'use_system_yasm%': 0,
1194 1201
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 '<(PRODUCT_DIR)/default_apps/external_extensions.json', 2340 '<(PRODUCT_DIR)/default_apps/external_extensions.json',
2334 '<(PRODUCT_DIR)/default_apps/gmail.crx', 2341 '<(PRODUCT_DIR)/default_apps/gmail.crx',
2335 '<(PRODUCT_DIR)/default_apps/search.crx', 2342 '<(PRODUCT_DIR)/default_apps/search.crx',
2336 '<(PRODUCT_DIR)/default_apps/youtube.crx', 2343 '<(PRODUCT_DIR)/default_apps/youtube.crx',
2337 '<(PRODUCT_DIR)/default_apps/drive.crx', 2344 '<(PRODUCT_DIR)/default_apps/drive.crx',
2338 '<(PRODUCT_DIR)/default_apps/docs.crx', 2345 '<(PRODUCT_DIR)/default_apps/docs.crx',
2339 ], 2346 ],
2340 2347
2341 # Whether to allow building of the GPU-related isolates. 2348 # Whether to allow building of the GPU-related isolates.
2342 'archive_gpu_tests%': 0, 2349 'archive_gpu_tests%': 0,
2343
rmcilroy 2014/10/06 15:41:02 nit - add back newline
baixo 2014/10/07 14:53:27 Done.
2344 # Whether to allow building of chromoting related isolates. 2350 # Whether to allow building of chromoting related isolates.
2345 'archive_chromoting_tests%': 0, 2351 'archive_chromoting_tests%': 0,
2346 }, 2352 },
2347 'target_defaults': { 2353 'target_defaults': {
2348 'variables': { 2354 'variables': {
2349 # The condition that operates on chromium_code is in a target_conditions 2355 # The condition that operates on chromium_code is in a target_conditions
2350 # section, and will not have access to the default fallback value of 2356 # section, and will not have access to the default fallback value of
2351 # chromium_code at the top of this file, or to the chromium_code 2357 # chromium_code at the top of this file, or to the chromium_code
2352 # variable placed at the root variables scope of .gyp files, because 2358 # variable placed at the root variables scope of .gyp files, because
2353 # those variables are not set at target scope. As a workaround, 2359 # those variables are not set at target scope. As a workaround,
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2902 }], 2908 }],
2903 ['enable_ipc_fuzzer==1', { 2909 ['enable_ipc_fuzzer==1', {
2904 'defines': ['ENABLE_IPC_FUZZER=1'], 2910 'defines': ['ENABLE_IPC_FUZZER=1'],
2905 }], 2911 }],
2906 ['video_hole==1', { 2912 ['video_hole==1', {
2907 'defines': ['VIDEO_HOLE=1'], 2913 'defines': ['VIDEO_HOLE=1'],
2908 }], 2914 }],
2909 ['enable_load_completion_hacks==1', { 2915 ['enable_load_completion_hacks==1', {
2910 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'], 2916 'defines': ['ENABLE_LOAD_COMPLETION_HACKS=1'],
2911 }], 2917 }],
2918 ['v8_use_external_startup_data==1', {
2919 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
2920 }],
2912 ], # conditions for 'target_defaults' 2921 ], # conditions for 'target_defaults'
2913 'target_conditions': [ 2922 'target_conditions': [
2914 ['<(use_openssl)==1', { 2923 ['<(use_openssl)==1', {
2915 'defines': ['USE_OPENSSL=1'], 2924 'defines': ['USE_OPENSSL=1'],
2916 }], 2925 }],
2917 ['<(use_openssl_certs)==1', { 2926 ['<(use_openssl_certs)==1', {
2918 'defines': ['USE_OPENSSL_CERTS=1'], 2927 'defines': ['USE_OPENSSL_CERTS=1'],
2919 }], 2928 }],
2920 ['>(nacl_untrusted_build)==1', { 2929 ['>(nacl_untrusted_build)==1', {
2921 'defines': [ 2930 'defines': [
(...skipping 2794 matching lines...) Expand 10 before | Expand all | Expand 10 after
5716 # settings in target dicts. SYMROOT is a special case, because many other 5725 # settings in target dicts. SYMROOT is a special case, because many other
5717 # Xcode variables depend on it, including variables such as 5726 # Xcode variables depend on it, including variables such as
5718 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5727 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5719 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5728 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5720 # files to appear (when present) in the UI as actual files and not red 5729 # files to appear (when present) in the UI as actual files and not red
5721 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5730 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5722 # and therefore SYMROOT, needs to be set at the project level. 5731 # and therefore SYMROOT, needs to be set at the project level.
5723 'SYMROOT': '<(DEPTH)/xcodebuild', 5732 'SYMROOT': '<(DEPTH)/xcodebuild',
5724 }, 5733 },
5725 } 5734 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698