| 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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1581 'ozone_platform_headless%': 0, | 1581 'ozone_platform_headless%': 0, |
| 1582 | 1582 |
| 1583 # Experiment: http://crbug.com/426914 | 1583 # Experiment: http://crbug.com/426914 |
| 1584 'envoy%': 0, | 1584 'envoy%': 0, |
| 1585 | 1585 |
| 1586 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | 1586 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
| 1587 # for robust login screen decoding. | 1587 # for robust login screen decoding. |
| 1588 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1588 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
| 1589 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1589 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
| 1590 | 1590 |
| 1591 # Enable runtime memory leak detector. |
| 1592 'enable_leak_detector%': 0, |
| 1593 |
| 1591 'conditions': [ | 1594 'conditions': [ |
| 1592 ['buildtype=="Official"', { | 1595 ['buildtype=="Official"', { |
| 1593 # Continue to embed build meta data in Official builds, basically the | 1596 # Continue to embed build meta data in Official builds, basically the |
| 1594 # time it was built. | 1597 # time it was built. |
| 1595 # TODO(maruel): This decision should be revisited because having an | 1598 # TODO(maruel): This decision should be revisited because having an |
| 1596 # official deterministic build has high value too but MSVC toolset can't | 1599 # official deterministic build has high value too but MSVC toolset can't |
| 1597 # generate anything deterministic with WPO enabled AFAIK. | 1600 # generate anything deterministic with WPO enabled AFAIK. |
| 1598 'dont_embed_build_metadata%': 0, | 1601 'dont_embed_build_metadata%': 0, |
| 1599 }], | 1602 }], |
| 1600 # Enable the Syzygy optimization step for the official builds. | 1603 # Enable the Syzygy optimization step for the official builds. |
| (...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 'FULL_SAFE_BROWSING', | 3078 'FULL_SAFE_BROWSING', |
| 3076 'SAFE_BROWSING_CSD', | 3079 'SAFE_BROWSING_CSD', |
| 3077 'SAFE_BROWSING_DB_LOCAL', | 3080 'SAFE_BROWSING_DB_LOCAL', |
| 3078 ], | 3081 ], |
| 3079 }], | 3082 }], |
| 3080 ['safe_browsing==2 and OS!="ios"', { | 3083 ['safe_browsing==2 and OS!="ios"', { |
| 3081 'defines': [ | 3084 'defines': [ |
| 3082 'SAFE_BROWSING_DB_REMOTE', | 3085 'SAFE_BROWSING_DB_REMOTE', |
| 3083 ], | 3086 ], |
| 3084 }], | 3087 }], |
| 3088 ['enable_leak_detector==1 and chromeos==1', { |
| 3089 'defines': ['ENABLE_LEAK_DETECTOR=1'], |
| 3090 }], |
| 3085 ], # conditions for 'target_defaults' | 3091 ], # conditions for 'target_defaults' |
| 3086 'target_conditions': [ | 3092 'target_conditions': [ |
| 3087 ['<(use_libpci)==1', { | 3093 ['<(use_libpci)==1', { |
| 3088 'defines': ['USE_LIBPCI=1'], | 3094 'defines': ['USE_LIBPCI=1'], |
| 3089 }], | 3095 }], |
| 3090 ['<(use_openssl)==1', { | 3096 ['<(use_openssl)==1', { |
| 3091 'defines': ['USE_OPENSSL=1'], | 3097 'defines': ['USE_OPENSSL=1'], |
| 3092 }], | 3098 }], |
| 3093 ['<(use_openssl_certs)==1', { | 3099 ['<(use_openssl_certs)==1', { |
| 3094 'defines': ['USE_OPENSSL_CERTS=1'], | 3100 'defines': ['USE_OPENSSL_CERTS=1'], |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3848 ], | 3854 ], |
| 3849 }], | 3855 }], |
| 3850 ], | 3856 ], |
| 3851 }], | 3857 }], |
| 3852 ['release_unwind_tables==1', { | 3858 ['release_unwind_tables==1', { |
| 3853 'cflags': ['-funwind-tables'], | 3859 'cflags': ['-funwind-tables'], |
| 3854 }, { | 3860 }, { |
| 3855 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3861 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
| 3856 'defines': ['NO_UNWIND_TABLES'], | 3862 'defines': ['NO_UNWIND_TABLES'], |
| 3857 }], | 3863 }], |
| 3864 ['enable_leak_detector==1 and chromeos==1', { |
| 3865 'cflags': [ |
| 3866 '-fno-omit-frame-pointer', |
| 3867 ], |
| 3868 }], |
| 3858 ], | 3869 ], |
| 3859 }, | 3870 }, |
| 3860 }, | 3871 }, |
| 3861 'conditions': [ | 3872 'conditions': [ |
| 3862 ['target_arch=="ia32"', { | 3873 ['target_arch=="ia32"', { |
| 3863 'target_conditions': [ | 3874 'target_conditions': [ |
| 3864 ['_toolset=="target"', { | 3875 ['_toolset=="target"', { |
| 3865 'asflags': [ | 3876 'asflags': [ |
| 3866 # Needed so that libs with .s files (e.g. libicudata.a) | 3877 # Needed so that libs with .s files (e.g. libicudata.a) |
| 3867 # are compatible with the general 32-bit-ness. | 3878 # are compatible with the general 32-bit-ness. |
| (...skipping 2525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6393 # settings in target dicts. SYMROOT is a special case, because many other | 6404 # settings in target dicts. SYMROOT is a special case, because many other |
| 6394 # Xcode variables depend on it, including variables such as | 6405 # Xcode variables depend on it, including variables such as |
| 6395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6406 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6407 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6397 # files to appear (when present) in the UI as actual files and not red | 6408 # files to appear (when present) in the UI as actual files and not red |
| 6398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6409 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6399 # and therefore SYMROOT, needs to be set at the project level. | 6410 # and therefore SYMROOT, needs to be set at the project level. |
| 6400 'SYMROOT': '<(DEPTH)/xcodebuild', | 6411 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6401 }, | 6412 }, |
| 6402 } | 6413 } |
| OLD | NEW |