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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 413 |
414 # /analyze is off by default on Windows because it is very slow and noisy. | 414 # /analyze is off by default on Windows because it is very slow and noisy. |
415 # Enable with GYP_DEFINES=win_analyze=1 | 415 # Enable with GYP_DEFINES=win_analyze=1 |
416 'win_analyze%': 0, | 416 'win_analyze%': 0, |
417 | 417 |
418 # /debug:fastlink is off by default on Windows because it generates PDBs | 418 # /debug:fastlink is off by default on Windows because it generates PDBs |
419 # that are machine-local. But, great for local builds. | 419 # that are machine-local. But, great for local builds. |
420 # Enable with GYP_DEFINES=win_fastlink=1 | 420 # Enable with GYP_DEFINES=win_fastlink=1 |
421 'win_fastlink%': 0, | 421 'win_fastlink%': 0, |
422 | 422 |
| 423 # Experimental setting to optimize Chrome's DLLs with PGO. |
| 424 'chrome_pgo_phase%': '0', |
| 425 |
| 426 # Experimental setting to build the official builds with full WPO. |
| 427 'full_wpo_on_official%': '0', |
| 428 |
423 # Set to select the Title Case versions of strings in GRD files. | 429 # Set to select the Title Case versions of strings in GRD files. |
424 'use_titlecase_in_grd%': 0, | 430 'use_titlecase_in_grd%': 0, |
425 | 431 |
426 # Remoting compilation is enabled by default. Set to 0 to disable. | 432 # Remoting compilation is enabled by default. Set to 0 to disable. |
427 'remoting%': 1, | 433 'remoting%': 1, |
428 | 434 |
429 # Configuration policy is enabled by default. Overridden on some | 435 # Configuration policy is enabled by default. Overridden on some |
430 # platforms. This can't be disabled manually since code in src/chrome | 436 # platforms. This can't be disabled manually since code in src/chrome |
431 # assumes this is enabled. | 437 # assumes this is enabled. |
432 'configuration_policy': 1, | 438 'configuration_policy': 1, |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 'arm_neon%': '<(arm_neon)', | 1186 'arm_neon%': '<(arm_neon)', |
1181 'arm_neon_optional%': '<(arm_neon_optional)', | 1187 'arm_neon_optional%': '<(arm_neon_optional)', |
1182 'sysroot%': '<(sysroot)', | 1188 'sysroot%': '<(sysroot)', |
1183 'use_sysroot%': '<(use_sysroot)', | 1189 'use_sysroot%': '<(use_sysroot)', |
1184 'pkg-config%': '<(pkg-config)', | 1190 'pkg-config%': '<(pkg-config)', |
1185 'chroot_cmd%': '<(chroot_cmd)', | 1191 'chroot_cmd%': '<(chroot_cmd)', |
1186 'system_libdir%': '<(system_libdir)', | 1192 'system_libdir%': '<(system_libdir)', |
1187 'component%': '<(component)', | 1193 'component%': '<(component)', |
1188 'win_analyze%': '<(win_analyze)', | 1194 'win_analyze%': '<(win_analyze)', |
1189 'win_fastlink%': '<(win_fastlink)', | 1195 'win_fastlink%': '<(win_fastlink)', |
| 1196 'chrome_pgo_phase%': '<(chrome_pgo_phase)', |
| 1197 'full_wpo_on_official%': '<(full_wpo_on_official)', |
1190 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera
tion)', | 1198 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera
tion)', |
1191 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', | 1199 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', |
1192 'remoting%': '<(remoting)', | 1200 'remoting%': '<(remoting)', |
1193 'enable_one_click_signin%': '<(enable_one_click_signin)', | 1201 'enable_one_click_signin%': '<(enable_one_click_signin)', |
1194 'enable_media_router%': '<(enable_media_router)', | 1202 'enable_media_router%': '<(enable_media_router)', |
1195 'enable_webrtc%': '<(enable_webrtc)', | 1203 'enable_webrtc%': '<(enable_webrtc)', |
1196 'chromium_win_pch%': '<(chromium_win_pch)', | 1204 'chromium_win_pch%': '<(chromium_win_pch)', |
1197 'configuration_policy': '<(configuration_policy)', | 1205 'configuration_policy': '<(configuration_policy)', |
1198 'safe_browsing%': '<(safe_browsing)', | 1206 'safe_browsing%': '<(safe_browsing)', |
1199 'enable_web_speech%': '<(enable_web_speech)', | 1207 'enable_web_speech%': '<(enable_web_speech)', |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 'msvs_debug_link_nonincremental%': '1', | 1378 'msvs_debug_link_nonincremental%': '1', |
1371 | 1379 |
1372 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows | 1380 # Turns on Use Library Dependency Inputs for linking chrome.dll on Windows |
1373 # to get incremental linking to be faster in debug builds. | 1381 # to get incremental linking to be faster in debug builds. |
1374 'incremental_chrome_dll%': '0', | 1382 'incremental_chrome_dll%': '0', |
1375 | 1383 |
1376 # Experimental setting to break chrome.dll into multiple pieces based on | 1384 # Experimental setting to break chrome.dll into multiple pieces based on |
1377 # process type. | 1385 # process type. |
1378 'chrome_multiple_dll%': '0', | 1386 'chrome_multiple_dll%': '0', |
1379 | 1387 |
1380 # Experimental setting to optimize Chrome's DLLs with PGO. | |
1381 'chrome_pgo_phase%': '0', | |
1382 | |
1383 # Experimental setting to build the official builds with full WPO. | |
1384 'full_wpo_on_official%': '0', | |
1385 | |
1386 # Whether the VS xtree header has been patched to disable warning 4702. If | 1388 # Whether the VS xtree header has been patched to disable warning 4702. If |
1387 # it has, then we don't need to disable 4702 (unreachable code warning). | 1389 # it has, then we don't need to disable 4702 (unreachable code warning). |
1388 # The patch is preapplied to the internal toolchain and hence all bots. | 1390 # The patch is preapplied to the internal toolchain and hence all bots. |
1389 'msvs_xtree_patched%': '<!pymod_do_main(win_is_xtree_patched)', | 1391 'msvs_xtree_patched%': '<!pymod_do_main(win_is_xtree_patched)', |
1390 | 1392 |
1391 # Clang stuff. | 1393 # Clang stuff. |
1392 'clang%': '<(clang)', | 1394 'clang%': '<(clang)', |
1393 'host_clang%': '<(host_clang)', | 1395 'host_clang%': '<(host_clang)', |
1394 'make_clang_dir%': '<(make_clang_dir)', | 1396 'make_clang_dir%': '<(make_clang_dir)', |
1395 'use_lld%': '<(use_lld)', | 1397 'use_lld%': '<(use_lld)', |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2027 'incremental_chrome_dll%': 1, | 2029 'incremental_chrome_dll%': 1, |
2028 }], | 2030 }], |
2029 # Don't do incremental linking for large modules on 32-bit or when | 2031 # Don't do incremental linking for large modules on 32-bit or when |
2030 # component=static_library as the toolchain fails due to the size of | 2032 # component=static_library as the toolchain fails due to the size of |
2031 # the .ilk files. | 2033 # the .ilk files. |
2032 ['MSVS_OS_BITS==32 or component=="static_library"', { | 2034 ['MSVS_OS_BITS==32 or component=="static_library"', { |
2033 'msvs_large_module_debug_link_mode%': '1', # No | 2035 'msvs_large_module_debug_link_mode%': '1', # No |
2034 },{ | 2036 },{ |
2035 'msvs_large_module_debug_link_mode%': '2', # Yes | 2037 'msvs_large_module_debug_link_mode%': '2', # Yes |
2036 }], | 2038 }], |
| 2039 ['chrome_pgo_phase!= 0', { |
| 2040 'full_wpo_on_official%': 1, |
| 2041 }], |
2037 ], | 2042 ], |
2038 'nacl_win64_defines': [ | 2043 'nacl_win64_defines': [ |
2039 # This flag is used to minimize dependencies when building | 2044 # This flag is used to minimize dependencies when building |
2040 # Native Client loader for 64-bit Windows. | 2045 # Native Client loader for 64-bit Windows. |
2041 'NACL_WIN64', | 2046 'NACL_WIN64', |
2042 ], | 2047 ], |
2043 # Need to include allocator target, but exclude tcmalloc files. | 2048 # Need to include allocator target, but exclude tcmalloc files. |
2044 'use_allocator%': 'winheap', | 2049 'use_allocator%': 'winheap', |
2045 }], | 2050 }], |
2046 | 2051 |
(...skipping 4281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6328 # settings in target dicts. SYMROOT is a special case, because many other | 6333 # settings in target dicts. SYMROOT is a special case, because many other |
6329 # Xcode variables depend on it, including variables such as | 6334 # Xcode variables depend on it, including variables such as |
6330 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6335 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6331 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6336 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6332 # files to appear (when present) in the UI as actual files and not red | 6337 # files to appear (when present) in the UI as actual files and not red |
6333 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6338 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6334 # and therefore SYMROOT, needs to be set at the project level. | 6339 # and therefore SYMROOT, needs to be set at the project level. |
6335 'SYMROOT': '<(DEPTH)/xcodebuild', | 6340 'SYMROOT': '<(DEPTH)/xcodebuild', |
6336 }, | 6341 }, |
6337 } | 6342 } |
OLD | NEW |