Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: samples/BUILD.gn

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gyp ('k') | samples/fx_lpng/lpng_v163/pngstruct.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/BUILD.gn
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index f3f6bc1a1002cd9fb6b0cd4ecc154b86b8fe0f97..73683c4bbcfaede854d87c68cc1680bd46cceeac 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 previous file with comments | « pdfium.gyp ('k') | samples/fx_lpng/lpng_v163/pngstruct.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698