summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2016-06-10 06:28:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-10 06:28:40 -0700
commit7f3a15f714c8311b1adb7bdce1ac83c7113af598 (patch)
tree674f11667de8e12b7bdfaf445b2cc99810a306fd /BUILD.gn
parent855665d4889853f8ac71519de8ff004dba8eb056 (diff)
downloadpdfium-7f3a15f714c8311b1adb7bdce1ac83c7113af598.tar.xz
[Android] Add support for standalone PDFium gn build on Android.
This pulls in the android NDK and catapult, rolls chromium/src/build/, and pulls in two .gni updates. It also fixes a few miscellaneous compile failures in android-specific code. BUG=pdfium:38 Review-Url: https://codereview.chromium.org/2059553002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 8 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index ec57d80d2f..59215c1dd2 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1641,6 +1641,10 @@ test("pdfium_unittests") {
]
}
configs += [ ":pdfium_core_config" ]
+ if (is_android) {
+ ignore_all_data_deps = true
+ use_raw_android_executable = true
+ }
}
test("pdfium_embeddertests") {
@@ -1694,6 +1698,10 @@ test("pdfium_embeddertests") {
configs += [ "//v8:external_startup_data" ]
}
configs += [ ":pdfium_core_config" ]
+ if (is_android) {
+ ignore_all_data_deps = true
+ use_raw_android_executable = true
+ }
}
if (pdf_is_standalone) {