Fix build of pdfium_embeddertest under V8_USE_EXTERNAL_STARTUP_DATA.
authorTom Sepez <tsepez@chromium.org>
Fri, 23 Jan 2015 01:18:46 +0000 (17:18 -0800)
committerTom Sepez <tsepez@chromium.org>
Fri, 23 Jan 2015 01:18:46 +0000 (17:18 -0800)
commit36faa4ac92100936d108354a066218d1aae327a3
tree215bcd3fbb2b63a80ba69796bd7f2c5202be85bc
parent219e462c2a0bb9a5462c0ee43ec93ac86c9cda40
Fix build of pdfium_embeddertest under V8_USE_EXTERNAL_STARTUP_DATA.

Currently, this is a difference between the standalone pdfium environment
vs. pdfium as part of a chromium checkout.

Locating the external data files is a nusiance when you don't have the
binary's argv[0] line, so we create a new main that preserves this for
us.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/851283006
pdfium.gyp
testing/embedder_test.cpp