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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 # Only used on Windows. | 361 # Only used on Windows. |
362 'win_z7%' : 0, | 362 'win_z7%' : 0, |
363 | 363 |
364 # Set to 1 to enable dcheck in Release build. | 364 # Set to 1 to enable dcheck in Release build. |
365 'dcheck_always_on%': 0, | 365 'dcheck_always_on%': 0, |
366 | 366 |
367 # Set to 1 to make a build that disables unshipped tracing events. | 367 # Set to 1 to make a build that disables unshipped tracing events. |
368 # Note: this setting is ignored if buildtype=="Official". | 368 # Note: this setting is ignored if buildtype=="Official". |
369 'tracing_like_official_build%': 0, | 369 'tracing_like_official_build%': 0, |
370 | 370 |
| 371 # Set to 1 to make a build that disables activation of field trial tests |
| 372 # specified in testing/variations/fieldtrial_testing_config_*.json. |
| 373 # Note: this setting is ignored if branding=="Chrome". |
| 374 'fieldtrial_testing_like_official_build%': 0, |
| 375 |
371 # Disable image loader component extension by default. | 376 # Disable image loader component extension by default. |
372 'image_loader_extension%': 0, | 377 'image_loader_extension%': 0, |
373 | 378 |
374 # Set NEON compilation flags. | 379 # Set NEON compilation flags. |
375 'arm_neon%': 1, | 380 'arm_neon%': 1, |
376 | 381 |
377 # Detect NEON support at run-time. | 382 # Detect NEON support at run-time. |
378 'arm_neon_optional%': 0, | 383 'arm_neon_optional%': 0, |
379 | 384 |
380 # Use libjpeg-turbo as the JPEG codec used by Chromium. | 385 # Use libjpeg-turbo as the JPEG codec used by Chromium. |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 'chromecast%': '<(chromecast)', | 1141 'chromecast%': '<(chromecast)', |
1137 'enable_viewport%': '<(enable_viewport)', | 1142 'enable_viewport%': '<(enable_viewport)', |
1138 'enable_hidpi%': '<(enable_hidpi)', | 1143 'enable_hidpi%': '<(enable_hidpi)', |
1139 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1144 'enable_topchrome_md%': '<(enable_topchrome_md)', |
1140 'image_loader_extension%': '<(image_loader_extension)', | 1145 'image_loader_extension%': '<(image_loader_extension)', |
1141 'fastbuild%': '<(fastbuild)', | 1146 'fastbuild%': '<(fastbuild)', |
1142 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1147 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
1143 'win_z7%': '<(win_z7)', | 1148 'win_z7%': '<(win_z7)', |
1144 'dcheck_always_on%': '<(dcheck_always_on)', | 1149 'dcheck_always_on%': '<(dcheck_always_on)', |
1145 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1150 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| 1151 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
1146 'arm_version%': '<(arm_version)', | 1152 'arm_version%': '<(arm_version)', |
1147 'arm_neon%': '<(arm_neon)', | 1153 'arm_neon%': '<(arm_neon)', |
1148 'arm_neon_optional%': '<(arm_neon_optional)', | 1154 'arm_neon_optional%': '<(arm_neon_optional)', |
1149 'sysroot%': '<(sysroot)', | 1155 'sysroot%': '<(sysroot)', |
1150 'pkg-config%': '<(pkg-config)', | 1156 'pkg-config%': '<(pkg-config)', |
1151 'chroot_cmd%': '<(chroot_cmd)', | 1157 'chroot_cmd%': '<(chroot_cmd)', |
1152 'system_libdir%': '<(system_libdir)', | 1158 'system_libdir%': '<(system_libdir)', |
1153 'component%': '<(component)', | 1159 'component%': '<(component)', |
1154 'win_analyze%': '<(win_analyze)', | 1160 'win_analyze%': '<(win_analyze)', |
1155 'win_fastlink%': '<(win_fastlink)', | 1161 'win_fastlink%': '<(win_fastlink)', |
(...skipping 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2831 'defines': [ | 2837 'defines': [ |
2832 'DONT_EMBED_BUILD_METADATA', | 2838 'DONT_EMBED_BUILD_METADATA', |
2833 ], | 2839 ], |
2834 }], # dont_embed_build_metadata==1 | 2840 }], # dont_embed_build_metadata==1 |
2835 ['dcheck_always_on!=0', { | 2841 ['dcheck_always_on!=0', { |
2836 'defines': ['DCHECK_ALWAYS_ON=1'], | 2842 'defines': ['DCHECK_ALWAYS_ON=1'], |
2837 }], # dcheck_always_on!=0 | 2843 }], # dcheck_always_on!=0 |
2838 ['tracing_like_official_build!=0', { | 2844 ['tracing_like_official_build!=0', { |
2839 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2845 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
2840 }], # tracing_like_official_build!=0 | 2846 }], # tracing_like_official_build!=0 |
| 2847 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { |
| 2848 'defines': ['FIELDTRIAL_TESTING_ENABLED'], |
| 2849 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" |
2841 ['OS=="win"', { | 2850 ['OS=="win"', { |
2842 'defines': ['NO_TCMALLOC'], | 2851 'defines': ['NO_TCMALLOC'], |
2843 'conditions': [ | 2852 'conditions': [ |
2844 ['win_use_allocator_shim==1', { | 2853 ['win_use_allocator_shim==1', { |
2845 'defines': ['ALLOCATOR_SHIM'], | 2854 'defines': ['ALLOCATOR_SHIM'], |
2846 }], | 2855 }], |
2847 ], | 2856 ], |
2848 }], | 2857 }], |
2849 ['asan==1', { | 2858 ['asan==1', { |
2850 'defines': [ | 2859 'defines': [ |
(...skipping 3432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6283 # settings in target dicts. SYMROOT is a special case, because many other | 6292 # settings in target dicts. SYMROOT is a special case, because many other |
6284 # Xcode variables depend on it, including variables such as | 6293 # Xcode variables depend on it, including variables such as |
6285 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6294 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6286 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6295 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6287 # files to appear (when present) in the UI as actual files and not red | 6296 # files to appear (when present) in the UI as actual files and not red |
6288 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6297 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6289 # and therefore SYMROOT, needs to be set at the project level. | 6298 # and therefore SYMROOT, needs to be set at the project level. |
6290 'SYMROOT': '<(DEPTH)/xcodebuild', | 6299 'SYMROOT': '<(DEPTH)/xcodebuild', |
6291 }, | 6300 }, |
6292 } | 6301 } |
OLD | NEW |