Remove gn arg 'use_coverage'

This flag was used for enabling GCOV style coverage data
generation. Our code coverage tools now use the native LLVM tools, so
no longer depend on this flag. Having this flag is confusing and a
source of developer error.

Change-Id: I42cfce6fe9e5a7d0f0ac13abdb5fec90f61f1c13
Reviewed-on: https://pdfium-review.googlesource.com/37130
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index fb251fc..d30640f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -62,15 +62,6 @@
     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 2b34cbc..f451c84 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -56,9 +56,6 @@
   # 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 3274338..30cc8ef 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -36,15 +36,6 @@
   if (enable_callgrind) {
     defines += [ "ENABLE_CALLGRIND" ]
   }
-
-  if (use_coverage && is_clang) {
-    cflags += [
-      "--coverage",
-      "-g",
-      "-O0",
-    ]
-    ldflags += [ "--coverage" ]
-  }
 }
 
 executable("pdfium_test") {