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

Side by Side Diff: build/common.gypi

Issue 18333010: make it possible to disable internal tracing in unofficial builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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/debug/trace_event.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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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 205 # necessarily an official build, ie DCHECK and DLOG are disabled and
206 # removed completely in release builds, to minimize binary footprint. 206 # removed completely in release builds, to minimize binary footprint.
207 # Note: this setting is ignored if buildtype=="Official". 207 # Note: this setting is ignored if buildtype=="Official".
208 'logging_like_official_build%': 0, 208 'logging_like_official_build%': 0,
209 209
210 # Set to 1 to make a build that disables unshipped tracing events.
211 # Note: this setting is ignored if buildtype=="Official".
212 'tracing_like_official_build%': 0,
213
210 # Disable file manager component extension by default. 214 # Disable file manager component extension by default.
211 'file_manager_extension%': 0, 215 'file_manager_extension%': 0,
212 216
213 # Disable image loader component extension by default. 217 # Disable image loader component extension by default.
214 'image_loader_extension%': 0, 218 'image_loader_extension%': 0,
215 219
216 # Python version. 220 # Python version.
217 'python_ver%': '2.6', 221 'python_ver%': '2.6',
218 222
219 223
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)',
764 'logging_like_official_build%': '<(logging_like_official_build)', 768 'logging_like_official_build%': '<(logging_like_official_build)',
769 'tracing_like_official_build%': '<(tracing_like_official_build)',
765 'python_ver%': '<(python_ver)', 770 'python_ver%': '<(python_ver)',
766 'arm_version%': '<(arm_version)', 771 'arm_version%': '<(arm_version)',
767 'armv7%': '<(armv7)', 772 'armv7%': '<(armv7)',
768 'arm_neon%': '<(arm_neon)', 773 'arm_neon%': '<(arm_neon)',
769 'arm_neon_optional%': '<(arm_neon_optional)', 774 'arm_neon_optional%': '<(arm_neon_optional)',
770 'sysroot%': '<(sysroot)', 775 'sysroot%': '<(sysroot)',
771 'system_libdir%': '<(system_libdir)', 776 'system_libdir%': '<(system_libdir)',
772 'component%': '<(component)', 777 'component%': '<(component)',
773 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 778 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
774 'use_third_party_translations%': '<(use_third_party_translations)', 779 'use_third_party_translations%': '<(use_third_party_translations)',
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
2048 ], 2053 ],
2049 }], # clang!=1 2054 }], # clang!=1
2050 ], 2055 ],
2051 }], # fastbuild!=0 2056 }], # fastbuild!=0
2052 ['dcheck_always_on!=0', { 2057 ['dcheck_always_on!=0', {
2053 'defines': ['DCHECK_ALWAYS_ON=1'], 2058 'defines': ['DCHECK_ALWAYS_ON=1'],
2054 }], # dcheck_always_on!=0 2059 }], # dcheck_always_on!=0
2055 ['logging_like_official_build!=0', { 2060 ['logging_like_official_build!=0', {
2056 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'], 2061 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'],
2057 }], # logging_like_official_build!=0 2062 }], # logging_like_official_build!=0
2063 ['tracing_like_official_build!=0', {
2064 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
2065 }], # tracing_like_official_build!=0
2058 ['win_use_allocator_shim==0', { 2066 ['win_use_allocator_shim==0', {
2059 'conditions': [ 2067 'conditions': [
2060 ['OS=="win"', { 2068 ['OS=="win"', {
2061 'defines': ['NO_TCMALLOC'], 2069 'defines': ['NO_TCMALLOC'],
2062 }], 2070 }],
2063 ], 2071 ],
2064 }], 2072 }],
2065 ['enable_gpu==1', { 2073 ['enable_gpu==1', {
2066 'defines': [ 2074 'defines': [
2067 'ENABLE_GPU=1', 2075 'ENABLE_GPU=1',
(...skipping 2556 matching lines...) Expand 10 before | Expand all | Expand 10 after
4624 # settings in target dicts. SYMROOT is a special case, because many other 4632 # settings in target dicts. SYMROOT is a special case, because many other
4625 # Xcode variables depend on it, including variables such as 4633 # Xcode variables depend on it, including variables such as
4626 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4634 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4627 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4635 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4628 # files to appear (when present) in the UI as actual files and not red 4636 # files to appear (when present) in the UI as actual files and not red
4629 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4637 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4630 # and therefore SYMROOT, needs to be set at the project level. 4638 # and therefore SYMROOT, needs to be set at the project level.
4631 'SYMROOT': '<(DEPTH)/xcodebuild', 4639 'SYMROOT': '<(DEPTH)/xcodebuild',
4632 }, 4640 },
4633 } 4641 }
OLDNEW
« no previous file with comments | « base/debug/trace_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698