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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 'use_default_render_theme%': '<(use_default_render_theme)', | 372 'use_default_render_theme%': '<(use_default_render_theme)', |
373 'buildtype%': '<(buildtype)', | 373 'buildtype%': '<(buildtype)', |
374 'branding%': '<(branding)', | 374 'branding%': '<(branding)', |
375 'branding_path_component%': '<(branding_path_component)', | 375 'branding_path_component%': '<(branding_path_component)', |
376 'arm_version%': '<(arm_version)', | 376 'arm_version%': '<(arm_version)', |
377 'sysroot%': '<(sysroot)', | 377 'sysroot%': '<(sysroot)', |
378 'chroot_cmd%': '<(chroot_cmd)', | 378 'chroot_cmd%': '<(chroot_cmd)', |
379 'system_libdir%': '<(system_libdir)', | 379 'system_libdir%': '<(system_libdir)', |
380 'order_profiling%': '<(order_profiling)', | 380 'order_profiling%': '<(order_profiling)', |
381 | 381 |
382 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__ | 382 # TODO(zforman): Remove as soon as no bots depend on this. |
383 # and __TIME__. Set to 0 to reenable the use of these macros in the code | 383 'dont_embed_build_metadata%': 0, |
384 # base. See http://crbug.com/314403. | |
385 'dont_embed_build_metadata%': 1, | |
386 | 384 |
387 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. | 385 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
388 # This is useful for parallel compilation tools which can't support /Zi. | 386 # This is useful for parallel compilation tools which can't support /Zi. |
389 # Only used on Windows. | 387 # Only used on Windows. |
390 'win_z7%' : 0, | 388 'win_z7%' : 0, |
391 | 389 |
392 # Set to 1 to enable dcheck in Release build. | 390 # Set to 1 to enable dcheck in Release build. |
393 'dcheck_always_on%': 0, | 391 'dcheck_always_on%': 0, |
394 | 392 |
395 # Set to 1 to make a build that disables unshipped tracing events. | 393 # Set to 1 to make a build that disables unshipped tracing events. |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 'chromeos%': '<(chromeos)', | 1165 'chromeos%': '<(chromeos)', |
1168 'chromecast%': '<(chromecast)', | 1166 'chromecast%': '<(chromecast)', |
1169 'is_cast_desktop_build%': '<(is_cast_desktop_build)', | 1167 'is_cast_desktop_build%': '<(is_cast_desktop_build)', |
1170 'enable_viewport%': '<(enable_viewport)', | 1168 'enable_viewport%': '<(enable_viewport)', |
1171 'enable_hidpi%': '<(enable_hidpi)', | 1169 'enable_hidpi%': '<(enable_hidpi)', |
1172 'enable_topchrome_md%': '<(enable_topchrome_md)', | 1170 'enable_topchrome_md%': '<(enable_topchrome_md)', |
1173 'enable_wayland_server%': '<(enable_wayland_server)', | 1171 'enable_wayland_server%': '<(enable_wayland_server)', |
1174 'enable_wifi_display%': '<(enable_wifi_display)', | 1172 'enable_wifi_display%': '<(enable_wifi_display)', |
1175 'image_loader_extension%': '<(image_loader_extension)', | 1173 'image_loader_extension%': '<(image_loader_extension)', |
1176 'fastbuild%': '<(fastbuild)', | 1174 'fastbuild%': '<(fastbuild)', |
1177 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | |
1178 'win_z7%': '<(win_z7)', | 1175 'win_z7%': '<(win_z7)', |
1179 'dcheck_always_on%': '<(dcheck_always_on)', | 1176 'dcheck_always_on%': '<(dcheck_always_on)', |
1180 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1177 'tracing_like_official_build%': '<(tracing_like_official_build)', |
1181 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', | 1178 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici
al_build)', |
1182 'arm_version%': '<(arm_version)', | 1179 'arm_version%': '<(arm_version)', |
1183 'arm_neon%': '<(arm_neon)', | 1180 'arm_neon%': '<(arm_neon)', |
1184 'arm_neon_optional%': '<(arm_neon_optional)', | 1181 'arm_neon_optional%': '<(arm_neon_optional)', |
1185 'sysroot%': '<(sysroot)', | 1182 'sysroot%': '<(sysroot)', |
1186 'pkg-config%': '<(pkg-config)', | 1183 'pkg-config%': '<(pkg-config)', |
1187 'chroot_cmd%': '<(chroot_cmd)', | 1184 'chroot_cmd%': '<(chroot_cmd)', |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 | 1581 |
1585 # Experiment: http://crbug.com/426914 | 1582 # Experiment: http://crbug.com/426914 |
1586 'envoy%': 0, | 1583 'envoy%': 0, |
1587 | 1584 |
1588 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | 1585 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
1589 # for robust login screen decoding. | 1586 # for robust login screen decoding. |
1590 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1587 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
1591 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1588 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
1592 | 1589 |
1593 'conditions': [ | 1590 'conditions': [ |
1594 ['buildtype=="Official"', { | |
1595 # Continue to embed build meta data in Official builds, basically the | |
1596 # time it was built. | |
1597 # TODO(maruel): This decision should be revisited because having an | |
1598 # official deterministic build has high value too but MSVC toolset can't | |
1599 # generate anything deterministic with WPO enabled AFAIK. | |
1600 'dont_embed_build_metadata%': 0, | |
1601 }], | |
1602 # Enable the Syzygy optimization step for the official builds. | 1591 # Enable the Syzygy optimization step for the official builds. |
1603 ['OS=="win" and buildtype=="Official" and syzyasan!=1 and clang!=1', { | 1592 ['OS=="win" and buildtype=="Official" and syzyasan!=1 and clang!=1', { |
1604 'syzygy_optimize%': 1, | 1593 'syzygy_optimize%': 1, |
1605 }, { | 1594 }, { |
1606 'syzygy_optimize%': 0, | 1595 'syzygy_optimize%': 0, |
1607 }], | 1596 }], |
1608 # Get binutils version so we can enable debug fission if we can. | 1597 # Get binutils version so we can enable debug fission if we can. |
1609 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1598 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1610 'conditions': [ | 1599 'conditions': [ |
1611 # compiler_version doesn't work with clang | 1600 # compiler_version doesn't work with clang |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 ['OS=="android" and fastbuild==2', { | 2830 ['OS=="android" and fastbuild==2', { |
2842 'variables': { 'release_extra_cflags': '-g0', }, | 2831 'variables': { 'release_extra_cflags': '-g0', }, |
2843 }], | 2832 }], |
2844 ['OS=="android" and fastbuild==1', { | 2833 ['OS=="android" and fastbuild==1', { |
2845 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is | 2834 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is |
2846 # fixed. | 2835 # fixed. |
2847 'variables': { 'release_extra_cflags': '-g0', }, | 2836 'variables': { 'release_extra_cflags': '-g0', }, |
2848 }], | 2837 }], |
2849 ], | 2838 ], |
2850 }], # fastbuild!=0 | 2839 }], # fastbuild!=0 |
2851 ['dont_embed_build_metadata==1', { | |
2852 'defines': [ | |
2853 'DONT_EMBED_BUILD_METADATA', | |
2854 ], | |
2855 }], # dont_embed_build_metadata==1 | |
2856 ['dcheck_always_on!=0', { | 2840 ['dcheck_always_on!=0', { |
2857 'defines': ['DCHECK_ALWAYS_ON=1'], | 2841 'defines': ['DCHECK_ALWAYS_ON=1'], |
2858 }], # dcheck_always_on!=0 | 2842 }], # dcheck_always_on!=0 |
2859 ['tracing_like_official_build!=0', { | 2843 ['tracing_like_official_build!=0', { |
2860 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2844 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
2861 }], # tracing_like_official_build!=0 | 2845 }], # tracing_like_official_build!=0 |
2862 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { | 2846 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { |
2863 'defines': ['FIELDTRIAL_TESTING_ENABLED'], | 2847 'defines': ['FIELDTRIAL_TESTING_ENABLED'], |
2864 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" | 2848 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" |
2865 ['OS=="win"', { | 2849 ['OS=="win"', { |
(...skipping 3525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6391 # settings in target dicts. SYMROOT is a special case, because many other | 6375 # settings in target dicts. SYMROOT is a special case, because many other |
6392 # Xcode variables depend on it, including variables such as | 6376 # Xcode variables depend on it, including variables such as |
6393 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6377 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6394 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6378 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6395 # files to appear (when present) in the UI as actual files and not red | 6379 # files to appear (when present) in the UI as actual files and not red |
6396 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6380 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6397 # and therefore SYMROOT, needs to be set at the project level. | 6381 # and therefore SYMROOT, needs to be set at the project level. |
6398 'SYMROOT': '<(DEPTH)/xcodebuild', | 6382 'SYMROOT': '<(DEPTH)/xcodebuild', |
6399 }, | 6383 }, |
6400 } | 6384 } |
OLD | NEW |