mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
gio: Remove unnecessary appinfo_sources variable
There was no obvious logical need to list the `GAppInfo` subclass sources separately in the build. It makes more sense to add them to the platform-specific source lists, since they are platform specific. This will be used in an upcoming commit which generates platform-specific GIR files, so needs the full platform-specific lists of sources. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
f63cc38328
commit
0d9170c6b8
@ -341,7 +341,6 @@ local_sources = files(
|
||||
|
||||
platform_deps = []
|
||||
internal_deps = []
|
||||
appinfo_sources = []
|
||||
contenttype_sources = []
|
||||
portal_sources = []
|
||||
unix_sources = []
|
||||
@ -394,7 +393,7 @@ if host_system != 'windows'
|
||||
if glib_have_cocoa
|
||||
settings_sources += files('gnextstepsettingsbackend.m')
|
||||
contenttype_sources += files('gosxcontenttype.m')
|
||||
appinfo_sources += files('gosxappinfo.m')
|
||||
unix_sources += files('gosxappinfo.m')
|
||||
framework_dep = dependency('appleframeworks', modules : ['Foundation', 'CoreFoundation', 'AppKit'])
|
||||
platform_deps += [framework_dep]
|
||||
if glib_have_os_x_9_or_later
|
||||
@ -403,7 +402,7 @@ if host_system != 'windows'
|
||||
application_headers += files('gosxappinfo.h')
|
||||
else
|
||||
contenttype_sources += files('gcontenttype.c')
|
||||
appinfo_sources += files('gdesktopappinfo.c')
|
||||
unix_sources += files('gdesktopappinfo.c')
|
||||
gio_unix_include_headers += files('gdesktopappinfo.h')
|
||||
launch_desktop_sources = files('gio-launch-desktop.c')
|
||||
|
||||
@ -433,7 +432,7 @@ if host_system != 'windows'
|
||||
)
|
||||
endif
|
||||
else
|
||||
appinfo_sources += files('gwin32appinfo.c')
|
||||
win32_sources += files('gwin32appinfo.c')
|
||||
contenttype_sources += files('gcontenttype-win32.c')
|
||||
platform_deps += [cc.find_library('shlwapi'),
|
||||
cc.find_library('dnsapi'),
|
||||
@ -613,7 +612,6 @@ if glib_build_shared
|
||||
gio_sources += files ('../glib/gtrace.c')
|
||||
endif
|
||||
|
||||
gio_sources += appinfo_sources
|
||||
gio_sources += contenttype_sources
|
||||
gio_sources += gdbus_daemon_sources
|
||||
gio_sources += unix_sources
|
||||
|
@ -111,7 +111,6 @@ gio_gir_sources = [
|
||||
gio_base_sources,
|
||||
application_sources,
|
||||
gdbus_sources,
|
||||
appinfo_sources,
|
||||
contenttype_sources,
|
||||
unix_sources,
|
||||
win32_sources,
|
||||
|
Loading…
Reference in New Issue
Block a user