summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2016-12-05 06:50:50 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-05 06:50:51 -0800
commitf6ee820732b8717d32d85a47938172080067ce4e (patch)
tree22e1fb88071a521fe7ed2e1a421e5239e64f27d5 /BUILD.gn
parentd65fd10e080751e42b9ea2696ae3f4e54839461c (diff)
downloadpdfium-f6ee820732b8717d32d85a47938172080067ce4e.tar.xz
[android] Make pdfium_unittests work on Android.
This updates test.gni to match chromium as of crrev.com/d29ecfa7dc3ed49a2a49002ab941adb57c53e923, changes how PathService::GetSourceDir behaves on Android, and specifies the runtime test data for test_support. BUG=pdfium:415 Review-Url: https://codereview.chromium.org/2541503002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 3 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bf28674c4f..a91feeb5a9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -197,6 +197,9 @@ static_library("test_support") {
"testing/utils/path_service.cpp",
"testing/utils/path_service.h",
]
+ data = [
+ "testing/resources/",
+ ]
deps = [
":pdfium",
"//testing/gmock",
@@ -1776,7 +1779,6 @@ test("pdfium_unittests") {
}
configs += [ ":pdfium_core_config" ]
if (is_android) {
- ignore_all_data_deps = true
use_raw_android_executable = true
}
}