summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r--samples/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 59ab4b4a11..8fbf5d552f 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -32,6 +32,11 @@ config("pdfium_samples_config") {
if (is_asan) {
defines += [ "PDF_ENABLE_ASAN" ]
}
+
+ if (enable_callgrind) {
+ defines += [ "ENABLE_CALLGRIND" ]
+ }
+
if (use_coverage && is_clang) {
cflags += [
"--coverage",