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

Side by Side Diff: build/common.gypi

Issue 1003273006: Re-land: Instrumented libraries: add a target for pre-built libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 5 years, 9 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 | third_party/instrumented_libraries/instrumented_libraries.gyp » ('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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 # Enable building with UBSan (Clang's -fsanitize=undefined option). 443 # Enable building with UBSan (Clang's -fsanitize=undefined option).
444 # -fsanitize=undefined only works with clang, but ubsan=1 implies clang=1 444 # -fsanitize=undefined only works with clang, but ubsan=1 implies clang=1
445 # See http://clang.llvm.org/docs/UsersManual.html 445 # See http://clang.llvm.org/docs/UsersManual.html
446 'ubsan%': 0, 446 'ubsan%': 0,
447 'ubsan_blacklist%': '<(PRODUCT_DIR)/../../tools/ubsan/blacklist.txt', 447 'ubsan_blacklist%': '<(PRODUCT_DIR)/../../tools/ubsan/blacklist.txt',
448 448
449 # Enable building with UBsan's vptr (Clang's -fsanitize=vptr option). 449 # Enable building with UBsan's vptr (Clang's -fsanitize=vptr option).
450 # -fsanitize=vptr only works with clang, but ubsan_vptr=1 implies clang=1 450 # -fsanitize=vptr only works with clang, but ubsan_vptr=1 implies clang=1
451 'ubsan_vptr%': 0, 451 'ubsan_vptr%': 0,
452 452
453 # Use the dynamic libraries instrumented by one of the sanitizers 453 # Use dynamic libraries instrumented by one of the sanitizers
454 # instead of the standard system libraries. 454 # instead of the standard system libraries. Set this flag to build the
455 # libraries from source.
455 'use_instrumented_libraries%': 0, 456 'use_instrumented_libraries%': 0,
456 457
458 # Use dynamic libraries instrumented by one of the sanitizers
459 # instead of the standard system libraries. Set this flag to download
460 # prebuilt binaries from GCS.
461 'use_prebuilt_instrumented_libraries%': 0,
462
457 # Use libc++ (third_party/libc++ and third_party/libc++abi) instead of 463 # Use libc++ (third_party/libc++ and third_party/libc++abi) instead of
458 # stdlibc++ as standard library. This is intended to use for instrumented 464 # stdlibc++ as standard library. This is intended to use for instrumented
459 # builds. 465 # builds.
460 'use_custom_libcxx%': 0, 466 'use_custom_libcxx%': 0,
461 467
462 # Use system libc++ instead of the default C++ library, usually libstdc++. 468 # Use system libc++ instead of the default C++ library, usually libstdc++.
463 # This is intended for iOS builds only. 469 # This is intended for iOS builds only.
464 'use_system_libcxx%': 0, 470 'use_system_libcxx%': 0,
465 471
466 # Use a modified version of Clang to intercept allocated types and sizes 472 # Use a modified version of Clang to intercept allocated types and sizes
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 'lsan%': '<(lsan)', 1152 'lsan%': '<(lsan)',
1147 'msan%': '<(msan)', 1153 'msan%': '<(msan)',
1148 'msan_blacklist%': '<(msan_blacklist)', 1154 'msan_blacklist%': '<(msan_blacklist)',
1149 'msan_track_origins%': '<(msan_track_origins)', 1155 'msan_track_origins%': '<(msan_track_origins)',
1150 'tsan%': '<(tsan)', 1156 'tsan%': '<(tsan)',
1151 'tsan_blacklist%': '<(tsan_blacklist)', 1157 'tsan_blacklist%': '<(tsan_blacklist)',
1152 'ubsan%': '<(ubsan)', 1158 'ubsan%': '<(ubsan)',
1153 'ubsan_blacklist%': '<(ubsan_blacklist)', 1159 'ubsan_blacklist%': '<(ubsan_blacklist)',
1154 'ubsan_vptr%': '<(ubsan_vptr)', 1160 'ubsan_vptr%': '<(ubsan_vptr)',
1155 'use_instrumented_libraries%': '<(use_instrumented_libraries)', 1161 'use_instrumented_libraries%': '<(use_instrumented_libraries)',
1162 'use_prebuilt_instrumented_libraries%': '<(use_prebuilt_instrumented_librari es)',
1156 'use_custom_libcxx%': '<(use_custom_libcxx)', 1163 'use_custom_libcxx%': '<(use_custom_libcxx)',
1157 'use_system_libcxx%': '<(use_system_libcxx)', 1164 'use_system_libcxx%': '<(use_system_libcxx)',
1158 'clang_type_profiler%': '<(clang_type_profiler)', 1165 'clang_type_profiler%': '<(clang_type_profiler)',
1159 'order_profiling%': '<(order_profiling)', 1166 'order_profiling%': '<(order_profiling)',
1160 'order_text_section%': '<(order_text_section)', 1167 'order_text_section%': '<(order_text_section)',
1161 'enable_extensions%': '<(enable_extensions)', 1168 'enable_extensions%': '<(enable_extensions)',
1162 'enable_plugin_installation%': '<(enable_plugin_installation)', 1169 'enable_plugin_installation%': '<(enable_plugin_installation)',
1163 'enable_plugins%': '<(enable_plugins)', 1170 'enable_plugins%': '<(enable_plugins)',
1164 'enable_session_service%': '<(enable_session_service)', 1171 'enable_session_service%': '<(enable_session_service)',
1165 'enable_themes%': '<(enable_themes)', 1172 'enable_themes%': '<(enable_themes)',
(...skipping 3246 matching lines...) Expand 10 before | Expand all | Expand 10 after
4412 'MEMORY_SANITIZER', 4419 'MEMORY_SANITIZER',
4413 ], 4420 ],
4414 }], 4421 }],
4415 ], 4422 ],
4416 }], 4423 }],
4417 ['use_instrumented_libraries==1', { 4424 ['use_instrumented_libraries==1', {
4418 'dependencies': [ 4425 'dependencies': [
4419 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries', 4426 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries',
4420 ], 4427 ],
4421 }], 4428 }],
4429 ['use_prebuilt_instrumented_libraries==1', {
4430 'dependencies': [
4431 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:prebuilt_instrumented_libraries',
4432 ],
4433 }],
4422 ['use_custom_libcxx==1', { 4434 ['use_custom_libcxx==1', {
4423 'dependencies': [ 4435 'dependencies': [
4424 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', 4436 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy',
4425 ], 4437 ],
4426 }], 4438 }],
4427 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', { 4439 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', {
4428 'target_conditions' : [ 4440 'target_conditions' : [
4429 # crazy_linker has an upstream gyp file we can't edit, and we 4441 # crazy_linker has an upstream gyp file we can't edit, and we
4430 # don't want to instrument it. 4442 # don't want to instrument it.
4431 ['_toolset=="target" and _target_name!="crazy_linker"', { 4443 ['_toolset=="target" and _target_name!="crazy_linker"', {
(...skipping 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after
6040 # settings in target dicts. SYMROOT is a special case, because many other 6052 # settings in target dicts. SYMROOT is a special case, because many other
6041 # Xcode variables depend on it, including variables such as 6053 # Xcode variables depend on it, including variables such as
6042 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6043 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6044 # files to appear (when present) in the UI as actual files and not red 6056 # files to appear (when present) in the UI as actual files and not red
6045 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6046 # and therefore SYMROOT, needs to be set at the project level. 6058 # and therefore SYMROOT, needs to be set at the project level.
6047 'SYMROOT': '<(DEPTH)/xcodebuild', 6059 'SYMROOT': '<(DEPTH)/xcodebuild',
6048 }, 6060 },
6049 } 6061 }
OLDNEW
« no previous file with comments | « no previous file | third_party/instrumented_libraries/instrumented_libraries.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698