Make Dawn "gn check" by default (except SPIRV-Tools)

This required adding some missing dependencies, splitting public headers
of libdawn_[native|wire] so they aren't hidden in the
libdawn_[native|wire]_sources targets, and making unittests depend on
sources directly instead of static libraries (which is almost equivalent).

As a byproduct, Empty.cpp is no longer needed and is removed.
This commit is contained in:
Corentin Wallez
2018-08-12 21:07:46 +02:00
committed by Corentin Wallez
parent a5696c7aa5
commit d2969a7d3d
4 changed files with 70 additions and 52 deletions

View File

@@ -1,16 +0,0 @@
// Copyright 2018 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This is an empty file used as a workaround for OSX's libtool requiring that a response file
// contains at least one file.