Skip to content

Commit

Permalink
Nuke mangoapp layer
Browse files Browse the repository at this point in the history
This layer is not being used and probably won't be
  • Loading branch information
flightlessmango committed Nov 22, 2024
1 parent a109f0b commit 8bd0b63
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 270 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ else
windows_deps = null_dep
endif

if get_option('mangoapp') or get_option('mangoapp_layer')
if get_option('mangoapp')
glfw3_dep = dependency('glfw3')
glew_dep = dependency('glew')
endif
Expand Down
1 change: 0 additions & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ option('with_dbus', type : 'feature', value : 'enabled')
option('loglevel', type: 'combo', choices : ['trace', 'debug', 'info', 'warn', 'err', 'critical', 'off'], value : 'info', description: 'Max log level in non-debug build')
option('mangoapp', type: 'boolean', value : false)
option('mangohudctl', type: 'boolean', value : false)
option('mangoapp_layer', type: 'boolean', value : false)
option('tests', type: 'feature', value: 'auto', description: 'Run tests')
option('mangoplot', type: 'feature', value: 'enabled')
option('dynamic_string_tokens', type: 'boolean', value: true, description: 'Use dynamic string tokens in LD_PRELOAD')
211 changes: 0 additions & 211 deletions src/app/layer.cpp

This file was deleted.

21 changes: 0 additions & 21 deletions src/app/layer.json.in

This file was deleted.

36 changes: 0 additions & 36 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -324,32 +324,6 @@ mangoapp = executable(
)
endif

if get_option('mangoapp_layer')
mangoapp_layer = shared_library(
'MangoApp',
vk_enum_to_str,
files(
'app/layer.cpp',
),
c_args : [
pre_args,
],
cpp_args : [
pre_args,
],
dependencies : [
dep_vulkan,
json_dep
],
gnu_symbol_visibility : 'hidden',
include_directories : [inc_common],
link_args : link_args,
install_tag : 'mangoapp',
install_dir : libdir_mangohud,
install : true
)
endif

configure_file(input : 'mangohud.json.in',
output : '@0@.@[email protected]'.format(meson.project_name(), host_machine.cpu_family()),
configuration : conf_data,
Expand All @@ -364,13 +338,3 @@ configure_file(input : '../bin/mangohud.in',
install_dir : get_option('bindir'),
install_tag : 'scripts',
)

if get_option('mangoapp_layer')
configure_file(input : 'app/layer.json.in',
output : 'libMangoApp.@[email protected]'.format(host_machine.cpu_family()),
configuration : conf_data,
install : true,
install_dir : join_paths(get_option('datadir'), 'vulkan', 'implicit_layer.d'),
install_tag : 'mangoapp',
)
endif

0 comments on commit 8bd0b63

Please sign in to comment.