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

Side by Side Diff: build/common.gypi

Issue 8770054: Tool to log the execution of Chrome. Initial add. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed review comments Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « base/cygprofile/cygprofile.gyp ('k') | chrome/chrome_exe.gypi » ('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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 # Run tools/clang/scripts/update.sh to make sure they are compiled. 191 # Run tools/clang/scripts/update.sh to make sure they are compiled.
192 # This causes 'clang_chrome_plugins_flags' to be set. 192 # This causes 'clang_chrome_plugins_flags' to be set.
193 # Has no effect if 'clang' is not set as well. 193 # Has no effect if 'clang' is not set as well.
194 'clang_use_chrome_plugins%': 0, 194 'clang_use_chrome_plugins%': 0,
195 195
196 # Enable building with ASAN (Clang's -faddress-sanitizer option). 196 # Enable building with ASAN (Clang's -faddress-sanitizer option).
197 # -faddress-sanitizer only works with clang, but asan=1 implies clang=1 197 # -faddress-sanitizer only works with clang, but asan=1 implies clang=1
198 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre sssanitizer 198 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre sssanitizer
199 'asan%': 0, 199 'asan%': 0,
200 200
201 # Set to true to instrument the code with function call logger.
202 # See src/third_party/cygprofile/cyg-profile.cc for details.
203 'order_profiling%': 0,
204
201 # Use the provided profiled order file to link Chrome image with it. 205 # Use the provided profiled order file to link Chrome image with it.
202 # This makes Chrome faster by better using CPU cache when executing code. 206 # This makes Chrome faster by better using CPU cache when executing code.
203 # This is known as PGO (profile guided optimization). 207 # This is known as PGO (profile guided optimization).
204 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort 208 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e ffort
205 'order_text_section%' : "", 209 'order_text_section%' : "",
206 210
207 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared 211 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared
208 # libraries on linux x86-64 and arm, plus ASLR. 212 # libraries on linux x86-64 and arm, plus ASLR.
209 'linux_fpic%': 1, 213 'linux_fpic%': 1,
210 214
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 'enable_one_click_signin%': '<(enable_one_click_signin)', 488 'enable_one_click_signin%': '<(enable_one_click_signin)',
485 'enable_webrtc%': '<(enable_webrtc)', 489 'enable_webrtc%': '<(enable_webrtc)',
486 'chromium_win_pch%': '<(chromium_win_pch)', 490 'chromium_win_pch%': '<(chromium_win_pch)',
487 'p2p_apis%': '<(p2p_apis)', 491 'p2p_apis%': '<(p2p_apis)',
488 'configuration_policy%': '<(configuration_policy)', 492 'configuration_policy%': '<(configuration_policy)',
489 'safe_browsing%': '<(safe_browsing)', 493 'safe_browsing%': '<(safe_browsing)',
490 'input_speech%': '<(input_speech)', 494 'input_speech%': '<(input_speech)',
491 'notifications%': '<(notifications)', 495 'notifications%': '<(notifications)',
492 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 496 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
493 'asan%': '<(asan)', 497 'asan%': '<(asan)',
498 'order_profiling%': '<(order_profiling)',
494 'order_text_section%': '<(order_text_section)', 499 'order_text_section%': '<(order_text_section)',
495 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 500 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
496 'enable_web_intents%': '<(enable_web_intents)', 501 'enable_web_intents%': '<(enable_web_intents)',
497 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 502 'enable_web_intents_tag%': '<(enable_web_intents_tag)',
498 'enable_plugin_installation%': '<(enable_plugin_installation)', 503 'enable_plugin_installation%': '<(enable_plugin_installation)',
499 'enable_protector_service%': '<(enable_protector_service)', 504 'enable_protector_service%': '<(enable_protector_service)',
500 'enable_themes%': '<(enable_themes)', 505 'enable_themes%': '<(enable_themes)',
501 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 506 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
502 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 507 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
503 'use_canvas_skia%': '<(use_canvas_skia)', 508 'use_canvas_skia%': '<(use_canvas_skia)',
(...skipping 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 '-fno-omit-frame-pointer', 2101 '-fno-omit-frame-pointer',
2097 '-w', 2102 '-w',
2098 ], 2103 ],
2099 'ldflags': [ 2104 'ldflags': [
2100 '-faddress-sanitizer', 2105 '-faddress-sanitizer',
2101 ], 2106 ],
2102 'defines': [ 2107 'defines': [
2103 'ADDRESS_SANITIZER', 2108 'ADDRESS_SANITIZER',
2104 ], 2109 ],
2105 }], 2110 }],
2111 ['order_profiling!=0 and (chromeos==1 or OS=="linux")', {
2112 'target_conditions' : [
2113 ['_toolset=="target"', {
2114 'cflags': [
2115 '-finstrument-functions',
2116 # '-mno-sse2-testing',
2117 ],
2118 # 'cflags!' : [
2119 # '-msse2',
2120 # '-mfpmath=sse',
2121 # ],
Dmitry Polukhin 2012/04/09 11:05:05 Do you need these commented out lines?
glotov 2012/04/11 17:00:33 Obsolete, removed. On 2012/04/09 11:05:05, Dmitry
2122 }],
2123 ],
2124 }],
2106 ['linux_breakpad==1', { 2125 ['linux_breakpad==1', {
2107 'cflags': [ '-g' ], 2126 'cflags': [ '-g' ],
2108 'defines': ['USE_LINUX_BREAKPAD'], 2127 'defines': ['USE_LINUX_BREAKPAD'],
2109 }], 2128 }],
2110 ['linux_use_heapchecker==1', { 2129 ['linux_use_heapchecker==1', {
2111 'variables': {'linux_use_tcmalloc%': 1}, 2130 'variables': {'linux_use_tcmalloc%': 1},
2112 'defines': ['USE_HEAPCHECKER'], 2131 'defines': ['USE_HEAPCHECKER'],
2113 }], 2132 }],
2114 ['linux_use_tcmalloc==0', { 2133 ['linux_use_tcmalloc==0', {
2115 'defines': ['NO_TCMALLOC'], 2134 'defines': ['NO_TCMALLOC'],
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
2957 # settings in target dicts. SYMROOT is a special case, because many other 2976 # settings in target dicts. SYMROOT is a special case, because many other
2958 # Xcode variables depend on it, including variables such as 2977 # Xcode variables depend on it, including variables such as
2959 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2978 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2960 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2979 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2961 # files to appear (when present) in the UI as actual files and not red 2980 # files to appear (when present) in the UI as actual files and not red
2962 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2981 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2963 # and therefore SYMROOT, needs to be set at the project level. 2982 # and therefore SYMROOT, needs to be set at the project level.
2964 'SYMROOT': '<(DEPTH)/xcodebuild', 2983 'SYMROOT': '<(DEPTH)/xcodebuild',
2965 }, 2984 },
2966 } 2985 }
OLDNEW
« no previous file with comments | « base/cygprofile/cygprofile.gyp ('k') | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698