diff options
author | jbudorick <jbudorick@chromium.org> | 2016-12-05 06:50:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-05 06:50:51 -0800 |
commit | f6ee820732b8717d32d85a47938172080067ce4e (patch) | |
tree | 22e1fb88071a521fe7ed2e1a421e5239e64f27d5 /BUILD.gn | |
parent | d65fd10e080751e42b9ea2696ae3f4e54839461c (diff) | |
download | pdfium-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.gn | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 } } |