| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 | 359 |
| 360 # Enable building with MSAN (Clang's -fsanitize=memory option). | 360 # Enable building with MSAN (Clang's -fsanitize=memory option). |
| 361 # MemorySanitizer only works with clang, but msan=1 implies clang=1 | 361 # MemorySanitizer only works with clang, but msan=1 implies clang=1 |
| 362 # See http://clang.llvm.org/docs/MemorySanitizer.html | 362 # See http://clang.llvm.org/docs/MemorySanitizer.html |
| 363 'msan%': 0, | 363 'msan%': 0, |
| 364 | 364 |
| 365 # Use the dynamic libraries instrumented by one of the sanitizers | 365 # Use the dynamic libraries instrumented by one of the sanitizers |
| 366 # instead of the standard system libraries. | 366 # instead of the standard system libraries. |
| 367 'use_instrumented_libraries%': 0, | 367 'use_instrumented_libraries%': 0, |
| 368 | 368 |
| 369 # Use libc++ instead of stdlibc++ as standard library for final binary. |
| 370 'use_libcxx%': 0, |
| 371 |
| 369 # Use a modified version of Clang to intercept allocated types and sizes | 372 # Use a modified version of Clang to intercept allocated types and sizes |
| 370 # for allocated objects. clang_type_profiler=1 implies clang=1. | 373 # for allocated objects. clang_type_profiler=1 implies clang=1. |
| 371 # See http://dev.chromium.org/developers/deep-memory-profiler/cpp-object-t
ype-identifier | 374 # See http://dev.chromium.org/developers/deep-memory-profiler/cpp-object-t
ype-identifier |
| 372 # TODO(dmikurube): Support mac. See http://crbug.com/123758#c11 | 375 # TODO(dmikurube): Support mac. See http://crbug.com/123758#c11 |
| 373 'clang_type_profiler%': 0, | 376 'clang_type_profiler%': 0, |
| 374 | 377 |
| 375 # Set to true to instrument the code with function call logger. | 378 # Set to true to instrument the code with function call logger. |
| 376 # See src/third_party/cygprofile/cyg-profile.cc for details. | 379 # See src/third_party/cygprofile/cyg-profile.cc for details. |
| 377 'order_profiling%': 0, | 380 'order_profiling%': 0, |
| 378 | 381 |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 'input_speech%': '<(input_speech)', | 924 'input_speech%': '<(input_speech)', |
| 922 'notifications%': '<(notifications)', | 925 'notifications%': '<(notifications)', |
| 923 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 926 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 924 'mac_want_real_dsym%': '<(mac_want_real_dsym)', | 927 'mac_want_real_dsym%': '<(mac_want_real_dsym)', |
| 925 'asan%': '<(asan)', | 928 'asan%': '<(asan)', |
| 926 'lsan%': '<(lsan)', | 929 'lsan%': '<(lsan)', |
| 927 'msan%': '<(msan)', | 930 'msan%': '<(msan)', |
| 928 'tsan%': '<(tsan)', | 931 'tsan%': '<(tsan)', |
| 929 'tsan_blacklist%': '<(tsan_blacklist)', | 932 'tsan_blacklist%': '<(tsan_blacklist)', |
| 930 'use_instrumented_libraries%': '<(use_instrumented_libraries)', | 933 'use_instrumented_libraries%': '<(use_instrumented_libraries)', |
| 934 'use_libcxx%': '<(use_libcxx)', |
| 931 'clang_type_profiler%': '<(clang_type_profiler)', | 935 'clang_type_profiler%': '<(clang_type_profiler)', |
| 932 'order_profiling%': '<(order_profiling)', | 936 'order_profiling%': '<(order_profiling)', |
| 933 'order_text_section%': '<(order_text_section)', | 937 'order_text_section%': '<(order_text_section)', |
| 934 'enable_extensions%': '<(enable_extensions)', | 938 'enable_extensions%': '<(enable_extensions)', |
| 935 'enable_plugin_installation%': '<(enable_plugin_installation)', | 939 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 936 'enable_plugins%': '<(enable_plugins)', | 940 'enable_plugins%': '<(enable_plugins)', |
| 937 'enable_session_service%': '<(enable_session_service)', | 941 'enable_session_service%': '<(enable_session_service)', |
| 938 'enable_themes%': '<(enable_themes)', | 942 'enable_themes%': '<(enable_themes)', |
| 939 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 943 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
| 940 'enable_background%': '<(enable_background)', | 944 'enable_background%': '<(enable_background)', |
| (...skipping 2556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3497 ['_toolset=="target"', { | 3501 ['_toolset=="target"', { |
| 3498 'ldflags': [ | 3502 'ldflags': [ |
| 3499 '-Wl,-R,\$$ORIGIN/instrumented_libraries/msan/lib/:\$$ORIG
IN/instrumented_libraries/msan/usr/lib/x86_64-linux-gnu/', | 3503 '-Wl,-R,\$$ORIGIN/instrumented_libraries/msan/lib/:\$$ORIG
IN/instrumented_libraries/msan/usr/lib/x86_64-linux-gnu/', |
| 3500 '-Wl,-z,origin', | 3504 '-Wl,-z,origin', |
| 3501 ], | 3505 ], |
| 3502 }], | 3506 }], |
| 3503 ], | 3507 ], |
| 3504 }], | 3508 }], |
| 3505 ], | 3509 ], |
| 3506 }], | 3510 }], |
| 3511 ['use_libcxx==1', { |
| 3512 'dependencies': [ |
| 3513 '<(DEPTH)/third_party/libc++/libc++.gyp:libc++', |
| 3514 '<(DEPTH)/third_party/libc++abi/libc++abi.gyp:libc++abi', |
| 3515 ], |
| 3516 }], |
| 3507 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android")
', { | 3517 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android")
', { |
| 3508 'target_conditions' : [ | 3518 'target_conditions' : [ |
| 3509 ['_toolset=="target"', { | 3519 ['_toolset=="target"', { |
| 3510 'cflags': [ | 3520 'cflags': [ |
| 3511 '-finstrument-functions', | 3521 '-finstrument-functions', |
| 3512 # Allow mmx intrinsics to inline, so that the | 3522 # Allow mmx intrinsics to inline, so that the |
| 3513 #0 compiler can expand the intrinsics. | 3523 #0 compiler can expand the intrinsics. |
| 3514 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3524 '-finstrument-functions-exclude-file-list=mmintrin.h', |
| 3515 ], | 3525 ], |
| 3516 }], | 3526 }], |
| (...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4793 # settings in target dicts. SYMROOT is a special case, because many other | 4803 # settings in target dicts. SYMROOT is a special case, because many other |
| 4794 # Xcode variables depend on it, including variables such as | 4804 # Xcode variables depend on it, including variables such as |
| 4795 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4805 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4796 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4806 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4797 # files to appear (when present) in the UI as actual files and not red | 4807 # files to appear (when present) in the UI as actual files and not red |
| 4798 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4808 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4799 # and therefore SYMROOT, needs to be set at the project level. | 4809 # and therefore SYMROOT, needs to be set at the project level. |
| 4800 'SYMROOT': '<(DEPTH)/xcodebuild', | 4810 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4801 }, | 4811 }, |
| 4802 } | 4812 } |
| OLD | NEW |