| OLD | NEW |
| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 226 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
| 227 # This causes 'clang_chrome_plugins_flags' to be set. | 227 # This causes 'clang_chrome_plugins_flags' to be set. |
| 228 # Has no effect if 'clang' is not set as well. | 228 # Has no effect if 'clang' is not set as well. |
| 229 'clang_use_chrome_plugins%': 1, | 229 'clang_use_chrome_plugins%': 1, |
| 230 | 230 |
| 231 # Enable building with ASAN (Clang's -faddress-sanitizer option). | 231 # Enable building with ASAN (Clang's -faddress-sanitizer option). |
| 232 # -faddress-sanitizer only works with clang, but asan=1 implies clang=1 | 232 # -faddress-sanitizer only works with clang, but asan=1 implies clang=1 |
| 233 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer | 233 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer |
| 234 'asan%': 0, | 234 'asan%': 0, |
| 235 | 235 |
| 236 # Set to true to instrument the code with function call logger. |
| 237 # See src/third_party/cygprofile/cyg-profile.cc for details. |
| 238 'order_profiling%': 0, |
| 239 |
| 236 # Use the provided profiled order file to link Chrome image with it. | 240 # Use the provided profiled order file to link Chrome image with it. |
| 237 # This makes Chrome faster by better using CPU cache when executing code. | 241 # This makes Chrome faster by better using CPU cache when executing code. |
| 238 # This is known as PGO (profile guided optimization). | 242 # This is known as PGO (profile guided optimization). |
| 239 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e
ffort | 243 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e
ffort |
| 240 'order_text_section%' : "", | 244 'order_text_section%' : "", |
| 241 | 245 |
| 242 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 246 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 243 # libraries on linux x86-64 and arm, plus ASLR. | 247 # libraries on linux x86-64 and arm, plus ASLR. |
| 244 'linux_fpic%': 1, | 248 'linux_fpic%': 1, |
| 245 | 249 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 'enable_one_click_signin%': '<(enable_one_click_signin)', | 541 'enable_one_click_signin%': '<(enable_one_click_signin)', |
| 538 'enable_webrtc%': '<(enable_webrtc)', | 542 'enable_webrtc%': '<(enable_webrtc)', |
| 539 'chromium_win_pch%': '<(chromium_win_pch)', | 543 'chromium_win_pch%': '<(chromium_win_pch)', |
| 540 'p2p_apis%': '<(p2p_apis)', | 544 'p2p_apis%': '<(p2p_apis)', |
| 541 'configuration_policy%': '<(configuration_policy)', | 545 'configuration_policy%': '<(configuration_policy)', |
| 542 'safe_browsing%': '<(safe_browsing)', | 546 'safe_browsing%': '<(safe_browsing)', |
| 543 'input_speech%': '<(input_speech)', | 547 'input_speech%': '<(input_speech)', |
| 544 'notifications%': '<(notifications)', | 548 'notifications%': '<(notifications)', |
| 545 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 549 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 546 'asan%': '<(asan)', | 550 'asan%': '<(asan)', |
| 551 'order_profiling%': '<(order_profiling)', |
| 547 'order_text_section%': '<(order_text_section)', | 552 'order_text_section%': '<(order_text_section)', |
| 548 'enable_extensions%': '<(enable_extensions)', | 553 'enable_extensions%': '<(enable_extensions)', |
| 549 'enable_web_intents%': '<(enable_web_intents)', | 554 'enable_web_intents%': '<(enable_web_intents)', |
| 550 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 555 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
| 551 'enable_plugin_installation%': '<(enable_plugin_installation)', | 556 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 552 'enable_protector_service%': '<(enable_protector_service)', | 557 'enable_protector_service%': '<(enable_protector_service)', |
| 553 'enable_session_service%': '<(enable_session_service)', | 558 'enable_session_service%': '<(enable_session_service)', |
| 554 'enable_themes%': '<(enable_themes)', | 559 'enable_themes%': '<(enable_themes)', |
| 555 'enable_background%': '<(enable_background)', | 560 'enable_background%': '<(enable_background)', |
| 556 'enable_promo_resource_service%': '<(enable_promo_resource_service)', | 561 'enable_promo_resource_service%': '<(enable_promo_resource_service)', |
| (...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 '-fno-omit-frame-pointer', | 2193 '-fno-omit-frame-pointer', |
| 2189 '-w', | 2194 '-w', |
| 2190 ], | 2195 ], |
| 2191 'ldflags': [ | 2196 'ldflags': [ |
| 2192 '-faddress-sanitizer', | 2197 '-faddress-sanitizer', |
| 2193 ], | 2198 ], |
| 2194 'defines': [ | 2199 'defines': [ |
| 2195 'ADDRESS_SANITIZER', | 2200 'ADDRESS_SANITIZER', |
| 2196 ], | 2201 ], |
| 2197 }], | 2202 }], |
| 2203 ['order_profiling!=0 and (chromeos==1 or OS=="linux")', { |
| 2204 'target_conditions' : [ |
| 2205 ['_toolset=="target"', { |
| 2206 'cflags': [ |
| 2207 '-finstrument-functions', |
| 2208 ], |
| 2209 }], |
| 2210 ], |
| 2211 }], |
| 2198 ['linux_breakpad==1', { | 2212 ['linux_breakpad==1', { |
| 2199 'cflags': [ '-g' ], | 2213 'cflags': [ '-g' ], |
| 2200 'defines': ['USE_LINUX_BREAKPAD'], | 2214 'defines': ['USE_LINUX_BREAKPAD'], |
| 2201 }], | 2215 }], |
| 2202 ['linux_use_heapchecker==1', { | 2216 ['linux_use_heapchecker==1', { |
| 2203 'variables': {'linux_use_tcmalloc%': 1}, | 2217 'variables': {'linux_use_tcmalloc%': 1}, |
| 2204 'defines': ['USE_HEAPCHECKER'], | 2218 'defines': ['USE_HEAPCHECKER'], |
| 2205 }], | 2219 }], |
| 2206 ['linux_use_tcmalloc==0', { | 2220 ['linux_use_tcmalloc==0', { |
| 2207 'defines': ['NO_TCMALLOC'], | 2221 'defines': ['NO_TCMALLOC'], |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3056 # settings in target dicts. SYMROOT is a special case, because many other | 3070 # settings in target dicts. SYMROOT is a special case, because many other |
| 3057 # Xcode variables depend on it, including variables such as | 3071 # Xcode variables depend on it, including variables such as |
| 3058 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3072 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3059 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3073 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3060 # files to appear (when present) in the UI as actual files and not red | 3074 # files to appear (when present) in the UI as actual files and not red |
| 3061 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3075 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3062 # and therefore SYMROOT, needs to be set at the project level. | 3076 # and therefore SYMROOT, needs to be set at the project level. |
| 3063 'SYMROOT': '<(DEPTH)/xcodebuild', | 3077 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3064 }, | 3078 }, |
| 3065 } | 3079 } |
| OLD | NEW |