summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn9
-rw-r--r--pdfium.gni3
-rw-r--r--samples/BUILD.gn9
3 files changed, 0 insertions, 21 deletions
diff --git a/BUILD.gn b/BUILD.gn
index fb251fc9e4..d30640f30c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -62,15 +62,6 @@ config("pdfium_common_config") {
defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
}
- if (use_coverage && is_clang) {
- cflags += [
- "--coverage",
- "-g",
- "-O0",
- ]
- ldflags += [ "--coverage" ]
- }
-
if (is_win) {
# Assume UTF-8 by default to avoid code page dependencies.
cflags += [ "/utf-8" ]
diff --git a/pdfium.gni b/pdfium.gni
index 2b34cbc89d..f451c84829 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -56,9 +56,6 @@ declare_args() {
# Enable callgrind for performance profiling
enable_callgrind = false
- # Enable coverage information
- use_coverage = false
-
# Don't build against bundled zlib.
use_system_zlib = false
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 3274338d49..30cc8ef6e9 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -36,15 +36,6 @@ config("pdfium_samples_config") {
if (enable_callgrind) {
defines += [ "ENABLE_CALLGRIND" ]
}
-
- if (use_coverage && is_clang) {
- cflags += [
- "--coverage",
- "-g",
- "-O0",
- ]
- ldflags += [ "--coverage" ]
- }
}
executable("pdfium_test") {