Split third_party/BUILD.gn in per-project files.

Bug: chromium:1064305

Change-Id: I6fc2da97e20865b62ff34a9d1c3f42120ac90348
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19202
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez
2020-04-10 08:24:00 +00:00
committed by Commit Bot service account
parent b31015b836
commit d11cc3961a
10 changed files with 235 additions and 217 deletions

View File

@@ -148,7 +148,7 @@ if (is_win || is_linux || is_mac || is_fuchsia || is_android) {
]
if (dawn_enable_vulkan) {
public_deps = [
"../../third_party:vulkan_headers",
"${dawn_root}/third_party/khronos:vulkan_headers",
]
}
if (is_android) {

View File

@@ -397,7 +397,7 @@ source_set("dawn_native_sources") {
if (dawn_enable_opengl) {
public_deps += [
":dawn_native_opengl_loader_gen",
"${dawn_root}/third_party:khronos_platform",
"${dawn_root}/third_party/khronos:khronos_platform",
]
sources += get_target_outputs(":dawn_native_opengl_loader_gen")
sources += [
@@ -447,7 +447,7 @@ source_set("dawn_native_sources") {
}
if (dawn_enable_vulkan) {
public_deps += [ "${dawn_root}/third_party:vulkan_headers" ]
public_deps += [ "${dawn_root}/third_party/khronos:vulkan_headers" ]
sources += [
"vulkan/AdapterVk.cpp",
"vulkan/AdapterVk.h",

View File

@@ -328,7 +328,7 @@ source_set("dawn_white_box_tests_sources") {
]
if (dawn_enable_vulkan) {
deps += [ "${dawn_root}/third_party:vulkan_headers" ]
deps += [ "${dawn_root}/third_party/khronos:vulkan_headers" ]
if (is_chromeos) {
sources += [ "white_box/VulkanImageWrappingTestsDmaBuf.cpp" ]

View File

@@ -26,7 +26,7 @@ import("${dawn_root}/scripts/dawn_features.gni")
if (dawn_supports_glfw_for_windowing) {
group("dawn_glfw") {
public_deps = [
"${dawn_root}/third_party:glfw",
"${dawn_root}/third_party/gn/glfw",
]
}
} else if (is_fuchsia) {