Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: build/common.gypi

Issue 17165003: allow unofficial builds with DCHECK and DLOG disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename _is_ to _like_ in gyp setting and rejig ifdeffery Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/logging.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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, ie DCHECK and DLOG are disabled and
206 # removed completely in release builds, to minimize binary footprint.
207 # Note: this setting is ignored if buildtype=="Official".
208 'logging_like_official_build%': 0,
209
204 # Disable file manager component extension by default. 210 # Disable file manager component extension by default.
205 'file_manager_extension%': 0, 211 'file_manager_extension%': 0,
206 212
207 # Disable image loader component extension by default. 213 # Disable image loader component extension by default.
208 'image_loader_extension%': 0, 214 'image_loader_extension%': 0,
209 215
210 # Python version. 216 # Python version.
211 'python_ver%': '2.6', 217 'python_ver%': '2.6',
212 218
213 219
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 'linux_fpic%': '<(linux_fpic)', 760 'linux_fpic%': '<(linux_fpic)',
755 'chromeos%': '<(chromeos)', 761 'chromeos%': '<(chromeos)',
756 'enable_viewport%': '<(enable_viewport)', 762 'enable_viewport%': '<(enable_viewport)',
757 'enable_hidpi%': '<(enable_hidpi)', 763 'enable_hidpi%': '<(enable_hidpi)',
758 'enable_touch_ui%': '<(enable_touch_ui)', 764 'enable_touch_ui%': '<(enable_touch_ui)',
759 'use_xi2_mt%':'<(use_xi2_mt)', 765 'use_xi2_mt%':'<(use_xi2_mt)',
760 'file_manager_extension%': '<(file_manager_extension)', 766 'file_manager_extension%': '<(file_manager_extension)',
761 'image_loader_extension%': '<(image_loader_extension)', 767 'image_loader_extension%': '<(image_loader_extension)',
762 'fastbuild%': '<(fastbuild)', 768 'fastbuild%': '<(fastbuild)',
763 'dcheck_always_on%': '<(dcheck_always_on)', 769 'dcheck_always_on%': '<(dcheck_always_on)',
770 'logging_like_official_build%': '<(logging_like_official_build)',
764 'python_ver%': '<(python_ver)', 771 'python_ver%': '<(python_ver)',
765 'arm_version%': '<(arm_version)', 772 'arm_version%': '<(arm_version)',
766 'armv7%': '<(armv7)', 773 'armv7%': '<(armv7)',
767 'arm_neon%': '<(arm_neon)', 774 'arm_neon%': '<(arm_neon)',
768 'arm_neon_optional%': '<(arm_neon_optional)', 775 'arm_neon_optional%': '<(arm_neon_optional)',
769 'sysroot%': '<(sysroot)', 776 'sysroot%': '<(sysroot)',
770 'system_libdir%': '<(system_libdir)', 777 'system_libdir%': '<(system_libdir)',
771 'component%': '<(component)', 778 'component%': '<(component)',
772 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 779 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
773 'use_third_party_translations%': '<(use_third_party_translations)', 780 'use_third_party_translations%': '<(use_third_party_translations)',
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 'release_extra_cflags': '-g1', 2047 'release_extra_cflags': '-g1',
2041 }, 2048 },
2042 }], 2049 }],
2043 ], 2050 ],
2044 }], # clang!=1 2051 }], # clang!=1
2045 ], 2052 ],
2046 }], # fastbuild!=0 2053 }], # fastbuild!=0
2047 ['dcheck_always_on!=0', { 2054 ['dcheck_always_on!=0', {
2048 'defines': ['DCHECK_ALWAYS_ON=1'], 2055 'defines': ['DCHECK_ALWAYS_ON=1'],
2049 }], # dcheck_always_on!=0 2056 }], # dcheck_always_on!=0
2057 ['logging_like_official_build!=0', {
2058 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'],
2059 }], # logging_like_official_build!=0
2050 ['win_use_allocator_shim==0', { 2060 ['win_use_allocator_shim==0', {
2051 'conditions': [ 2061 'conditions': [
2052 ['OS=="win"', { 2062 ['OS=="win"', {
2053 'defines': ['NO_TCMALLOC'], 2063 'defines': ['NO_TCMALLOC'],
2054 }], 2064 }],
2055 ], 2065 ],
2056 }], 2066 }],
2057 ['enable_gpu==1', { 2067 ['enable_gpu==1', {
2058 'defines': [ 2068 'defines': [
2059 'ENABLE_GPU=1', 2069 'ENABLE_GPU=1',
(...skipping 2513 matching lines...) Expand 10 before | Expand all | Expand 10 after
4573 # settings in target dicts. SYMROOT is a special case, because many other 4583 # settings in target dicts. SYMROOT is a special case, because many other
4574 # Xcode variables depend on it, including variables such as 4584 # Xcode variables depend on it, including variables such as
4575 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4585 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4576 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4586 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4577 # files to appear (when present) in the UI as actual files and not red 4587 # files to appear (when present) in the UI as actual files and not red
4578 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4588 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4579 # and therefore SYMROOT, needs to be set at the project level. 4589 # and therefore SYMROOT, needs to be set at the project level.
4580 'SYMROOT': '<(DEPTH)/xcodebuild', 4590 'SYMROOT': '<(DEPTH)/xcodebuild',
4581 }, 4591 },
4582 } 4592 }
OLDNEW
« no previous file with comments | « base/logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698