-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Static library - Add overrides, not necessary yet but it will be when other parts of this repo wants to find Vulkan-Headers - Remove unused dependency on Vulkan-Headers from the settings library - Remove unreachable return flagged by clang
- Loading branch information
1 parent
5dd42f6
commit 647235d
Showing
2 changed files
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,20 @@ | ||
# Copyright 2023-2023 The ANGLE Project Authors. | ||
# Copyright 2023-2023 LunarG, Inc. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source_set("vulkan_utility_libraries") { | ||
include_dirs = [ | ||
"include", | ||
] | ||
import("//build_overrides/vulkan_utility_libraries.gni") | ||
|
||
static_library("vulkan_layer_settings") { | ||
include_dirs = [ "include" ] | ||
sources = [ | ||
"include/vulkan/layer/vk_layer_settings.h", | ||
"include/vulkan/layer/vk_layer_settings.hpp", | ||
"include/vulkan/layer/vk_layer_settings_ext.h", | ||
"src/layer/layer_settings_manager.cpp", | ||
"src/layer/layer_settings_manager.hpp", | ||
"src/layer/layer_settings_util.cpp", | ||
"src/layer/layer_settings_util.hpp", | ||
"src/layer/vk_layer_settings.cpp", | ||
"src/layer/vk_layer_settings_helper.cpp", | ||
"include/vulkan/layer/vk_layer_settings_ext.h", | ||
"include/vulkan/layer/vk_layer_settings.h", | ||
"include/vulkan/layer/vk_layer_settings.hpp", | ||
] | ||
public_configs = [ ":vulkan_headers_config" ] | ||
public_deps = [ "$vulkan_headers_dir:vulkan_headers" ] | ||
} | ||
|
||
if (is_fuchsia) { | ||
library_type = "loadable_module" | ||
} else { | ||
library_type = "shared_library" | ||
} | ||
|
||
target(library_type, "vulkan_layer_settings") { | ||
defines = [] | ||
ldflags = [] | ||
deps = [ ":vulkan_utility_libraries" ] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters