Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index c0b770dcc43a9afaaebf4a127720cf56195d2609..30176002d8cadd681e132fd9f438a8d24f9ceb1a 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -198,6 +198,10 @@ |
| # See https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitizer |
| 'asan%': 0, |
| + # Set to true to instrument the code with function call logger. |
| + # See src/third_party/cygprofile/cyg-profile.cc for details. |
| + 'order_profiling%': 0, |
| + |
| # Use the provided profiled order file to link Chrome image with it. |
| # This makes Chrome faster by better using CPU cache when executing code. |
| # This is known as PGO (profile guided optimization). |
| @@ -491,6 +495,7 @@ |
| 'notifications%': '<(notifications)', |
| 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 'asan%': '<(asan)', |
| + 'order_profiling%': '<(order_profiling)', |
| 'order_text_section%': '<(order_text_section)', |
| 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 'enable_web_intents%': '<(enable_web_intents)', |
| @@ -2103,6 +2108,20 @@ |
| 'ADDRESS_SANITIZER', |
| ], |
| }], |
| + ['order_profiling!=0 and (chromeos==1 or OS=="linux")', { |
| + 'target_conditions' : [ |
| + ['_toolset=="target"', { |
| + 'cflags': [ |
| + '-finstrument-functions', |
| +# '-mno-sse2-testing', |
| + ], |
| +# 'cflags!' : [ |
| +# '-msse2', |
| +# '-mfpmath=sse', |
| +# ], |
|
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
|
| + }], |
| + ], |
| + }], |
| ['linux_breakpad==1', { |
| 'cflags': [ '-g' ], |
| 'defines': ['USE_LINUX_BREAKPAD'], |