Make pdfium_embeddertests link in debug component builds.
authorNico Weber <thakis@chromium.org>
Wed, 16 Sep 2015 20:53:42 +0000 (13:53 -0700)
committerNico Weber <thakis@chromium.org>
Wed, 16 Sep 2015 20:53:42 +0000 (13:53 -0700)
commit6f34355e9d091fd4e031e9354fdfa778000b0d4a
tree837088269e45b19aff2196800bc72f705a83ea50
parent455019ca48f60bd285e043986471f51f17c69a0d
Make pdfium_embeddertests link in debug component builds.

Target v8 has:

          'direct_dependent_settings': {
            'defines': [
              'V8_SHARED',
              'USING_V8_SHARED',
            ],
          },

For this to work, targets using v8 headers have to depend on v8
directly, else the V8_EXPORT macro won't work. Add a direct
dependency on v8.

BUG=none
TEST=do a debug component build of pdfium_embeddertests on Win,
should work without linker errors

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1349843002 .
BUILD.gn
pdfium.gyp