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'], | |
brettw
2016/02/18 21:14:57
With the build flag system, this should not be nec
Simon Que
2016/02/19 02:13:02
Done.
| |
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 3298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6393 # settings in target dicts. SYMROOT is a special case, because many other | 6399 # settings in target dicts. SYMROOT is a special case, because many other |
6394 # Xcode variables depend on it, including variables such as | 6400 # Xcode variables depend on it, including variables such as |
6395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6401 # 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 | 6402 # 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 | 6403 # 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, | 6404 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6399 # and therefore SYMROOT, needs to be set at the project level. | 6405 # and therefore SYMROOT, needs to be set at the project level. |
6400 'SYMROOT': '<(DEPTH)/xcodebuild', | 6406 'SYMROOT': '<(DEPTH)/xcodebuild', |
6401 }, | 6407 }, |
6402 } | 6408 } |
OLD | NEW |