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

Side by Side Diff: webrtc/build/webrtc.gni

Issue 2144273002: Add minimal LLVM sanity coverage (sancov) reporting for unittests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add minimal LLVM sanity coverage (sancov) reporting for unittests. Created 4 years, 5 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 | « webrtc/build/common.gypi ('k') | no next file » | 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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 rtc_enable_android_opensl = false 58 rtc_enable_android_opensl = false
59 59
60 # Link-Time Optimizations. 60 # Link-Time Optimizations.
61 # Executes code generation at link-time instead of compile-time. 61 # Executes code generation at link-time instead of compile-time.
62 # https://gcc.gnu.org/wiki/LinkTimeOptimization 62 # https://gcc.gnu.org/wiki/LinkTimeOptimization
63 rtc_use_lto = false 63 rtc_use_lto = false
64 64
65 rtc_restrict_logging = true 65 rtc_restrict_logging = true
66 66
67 # Set to "func", "block", "edge" for coverage generation.
68 # At unit test runtime set UBSAN_OPTIONS="coverage=1".
69 # It is recommend to set include_examples=0.
70 # Use llvm's sancov -html-report for human readable reports.
71 # See http://clang.llvm.org/docs/SanitizerCoverage.html .
72 rtc_sanitize_coverage = ""
73
67 # Enable libevent task queues on platforms that support it. 74 # Enable libevent task queues on platforms that support it.
68 if (is_win || is_mac || is_ios || is_nacl) { 75 if (is_win || is_mac || is_ios || is_nacl) {
69 rtc_enable_libevent = false 76 rtc_enable_libevent = false
70 rtc_build_libevent = false 77 rtc_build_libevent = false
71 } else { 78 } else {
72 rtc_enable_libevent = true 79 rtc_enable_libevent = true
73 rtc_build_libevent = true 80 rtc_build_libevent = true
74 } 81 }
75 82
76 if (current_cpu == "arm" || current_cpu == "arm64") { 83 if (current_cpu == "arm" || current_cpu == "arm64") {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 declare_args() { 130 declare_args() {
124 # Include the iLBC audio codec? 131 # Include the iLBC audio codec?
125 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 132 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
126 } 133 }
127 134
128 # Make it possible to provide custom locations for some libraries (move these 135 # Make it possible to provide custom locations for some libraries (move these
129 # up into declare_args should we need to actually use them for the GN build). 136 # up into declare_args should we need to actually use them for the GN build).
130 rtc_libvpx_dir = "//third_party/libvpx" 137 rtc_libvpx_dir = "//third_party/libvpx"
131 rtc_libyuv_dir = "//third_party/libyuv" 138 rtc_libyuv_dir = "//third_party/libyuv"
132 rtc_opus_dir = "//third_party/opus" 139 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698