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

Side by Side Diff: build/common.gypi

Issue 1588673003: Disable debug information when use_order_profiling=true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp Created 4 years, 11 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 | « no previous file | build/config/compiler/compiler.gni » ('j') | 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 'enable_hidpi%': '<(enable_hidpi)', 169 'enable_hidpi%': '<(enable_hidpi)',
170 'enable_topchrome_md%': '<(enable_topchrome_md)', 170 'enable_topchrome_md%': '<(enable_topchrome_md)',
171 'enable_wayland_server%': '<(enable_wayland_server)', 171 'enable_wayland_server%': '<(enable_wayland_server)',
172 'enable_wifi_display%': '<(enable_wifi_display)', 172 'enable_wifi_display%': '<(enable_wifi_display)',
173 'buildtype%': '<(buildtype)', 173 'buildtype%': '<(buildtype)',
174 'branding%': '<(branding)', 174 'branding%': '<(branding)',
175 'branding_path_component%': '<(branding)', 175 'branding_path_component%': '<(branding)',
176 'host_arch%': '<(host_arch)', 176 'host_arch%': '<(host_arch)',
177 'target_arch%': '<(target_arch)', 177 'target_arch%': '<(target_arch)',
178 178
179 # Set to true to instrument the code with function call logger.
180 # See src/third_party/cygprofile/cyg-profile.cc for details.
181 'order_profiling%': 0,
182
179 'target_subarch%': '', 183 'target_subarch%': '',
180 184
181 # The channel to build on Android: stable, beta, dev, canary, or 185 # The channel to build on Android: stable, beta, dev, canary, or
182 # default. "default" should be used on non-official builds. 186 # default. "default" should be used on non-official builds.
183 'android_channel%': 'default', 187 'android_channel%': 'default',
184 188
185 # Set ARM architecture version. 189 # Set ARM architecture version.
186 'arm_version%': 7, 190 'arm_version%': 7,
187 191
188 # Use aurax11 for clipboard implementation. This is true on linux_aura. 192 # Use aurax11 for clipboard implementation. This is true on linux_aura.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 'gomadir%': '<(gomadir)', 365 'gomadir%': '<(gomadir)',
362 'enable_app_list%': '<(enable_app_list)', 366 'enable_app_list%': '<(enable_app_list)',
363 'use_default_render_theme%': '<(use_default_render_theme)', 367 'use_default_render_theme%': '<(use_default_render_theme)',
364 'buildtype%': '<(buildtype)', 368 'buildtype%': '<(buildtype)',
365 'branding%': '<(branding)', 369 'branding%': '<(branding)',
366 'branding_path_component%': '<(branding_path_component)', 370 'branding_path_component%': '<(branding_path_component)',
367 'arm_version%': '<(arm_version)', 371 'arm_version%': '<(arm_version)',
368 'sysroot%': '<(sysroot)', 372 'sysroot%': '<(sysroot)',
369 'chroot_cmd%': '<(chroot_cmd)', 373 'chroot_cmd%': '<(chroot_cmd)',
370 'system_libdir%': '<(system_libdir)', 374 'system_libdir%': '<(system_libdir)',
371 375 'order_profiling%': '<(order_profiling)',
372 # Set to 1 to enable fast builds. Set to 2 for even faster builds
373 # (it disables debug info for fastest compilation - only for use
374 # on compile-only bots).
375 'fastbuild%': 0,
376 376
377 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__ 377 # Set to 1 to not store any build metadata, e.g. ifdef out all __DATE__
378 # and __TIME__. Set to 0 to reenable the use of these macros in the code 378 # and __TIME__. Set to 0 to reenable the use of these macros in the code
379 # base. See http://crbug.com/314403. 379 # base. See http://crbug.com/314403.
380 'dont_embed_build_metadata%': 1, 380 'dont_embed_build_metadata%': 1,
381 381
382 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 382 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
383 # This is useful for parallel compilation tools which can't support /Zi. 383 # This is useful for parallel compilation tools which can't support /Zi.
384 # Only used on Windows. 384 # Only used on Windows.
385 'win_z7%' : 0, 385 'win_z7%' : 0,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 # Use dynamic libraries instrumented by one of the sanitizers 530 # Use dynamic libraries instrumented by one of the sanitizers
531 # instead of the standard system libraries. Set this flag to download 531 # instead of the standard system libraries. Set this flag to download
532 # prebuilt binaries from GCS. 532 # prebuilt binaries from GCS.
533 'use_prebuilt_instrumented_libraries%': 0, 533 'use_prebuilt_instrumented_libraries%': 0,
534 534
535 # Use libc++ (third_party/libc++ and third_party/libc++abi) instead of 535 # Use libc++ (third_party/libc++ and third_party/libc++abi) instead of
536 # stdlibc++ as standard library. This is intended to use for instrumented 536 # stdlibc++ as standard library. This is intended to use for instrumented
537 # builds. 537 # builds.
538 'use_custom_libcxx%': 0, 538 'use_custom_libcxx%': 0,
539 539
540 # Set to true to instrument the code with function call logger.
541 # See src/third_party/cygprofile/cyg-profile.cc for details.
542 'order_profiling%': 0,
543
544 # Use the provided profiled order file to link Chrome image with it. 540 # Use the provided profiled order file to link Chrome image with it.
545 # This makes Chrome faster by better using CPU cache when executing code. 541 # This makes Chrome faster by better using CPU cache when executing code.
546 # This is known as PGO (profile guided optimization). 542 # This is known as PGO (profile guided optimization).
547 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort 543 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort
548 'order_text_section%' : "", 544 'order_text_section%' : "",
549 545
550 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared 546 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared
551 # libraries on linux x86-64 and arm, plus ASLR. 547 # libraries on linux x86-64 and arm, plus ASLR.
552 'linux_fpic%': 1, 548 'linux_fpic%': 1,
553 549
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 'pkg-config': 'pkg-config' 1036 'pkg-config': 'pkg-config'
1041 }], 1037 }],
1042 1038
1043 # Enable WebVR support by default on Android 1039 # Enable WebVR support by default on Android
1044 # Still requires command line flag to access API 1040 # Still requires command line flag to access API
1045 ['OS=="android"', { 1041 ['OS=="android"', {
1046 'enable_webvr%': 1, 1042 'enable_webvr%': 1,
1047 }, { 1043 }, {
1048 'enable_webvr%': 0, 1044 'enable_webvr%': 0,
1049 }], 1045 }],
1046
1047 ['order_profiling==0', {
1048 # Set to 1 to enable fast builds. Set to 2 for even faster builds
1049 # (it disables debug info for fastest compilation - only for use
1050 # on compile-only bots).
1051 'fastbuild%': 0,
1052 }, {
1053 # With instrumentation enabled, debug info puts libchrome.so over 4gb,
1054 # which causes the linker to produce an invalid ELF.
1055 # http://crbug.com/574476
1056 'fastbuild%': 2,
1057 }],
1050 ], 1058 ],
1051 1059
1052 # Setting this to '0' will cause V8's startup snapshot to be 1060 # Setting this to '0' will cause V8's startup snapshot to be
1053 # embedded in the binary instead of being a external files. 1061 # embedded in the binary instead of being a external files.
1054 'v8_use_external_startup_data%': 1, 1062 'v8_use_external_startup_data%': 1,
1055 1063
1056 # Set this to 1 to enable use of concatenated impulse responses 1064 # Set this to 1 to enable use of concatenated impulse responses
1057 # for the HRTF panner in WebAudio. 1065 # for the HRTF panner in WebAudio.
1058 'use_concatenated_impulse_responses': 1, 1066 'use_concatenated_impulse_responses': 1,
1059 1067
(...skipping 5315 matching lines...) Expand 10 before | Expand all | Expand 10 after
6375 # settings in target dicts. SYMROOT is a special case, because many other 6383 # settings in target dicts. SYMROOT is a special case, because many other
6376 # Xcode variables depend on it, including variables such as 6384 # Xcode variables depend on it, including variables such as
6377 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6385 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6378 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6386 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6379 # files to appear (when present) in the UI as actual files and not red 6387 # files to appear (when present) in the UI as actual files and not red
6380 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6388 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6381 # and therefore SYMROOT, needs to be set at the project level. 6389 # and therefore SYMROOT, needs to be set at the project level.
6382 'SYMROOT': '<(DEPTH)/xcodebuild', 6390 'SYMROOT': '<(DEPTH)/xcodebuild',
6383 }, 6391 },
6384 } 6392 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/compiler.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698