From c0e93a9a942fe7d99800502a61d2fbb58cf9276f Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 9 Nov 2015 10:22:30 -0800 Subject: Add path service to retrieve test data directory at run time so tests can be run from any directory. Previously the tests which read test files assume the current directory is under pdfium. Running from any other directory will break the build. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1408003014 . --- BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index b8c199551b..aaa2c75538 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -153,6 +153,7 @@ source_set("test_support") { "testing/fx_string_testhelpers.h", "testing/test_support.cpp", "testing/test_support.h", + 'testing/utils/path_service.cpp', ] deps = [ "//testing/gmock", -- cgit v1.2.3