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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 'use_system_libjpeg%': 0, | 385 'use_system_libjpeg%': 0, |
386 | 386 |
387 # By default, component is set to static_library and it can be overriden | 387 # By default, component is set to static_library and it can be overriden |
388 # by the GYP command line or by ~/.gyp/include.gypi. | 388 # by the GYP command line or by ~/.gyp/include.gypi. |
389 'component%': 'static_library', | 389 'component%': 'static_library', |
390 | 390 |
391 # /analyze is off by default on Windows because it is very slow and noisy. | 391 # /analyze is off by default on Windows because it is very slow and noisy. |
392 # Enable with GYP_DEFINES=win_analyze=1 | 392 # Enable with GYP_DEFINES=win_analyze=1 |
393 'win_analyze%': 0, | 393 'win_analyze%': 0, |
394 | 394 |
| 395 # /debug:fastlink is off by default on Windows because it generates PDBs |
| 396 # that are machine-local. But, great for local builds. |
| 397 # Enable with GYP_DEFINES=win_fastlink=1 |
| 398 'win_fastlink%': 0, |
| 399 |
395 # Set to select the Title Case versions of strings in GRD files. | 400 # Set to select the Title Case versions of strings in GRD files. |
396 'use_titlecase_in_grd%': 0, | 401 'use_titlecase_in_grd%': 0, |
397 | 402 |
398 # Use translations provided by volunteers at launchpad.net. This | 403 # Use translations provided by volunteers at launchpad.net. This |
399 # currently only works on Linux. | 404 # currently only works on Linux. |
400 'use_third_party_translations%': 0, | 405 'use_third_party_translations%': 0, |
401 | 406 |
402 # Remoting compilation is enabled by default. Set to 0 to disable. | 407 # Remoting compilation is enabled by default. Set to 0 to disable. |
403 'remoting%': 1, | 408 'remoting%': 1, |
404 | 409 |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1141 'tracing_like_official_build%': '<(tracing_like_official_build)', |
1137 'arm_version%': '<(arm_version)', | 1142 'arm_version%': '<(arm_version)', |
1138 'arm_neon%': '<(arm_neon)', | 1143 'arm_neon%': '<(arm_neon)', |
1139 'arm_neon_optional%': '<(arm_neon_optional)', | 1144 'arm_neon_optional%': '<(arm_neon_optional)', |
1140 'sysroot%': '<(sysroot)', | 1145 'sysroot%': '<(sysroot)', |
1141 'pkg-config%': '<(pkg-config)', | 1146 'pkg-config%': '<(pkg-config)', |
1142 'chroot_cmd%': '<(chroot_cmd)', | 1147 'chroot_cmd%': '<(chroot_cmd)', |
1143 'system_libdir%': '<(system_libdir)', | 1148 'system_libdir%': '<(system_libdir)', |
1144 'component%': '<(component)', | 1149 'component%': '<(component)', |
1145 'win_analyze%': '<(win_analyze)', | 1150 'win_analyze%': '<(win_analyze)', |
| 1151 'win_fastlink%': '<(win_fastlink)', |
1146 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera
tion)', | 1152 'enable_resource_whitelist_generation%': '<(enable_resource_whitelist_genera
tion)', |
1147 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', | 1153 'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', |
1148 'use_third_party_translations%': '<(use_third_party_translations)', | 1154 'use_third_party_translations%': '<(use_third_party_translations)', |
1149 'remoting%': '<(remoting)', | 1155 'remoting%': '<(remoting)', |
1150 'enable_one_click_signin%': '<(enable_one_click_signin)', | 1156 'enable_one_click_signin%': '<(enable_one_click_signin)', |
1151 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', | 1157 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', |
1152 'enable_media_router%': '<(enable_media_router)', | 1158 'enable_media_router%': '<(enable_media_router)', |
1153 'enable_webrtc%': '<(enable_webrtc)', | 1159 'enable_webrtc%': '<(enable_webrtc)', |
1154 'chromium_win_pch%': '<(chromium_win_pch)', | 1160 'chromium_win_pch%': '<(chromium_win_pch)', |
1155 'configuration_policy%': '<(configuration_policy)', | 1161 'configuration_policy%': '<(configuration_policy)', |
(...skipping 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3525 }, { | 3531 }, { |
3526 'defines': [ | 3532 'defines': [ |
3527 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 3533 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
3528 'MEMORY_SANITIZER_INITIAL_SIZE', | 3534 'MEMORY_SANITIZER_INITIAL_SIZE', |
3529 'DYNAMIC_ANNOTATIONS_ENABLED=1', | 3535 'DYNAMIC_ANNOTATIONS_ENABLED=1', |
3530 'WTF_USE_DYNAMIC_ANNOTATIONS=1', | 3536 'WTF_USE_DYNAMIC_ANNOTATIONS=1', |
3531 ], | 3537 ], |
3532 }], | 3538 }], |
3533 ['OS=="win"', { | 3539 ['OS=="win"', { |
3534 'defines': ['NO_TCMALLOC'], | 3540 'defines': ['NO_TCMALLOC'], |
| 3541 'conditions': [ |
| 3542 ['win_fastlink==1', { |
| 3543 'msvs_settings': { |
| 3544 'VCLinkerTool': { |
| 3545 # /PROFILE is incompatible with /debug:fastlink |
| 3546 'Profile': 'false', |
| 3547 'AdditionalOptions': [ |
| 3548 # Tell VS 2015+ to create a PDB that references debug |
| 3549 # information in .obj and .lib files instead of copying |
| 3550 # it all. |
| 3551 '/DEBUG:FASTLINK', |
| 3552 ], |
| 3553 }, |
| 3554 }, |
| 3555 }, { |
| 3556 # win_fastlink==0 |
| 3557 'msvs_settings': { |
| 3558 'VCLinkerTool': { |
| 3559 # This corresponds to the /PROFILE flag which ensures the PD
B |
| 3560 # file contains FIXUP information (growing the PDB file by a
bout |
| 3561 # 5%) but does not otherwise alter the output binary. This |
| 3562 # information is used by the Syzygy optimization tool when |
| 3563 # decomposing the release image. |
| 3564 'Profile': 'true', |
| 3565 }, |
| 3566 }, |
| 3567 }], |
| 3568 ], |
3535 }], | 3569 }], |
3536 # _FORTIFY_SOURCE isn't really supported by Clang now, see | 3570 # _FORTIFY_SOURCE isn't really supported by Clang now, see |
3537 # http://llvm.org/bugs/show_bug.cgi?id=16821. | 3571 # http://llvm.org/bugs/show_bug.cgi?id=16821. |
3538 # It seems to work fine with Ubuntu 12 headers though, so use it | 3572 # It seems to work fine with Ubuntu 12 headers though, so use it |
3539 # in official builds. | 3573 # in official builds. |
3540 ['os_posix==1 and (asan!=1 and msan!=1 and tsan!=1 and lsan!=1 and ubs
an!=1) and (OS!="linux" or clang!=1 or buildtype=="Official")', { | 3574 ['os_posix==1 and (asan!=1 and msan!=1 and tsan!=1 and lsan!=1 and ubs
an!=1) and (OS!="linux" or clang!=1 or buildtype=="Official")', { |
3541 'target_conditions': [ | 3575 'target_conditions': [ |
3542 ['chromium_code==1', { | 3576 ['chromium_code==1', { |
3543 # Non-chromium code is not guaranteed to compile cleanly | 3577 # Non-chromium code is not guaranteed to compile cleanly |
3544 # with _FORTIFY_SOURCE. Also, fortified build may fail | 3578 # with _FORTIFY_SOURCE. Also, fortified build may fail |
(...skipping 2700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6245 # settings in target dicts. SYMROOT is a special case, because many other | 6279 # settings in target dicts. SYMROOT is a special case, because many other |
6246 # Xcode variables depend on it, including variables such as | 6280 # Xcode variables depend on it, including variables such as |
6247 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6281 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6248 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6282 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6249 # files to appear (when present) in the UI as actual files and not red | 6283 # files to appear (when present) in the UI as actual files and not red |
6250 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6284 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6251 # and therefore SYMROOT, needs to be set at the project level. | 6285 # and therefore SYMROOT, needs to be set at the project level. |
6252 'SYMROOT': '<(DEPTH)/xcodebuild', | 6286 'SYMROOT': '<(DEPTH)/xcodebuild', |
6253 }, | 6287 }, |
6254 } | 6288 } |
OLD | NEW |