From d774a73b59ac36d533064041196d051c032eee6b Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 4 Jul 2018 15:35:58 +0000 Subject: 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 Commit-Queue: Ryan Harrison --- samples/BUILD.gn | 9 --------- 1 file changed, 9 deletions(-) (limited to 'samples') 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") { -- cgit v1.2.3