OSDN Git Service

Fix the unittests Ninja build.
authorNicolas Capens <capn@google.com>
Fri, 1 Jun 2018 01:05:52 +0000 (21:05 -0400)
committerNicolas Capens <nicolascapens@google.com>
Fri, 1 Jun 2018 15:24:57 +0000 (15:24 +0000)
commit419e8a7a673d7e8401a3174897d2ff0e01fd089a
tree5aaee84a63e60ac8669a14fc15665f757f69bdf7
parent8e6ed2e35bce87eccd69569840a81c49669b6cb6
Fix the unittests Ninja build.

On Windows, GLAPI defaults to __declspec(dllimport), while GLAPICALL is
empty, leading to declaration mismatches. Either should be empty for
the unit tests since we link statically, for all platforms.

Change-Id: I2dde0ca35108678fd9767895e0120ee4b0d7030f
Reviewed-on: https://swiftshader-review.googlesource.com/19128
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
tests/unittests/BUILD.gn