dawn-cmake/generator/templates
Corentin Wallez bd48385d50 Add static library versions of libdawn*
Chromium will want to have both static and shared library versions of
Dawn to use in non-component and component builds respectively.

The *_export.h files are modified to noop when *_SHARED_LIBRARY is not
defined so that the static library doesn't export symbols that aren't
imported in dependents (this would break compilation on Windows).

A dawn_library_combo is introduced in BUILD.gn that factors out all the
logic needed to produce shared libraries and handle the _EXPORT macros.

Also contains a fix to dawncpp to export only the methods that aren't
defined in the header (otherwise they get defined multiple times)

BUG=dawn:85

Change-Id: Ib747deb9308e1165dd66002487147ba279d3eac0
Reviewed-on: https://dawn-review.googlesource.com/c/3761
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-01-09 09:05:18 +00:00
..
dawn_native Remove BufferView and inline offset/size in BindGroup 2018-12-07 12:31:53 +00:00
dawn_wire Specialize WireServer objects 2019-01-08 17:58:38 +00:00
api.c Rename nxtProcTable and nxtSetProcs to dawn 2018-07-18 22:54:06 +02:00
api.h Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00
apicpp.cpp dawncpp.h: Don't expose the fluent syntax for non-builders 2018-09-20 20:05:21 +00:00
apicpp.h Add static library versions of libdawn* 2019-01-09 09:05:18 +00:00
apicpp_traits.h Standardize header guards for libdawn headers 2018-07-25 21:03:49 +02:00
mock_api.cpp Revert "Create new src/tests BUILD.gn file." 2018-12-08 10:35:53 +00:00
mock_api.h Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00