summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r--samples/BUILD.gn6
1 files changed, 5 insertions, 1 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 1bb15a35f5..748a2af399 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -44,7 +44,11 @@ executable("pdfium_diff") {
"//third_party/pdfium",
":fx_lpng",
]
- configs += [ ":pdfium_samples_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ ":pdfium_samples_config",
+ "//build/config/compiler:no_chromium_code",
+ ]
}
static_library("fx_lpng") {