Skip to content

Commit 8bd0b63

Browse files
committedNov 22, 2024
Nuke mangoapp layer
This layer is not being used and probably won't be
1 parent a109f0b commit 8bd0b63

File tree

5 files changed

+1
-270
lines changed

5 files changed

+1
-270
lines changed
 

‎meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ else
259259
windows_deps = null_dep
260260
endif
261261

262-
if get_option('mangoapp') or get_option('mangoapp_layer')
262+
if get_option('mangoapp')
263263
glfw3_dep = dependency('glfw3')
264264
glew_dep = dependency('glew')
265265
endif

‎meson_options.txt

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ option('with_dbus', type : 'feature', value : 'enabled')
1010
option('loglevel', type: 'combo', choices : ['trace', 'debug', 'info', 'warn', 'err', 'critical', 'off'], value : 'info', description: 'Max log level in non-debug build')
1111
option('mangoapp', type: 'boolean', value : false)
1212
option('mangohudctl', type: 'boolean', value : false)
13-
option('mangoapp_layer', type: 'boolean', value : false)
1413
option('tests', type: 'feature', value: 'auto', description: 'Run tests')
1514
option('mangoplot', type: 'feature', value: 'enabled')
1615
option('dynamic_string_tokens', type: 'boolean', value: true, description: 'Use dynamic string tokens in LD_PRELOAD')

‎src/app/layer.cpp

-211
This file was deleted.

‎src/app/layer.json.in

-21
This file was deleted.

‎src/meson.build

-36
Original file line numberDiff line numberDiff line change
@@ -324,32 +324,6 @@ mangoapp = executable(
324324
)
325325
endif
326326

327-
if get_option('mangoapp_layer')
328-
mangoapp_layer = shared_library(
329-
'MangoApp',
330-
vk_enum_to_str,
331-
files(
332-
'app/layer.cpp',
333-
),
334-
c_args : [
335-
pre_args,
336-
],
337-
cpp_args : [
338-
pre_args,
339-
],
340-
dependencies : [
341-
dep_vulkan,
342-
json_dep
343-
],
344-
gnu_symbol_visibility : 'hidden',
345-
include_directories : [inc_common],
346-
link_args : link_args,
347-
install_tag : 'mangoapp',
348-
install_dir : libdir_mangohud,
349-
install : true
350-
)
351-
endif
352-
353327
configure_file(input : 'mangohud.json.in',
354328
output : '@0@.@1@.json'.format(meson.project_name(), host_machine.cpu_family()),
355329
configuration : conf_data,
@@ -364,13 +338,3 @@ configure_file(input : '../bin/mangohud.in',
364338
install_dir : get_option('bindir'),
365339
install_tag : 'scripts',
366340
)
367-
368-
if get_option('mangoapp_layer')
369-
configure_file(input : 'app/layer.json.in',
370-
output : 'libMangoApp.@0@.json'.format(host_machine.cpu_family()),
371-
configuration : conf_data,
372-
install : true,
373-
install_dir : join_paths(get_option('datadir'), 'vulkan', 'implicit_layer.d'),
374-
install_tag : 'mangoapp',
375-
)
376-
endif

0 commit comments

Comments
 (0)