[dawn] small fix for BUILD.gn

BackendBinding.h includes dawn/dawncpp.h, so dawn_headers_gen needs to be in public_deps.

See below reference for more details.
https://gn.googlesource.com/gn/+/master/docs/reference.md#var_public_deps

Applied `gn format` too.

Bug: chromium:931596
Change-Id: I8572ba54b56c96950a58ec068ba797b3031f3c01
Reviewed-on: https://dawn-review.googlesource.com/c/4640
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Takuto Ikuta 2019-02-13 18:42:38 +00:00 committed by Commit Bot service account
parent a594f8fdb4
commit 0e6dad0a7d
1 changed files with 7 additions and 2 deletions

View File

@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("scripts/dawn_overrides_with_defaults.gni")
import("scripts/dawn_features.gni")
import("//build_overrides/build.gni") import("//build_overrides/build.gni")
import("scripts/dawn_features.gni")
import("scripts/dawn_overrides_with_defaults.gni")
import("//testing/test.gni") import("//testing/test.gni")
@ -849,6 +849,11 @@ static_library("dawn_utils") {
"src/utils/TerribleCommandBuffer.cpp", "src/utils/TerribleCommandBuffer.cpp",
"src/utils/TerribleCommandBuffer.h", "src/utils/TerribleCommandBuffer.h",
] ]
public_deps = [
":dawn_headers_gen",
]
deps = [ deps = [
":dawn_common", ":dawn_common",
":libdawn_native", ":libdawn_native",