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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. | 715 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. |
716 'mac_views_browser%': 0, | 716 'mac_views_browser%': 0, |
717 | 717 |
718 # By default, use ICU data file (icudtl.dat). | 718 # By default, use ICU data file (icudtl.dat). |
719 'icu_use_data_file_flag%': 1, | 719 'icu_use_data_file_flag%': 1, |
720 | 720 |
721 # Turn on JNI generation optimizations by default. | 721 # Turn on JNI generation optimizations by default. |
722 'optimize_jni_generation%': 1, | 722 'optimize_jni_generation%': 1, |
723 | 723 |
724 'conditions': [ | 724 'conditions': [ |
| 725 # In Windows official builds, enable DCHECK as dump-without-crashing. |
| 726 ['OS=="win" and buildtype=="Official"', { |
| 727 'dcheck_always_on%': 1, |
| 728 'dcheck_is_dump_without_crash': 1, |
| 729 }, { |
| 730 'dcheck_always_on%': 0, |
| 731 'dcheck_is_dump_without_crash': 0, |
| 732 }], |
| 733 |
725 # A flag for POSIX platforms | 734 # A flag for POSIX platforms |
726 ['OS=="win"', { | 735 ['OS=="win"', { |
727 'os_posix%': 0, | 736 'os_posix%': 0, |
728 }, { | 737 }, { |
729 'os_posix%': 1, | 738 'os_posix%': 1, |
730 }], | 739 }], |
731 | 740 |
732 # A flag for BSD platforms | 741 # A flag for BSD platforms |
733 ['OS=="freebsd" or OS=="openbsd"', { | 742 ['OS=="freebsd" or OS=="openbsd"', { |
734 'os_bsd%': 1, | 743 'os_bsd%': 1, |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 1195 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
1187 'enable_viewport%': '<(enable_viewport)', | 1196 'enable_viewport%': '<(enable_viewport)', |
1188 'enable_hidpi%': '<(enable_hidpi)', | 1197 'enable_hidpi%': '<(enable_hidpi)', |
1189 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1198 'enable_topchrome_md%': '<(enable_topchrome_md)', |
1190 'enable_wayland_server%': '<(enable_wayland_server)', | 1199 'enable_wayland_server%': '<(enable_wayland_server)', |
1191 'enable_wifi_display%': '<(enable_wifi_display)', | 1200 'enable_wifi_display%': '<(enable_wifi_display)', |
1192 'image_loader_extension%': '<(image_loader_extension)', | 1201 'image_loader_extension%': '<(image_loader_extension)', |
1193 'fastbuild%': '<(fastbuild)', | 1202 'fastbuild%': '<(fastbuild)', |
1194 'win_z7%': '<(win_z7)', | 1203 'win_z7%': '<(win_z7)', |
1195 'dcheck_always_on%': '<(dcheck_always_on)', | 1204 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1205 'dcheck_is_dump_without_crash%': '<(dcheck_is_dump_without_crash)', |
1196 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1206 'tracing_like_official_build%': '<(tracing_like_official_build)', |
1197 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', | 1207 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
1198 'arm_version%': '<(arm_version)', | 1208 'arm_version%': '<(arm_version)', |
1199 'arm_neon%': '<(arm_neon)', | 1209 'arm_neon%': '<(arm_neon)', |
1200 'arm_neon_optional%': '<(arm_neon_optional)', | 1210 'arm_neon_optional%': '<(arm_neon_optional)', |
1201 'sysroot%': '<(sysroot)', | 1211 'sysroot%': '<(sysroot)', |
1202 'use_sysroot%': '<(use_sysroot)', | 1212 'use_sysroot%': '<(use_sysroot)', |
1203 'pkg-config%': '<(pkg-config)', | 1213 'pkg-config%': '<(pkg-config)', |
1204 'chroot_cmd%': '<(chroot_cmd)', | 1214 'chroot_cmd%': '<(chroot_cmd)', |
1205 'system_libdir%': '<(system_libdir)', | 1215 'system_libdir%': '<(system_libdir)', |
(...skipping 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2851 ['OS=="android" and fastbuild==1', { | 2861 ['OS=="android" and fastbuild==1', { |
2852 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is | 2862 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is |
2853 # fixed. | 2863 # fixed. |
2854 'variables': { 'release_extra_cflags': '-g0', }, | 2864 'variables': { 'release_extra_cflags': '-g0', }, |
2855 }], | 2865 }], |
2856 ], | 2866 ], |
2857 }], # fastbuild!=0 | 2867 }], # fastbuild!=0 |
2858 ['dcheck_always_on!=0', { | 2868 ['dcheck_always_on!=0', { |
2859 'defines': ['DCHECK_ALWAYS_ON=1'], | 2869 'defines': ['DCHECK_ALWAYS_ON=1'], |
2860 }], # dcheck_always_on!=0 | 2870 }], # dcheck_always_on!=0 |
| 2871 ['dcheck_is_dump_without_crash!=0', { |
| 2872 'defines': ['DCHECK_IS_DUMP_WITHOUT_CRASH=1'], |
| 2873 }], # dcheck_is_dump_without_crash!=0 |
2861 ['tracing_like_official_build!=0', { | 2874 ['tracing_like_official_build!=0', { |
2862 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2875 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
2863 }], # tracing_like_official_build!=0 | 2876 }], # tracing_like_official_build!=0 |
2864 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { | 2877 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { |
2865 'defines': ['FIELDTRIAL_TESTING_ENABLED'], | 2878 'defines': ['FIELDTRIAL_TESTING_ENABLED'], |
2866 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" | 2879 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" |
2867 ['OS=="win"', { | 2880 ['OS=="win"', { |
2868 'defines': ['NO_TCMALLOC'], | 2881 'defines': ['NO_TCMALLOC'], |
2869 'conditions': [ | 2882 'conditions': [ |
2870 ['win_use_allocator_shim==1', { | 2883 ['win_use_allocator_shim==1', { |
(...skipping 3531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6402 # settings in target dicts. SYMROOT is a special case, because many other | 6415 # settings in target dicts. SYMROOT is a special case, because many other |
6403 # Xcode variables depend on it, including variables such as | 6416 # Xcode variables depend on it, including variables such as |
6404 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6417 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6405 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6418 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6406 # files to appear (when present) in the UI as actual files and not red | 6419 # files to appear (when present) in the UI as actual files and not red |
6407 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6420 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6408 # and therefore SYMROOT, needs to be set at the project level. | 6421 # and therefore SYMROOT, needs to be set at the project level. |
6409 'SYMROOT': '<(DEPTH)/xcodebuild', | 6422 'SYMROOT': '<(DEPTH)/xcodebuild', |
6410 }, | 6423 }, |
6411 } | 6424 } |
OLD | NEW |