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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 'linux_lsb_release%': '<(linux_lsb_release)', | 194 'linux_lsb_release%': '<(linux_lsb_release)', |
195 | 195 |
196 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 196 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
197 # (it disables debug info for fastest compilation - only for use | 197 # (it disables debug info for fastest compilation - only for use |
198 # on compile-only bots). | 198 # on compile-only bots). |
199 'fastbuild%': 0, | 199 'fastbuild%': 0, |
200 | 200 |
201 # Set to 1 to enable dcheck in release without having to use the flag. | 201 # Set to 1 to enable dcheck in release without having to use the flag. |
202 'dcheck_always_on%': 0, | 202 'dcheck_always_on%': 0, |
203 | 203 |
204 # Set to 1 to make a build that logs like an official build, but is not | |
205 # necessarily an official build. | |
206 'logging_is_official_build%': 0, | |
Mark Mentovai
2013/06/20 16:09:42
_like_ makes more sense than _is_.
Document that
Mostyn Bramley-Moore
2013/06/20 19:24:30
Done in patchset 2.
I also rejigged the ifdeffery
| |
207 | |
204 # Disable file manager component extension by default. | 208 # Disable file manager component extension by default. |
205 'file_manager_extension%': 0, | 209 'file_manager_extension%': 0, |
206 | 210 |
207 # Disable image loader component extension by default. | 211 # Disable image loader component extension by default. |
208 'image_loader_extension%': 0, | 212 'image_loader_extension%': 0, |
209 | 213 |
210 # Python version. | 214 # Python version. |
211 'python_ver%': '2.6', | 215 'python_ver%': '2.6', |
212 | 216 |
213 | 217 |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
754 'linux_fpic%': '<(linux_fpic)', | 758 'linux_fpic%': '<(linux_fpic)', |
755 'chromeos%': '<(chromeos)', | 759 'chromeos%': '<(chromeos)', |
756 'enable_viewport%': '<(enable_viewport)', | 760 'enable_viewport%': '<(enable_viewport)', |
757 'enable_hidpi%': '<(enable_hidpi)', | 761 'enable_hidpi%': '<(enable_hidpi)', |
758 'enable_touch_ui%': '<(enable_touch_ui)', | 762 'enable_touch_ui%': '<(enable_touch_ui)', |
759 'use_xi2_mt%':'<(use_xi2_mt)', | 763 'use_xi2_mt%':'<(use_xi2_mt)', |
760 'file_manager_extension%': '<(file_manager_extension)', | 764 'file_manager_extension%': '<(file_manager_extension)', |
761 'image_loader_extension%': '<(image_loader_extension)', | 765 'image_loader_extension%': '<(image_loader_extension)', |
762 'fastbuild%': '<(fastbuild)', | 766 'fastbuild%': '<(fastbuild)', |
763 'dcheck_always_on%': '<(dcheck_always_on)', | 767 'dcheck_always_on%': '<(dcheck_always_on)', |
768 'logging_is_official_build%': '<(logging_is_official_build)', | |
764 'python_ver%': '<(python_ver)', | 769 'python_ver%': '<(python_ver)', |
765 'arm_version%': '<(arm_version)', | 770 'arm_version%': '<(arm_version)', |
766 'armv7%': '<(armv7)', | 771 'armv7%': '<(armv7)', |
767 'arm_neon%': '<(arm_neon)', | 772 'arm_neon%': '<(arm_neon)', |
768 'arm_neon_optional%': '<(arm_neon_optional)', | 773 'arm_neon_optional%': '<(arm_neon_optional)', |
769 'sysroot%': '<(sysroot)', | 774 'sysroot%': '<(sysroot)', |
770 'system_libdir%': '<(system_libdir)', | 775 'system_libdir%': '<(system_libdir)', |
771 'component%': '<(component)', | 776 'component%': '<(component)', |
772 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 777 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
773 'use_third_party_translations%': '<(use_third_party_translations)', | 778 'use_third_party_translations%': '<(use_third_party_translations)', |
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2040 'release_extra_cflags': '-g1', | 2045 'release_extra_cflags': '-g1', |
2041 }, | 2046 }, |
2042 }], | 2047 }], |
2043 ], | 2048 ], |
2044 }], # clang!=1 | 2049 }], # clang!=1 |
2045 ], | 2050 ], |
2046 }], # fastbuild!=0 | 2051 }], # fastbuild!=0 |
2047 ['dcheck_always_on!=0', { | 2052 ['dcheck_always_on!=0', { |
2048 'defines': ['DCHECK_ALWAYS_ON=1'], | 2053 'defines': ['DCHECK_ALWAYS_ON=1'], |
2049 }], # dcheck_always_on!=0 | 2054 }], # dcheck_always_on!=0 |
2055 ['logging_is_official_build!=0', { | |
2056 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'], | |
2057 }], # logging_is_official_build!=0 | |
2050 ['win_use_allocator_shim==0', { | 2058 ['win_use_allocator_shim==0', { |
2051 'conditions': [ | 2059 'conditions': [ |
2052 ['OS=="win"', { | 2060 ['OS=="win"', { |
2053 'defines': ['NO_TCMALLOC'], | 2061 'defines': ['NO_TCMALLOC'], |
2054 }], | 2062 }], |
2055 ], | 2063 ], |
2056 }], | 2064 }], |
2057 ['enable_gpu==1', { | 2065 ['enable_gpu==1', { |
2058 'defines': [ | 2066 'defines': [ |
2059 'ENABLE_GPU=1', | 2067 'ENABLE_GPU=1', |
(...skipping 2509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4569 # settings in target dicts. SYMROOT is a special case, because many other | 4577 # settings in target dicts. SYMROOT is a special case, because many other |
4570 # Xcode variables depend on it, including variables such as | 4578 # Xcode variables depend on it, including variables such as |
4571 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4579 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4572 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4580 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4573 # files to appear (when present) in the UI as actual files and not red | 4581 # files to appear (when present) in the UI as actual files and not red |
4574 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4582 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4575 # and therefore SYMROOT, needs to be set at the project level. | 4583 # and therefore SYMROOT, needs to be set at the project level. |
4576 'SYMROOT': '<(DEPTH)/xcodebuild', | 4584 'SYMROOT': '<(DEPTH)/xcodebuild', |
4577 }, | 4585 }, |
4578 } | 4586 } |
OLD | NEW |