diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-07-11 16:42:43 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-13 14:41:45 +0000 |
commit | 95ea778b4411bbd46b21f93e391f3bbd3e798342 (patch) | |
tree | e7e998b59a5aae06ac2cda17065ac7a879a906ce /samples/BUILD.gn | |
parent | 17453d03c3bdd18a893ae86058a6184939aee026 (diff) | |
download | pdfium-95ea778b4411bbd46b21f93e391f3bbd3e798342.tar.xz |
Added Callgrind instrumentation delimiters to pdfium_test.
Change-Id: I664497b5bab640e642bde3f80aaeb62467237407
Reviewed-on: https://pdfium-review.googlesource.com/7281
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r-- | samples/BUILD.gn | 5 |
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", |