Lines Matching +refs:clang +refs:format +refs:binary
240 # "arm64" and "both" (meaning a fat binary).
312 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
375 # If this is set, the clang plugins used on the buildbot will be used.
376 # Run tools/clang/scripts/update.sh to make sure they are compiled.
378 # Has no effect if 'clang' is not set as well.
382 # -fsanitize=address only works with clang, but asan=1 implies clang=1
399 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1
404 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1
405 # See http://clang.llvm.org/docs/ThreadSanitizer.html
410 # MemorySanitizer only works with clang, but msan=1 implies clang=1
411 # See http://clang.llvm.org/docs/MemorySanitizer.html
420 # -fsanitize=undefined only works with clang, but ubsan=1 implies clang=1
421 # See http://clang.llvm.org/docs/UsersManual.html
425 # -fsanitize=vptr only works with clang, but ubsan_vptr=1 implies clang=1
443 # for allocated objects. clang_type_profiler=1 implies clang=1.
572 # If this is set, clang is used as both host and target compiler in
574 'clang%': 0,
640 # If this is set clang is used as host compiler, but not as target
836 # linux_use_bundled_gold: whether to use the gold linker binary checked
847 # linux_use_bundled_binutils: whether to use the binary binutils
869 # gcc >= 4.8 or clang.
1303 'clang%': '<(clang)',
1307 # Control which version of clang to use when building for iOS. If set to
1308 # '1', uses the version of clang that ships with Xcode. If set to '0', uses
1309 # the version of clang that ships with the Chromium source. This variable
1314 # |gclient runhooks| to let clang run a plugin in every compilation.
1315 # Only has an effect if 'clang=1' is in GYP_DEFINES as well.
1317 …# GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dylib clang_add_plugin=pr…
1322 # Tell ld64 to write map files describing binary layout. Useful
1323 # for looking at what contributes to binary size, e.g. with
1338 # And if we want to strip the binary after dumping symbols.
1514 # compiler_version doesn't work with clang
1516 # compiler_version works with clang.
1517 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so
1519 … ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==0 and ubsan_vptr==0', {
1541 # not explicitly chosen to build with clang. Currently, this means all
1543 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that
1545 …['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsan==0 and tsan==0 and msa…
1553 # Android WebView uses a hermetic clang toolchain for host builds.
1757 # Location of the "objcopy" binary, used by both gyp and scripts.
1760 # Location of the "strip" binary, used by both gyp and scripts.
1763 # Location of the "readelf" binary.
1836 'clang%': 1,
1848 'clang%': 1,
2133 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
2137 'clang%': 1,
2145 'clang%': 1,
2148 'clang%': 1,
2170 'clang%': 1,
2319 ['OS=="win" and (clang==1 or asan==1)', {
2324 'host_cc': '<(make_clang_dir)/bin/clang',
2325 'host_cxx': '<(make_clang_dir)/bin/clang++',
2449 # pnacl uses the clang compiler so we need to suppress all the
2450 # same warnings as we do for clang.
2451 # TODO(sbc): Remove these if/when they are removed from the clang
2565 ['clang==1 and OS!="win"', {
2566 # This is here so that all files get recompiled after a clang roll and
2567 # when turning clang on or off.
2571 … 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
2679 ['clang==1 and asan==0 and msan==0 and tsan==0 and ubsan_vptr==0', {
2681 # slow. For now, don't create debug information with clang. See
2697 }, { # else clang!=1
2746 }], # clang!=1
3020 # Don't warn about printf format problems.
3022 '-Wno-format',
3030 [ 'os_posix==1 and OS!="mac" and OS!="ios" and (clang!=1 or chromeos==1)', {
3065 ['clang==1', {
3298 ['clang==1', {
3382 # 5%) but does not otherwise alter the output binary. This
3412 …!=1 and msan!=1 and tsan!=1 and lsan!=1 and ubsan!=1) and (OS!="linux" or clang!=1 or buildtype=="…
3464 # debug information format to dwarf-with-dsym. Since
3560 # GCC turns on -Wsign-compare for C++ under -Wall, but clang doesn't,
3592 # the binary size.
3623 # TODO(mostynb): shuffle clang/gcc_version/binutils_version
3626 …['linux_use_debug_fission==1 and linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bin…
3649 # in the .comment section taking up binary size.
3802 ['clang==0', {
3811 ['clang==1 and arm_arch!="" and OS!="android"', {
3824 ['clang==1 and OS!="android"', {
3826 # We need to disable clang's builtin assembler as it can't
3863 # The following option is disabled to improve binary
3878 ['gcc_version==48 and clang==0', {
3881 # binary size in GCC 4.8.
3906 ['clang==1', {
3921 # Let clang find the ld.gold in the NDK.
4043 ['clang==1', {
4054 ['clang==0 and host_clang==1', {
4061 ['clang==1 and clang_use_chrome_plugins==1', {
4066 ['clang==1 and clang_load!=""', {
4071 ['clang==1 and clang_add_plugin!=""', {
4076 ['clang==1 and target_arch=="ia32"', {
4078 # Else building libyuv gives clang's register allocator issues,
4086 ['clang==1 and "<(GENERATOR)"=="ninja"', {
4367 ['gcc_version>=47 and clang==0', {
4380 ['host_gcc_version>=47 and clang==0 and host_clang==0', {
4534 ['clang==1', {
4536 # Work around incompatibilities between bionic and clang
4559 # TODO: Enable clang support for Android x64. http://crbug.com/346626
4626 '-Wno-format-security',
4790 ['clang==1', {
4800 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
4810 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
4811 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
4815 ['clang==1 and clang_xcode==0 and clang_use_chrome_plugins==1', {
4820 ['clang==1 and clang_xcode==0 and clang_load!=""', {
4825 ['clang==1 and clang_xcode==0 and clang_add_plugin!=""', {
4830 ['clang==1 and "<(GENERATOR)"=="ninja"', {
4849 ['clang==1', {
5043 # debug information format to dwarf-with-dsym. Since
5098 # TODO(stuartmorgan): switch to c++0x (see TODOs in the clang
5482 ['clang==1', {
5544 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.6.0/include_sanitizer',
5550 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.6.0/lib/windows',
5646 ['gcc_version>=48 and clang==0', {
5653 ['gcc_version>=48 and clang==0 and host_clang==1', {
5660 # In the android webview build, force host targets to be compiled with clang
5689 ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
5692 ['CC', '<(make_clang_dir)/bin/clang'],
5693 ['CXX', '<(make_clang_dir)/bin/clang++'],
5698 ['clang==1 and OS=="win"', {
5701 ['CC', '<(make_clang_dir)/bin/clang-cl'],
5704 ['OS=="android" and clang==0', {
5722 ['OS=="linux" and target_arch=="arm" and host_arch!="arm" and chromeos==0 and clang==0', {
5736 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {