summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-05 18:39:40 -0800
committerLei Zhang <thestig@chromium.org>2015-11-05 18:39:40 -0800
commit34bb6c58fe60206a08dc0a1f37b7cfe83e8c762c (patch)
tree422e979cbfdeab9781c07a4040aee94a9dd0a7f6 /samples/BUILD.gn
parentba2d95fb6d7b6eb3b27ca8e6eb41d9aae1a8b691 (diff)
downloadpdfium-34bb6c58fe60206a08dc0a1f37b7cfe83e8c762c.tar.xz
Fix all relative includes to third_party.chromium/2560chromium/2559chromium/2558chromium/2557
- In non-standalone builds, use the provided jpeg library. - Run gn format over all the GN files. - Also roll DEPS for buildtools to c2f2598. BUG=541704 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1425153006 .
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r--samples/BUILD.gn16
1 files changed, 6 insertions, 10 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index f3f6bc1a10..73683c4bbc 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -18,10 +18,9 @@ config("pdfium_samples_config") {
"PNGPREFIX_H",
"PNG_USE_READ_MACROS",
]
+ include_dirs = [ ".." ]
if (pdf_enable_v8) {
- defines += [
- "PDF_ENABLE_V8",
- ]
+ defines += [ "PDF_ENABLE_V8" ]
}
}
@@ -34,6 +33,7 @@ executable("pdfium_test") {
deps = [
"//third_party/pdfium:pdfium",
"//third_party/pdfium:test_support",
+
# Regardless of whether the library ships against system freetype,
# always link this binary against the bundled one for consistency
# of results across platforms.
@@ -41,9 +41,7 @@ executable("pdfium_test") {
":fx_lpng",
]
if (pdf_enable_v8) {
- deps += [
- "//v8:v8_libplatform",
- ]
+ deps += [ "//v8:v8_libplatform" ]
include_dirs = [
"//v8",
"//v8/include",
@@ -90,8 +88,6 @@ static_library("fx_lpng") {
"fx_lpng/src/fx_pngwtran.c",
"fx_lpng/src/fx_pngwutil.c",
]
- include_dirs = [
- "../core/src/fxcodec/fx_zlib/include/",
- ]
+ include_dirs = [ "../core/src/fxcodec/fx_zlib/include/" ]
configs += [ ":pdfium_samples_config" ]
-} \ No newline at end of file
+}