diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-07-24 17:39:55 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-07-24 17:39:55 +0800 |
commit | 9c37fe94d1016d78b593a842674b1cc74932bd64 (patch) | |
tree | 75bc844136a89f25fa9bc4ac76220f167c0c2ab2 /build | |
parent | d9985dad5b8a24b1666f3382a411815965d1203b (diff) | |
download | gtk+-9c37fe94d1016d78b593a842674b1cc74932bd64.tar.gz |
MSVC Builds: Fix Introspection Build
The deprecated and a11y sources of GTK+ were spun off some time ago into
their own Makefile.inc, which is then included by gtk/Makefile.am. Fix the
generation of file sources for the GTK+ .gir.
Diffstat (limited to 'build')
-rw-r--r-- | build/gen-file-list-gtk.py | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/build/gen-file-list-gtk.py b/build/gen-file-list-gtk.py index 3389e05050..d6a8cbce99 100644 --- a/build/gen-file-list-gtk.py +++ b/build/gen-file-list-gtk.py @@ -54,13 +54,26 @@ def gen_gtk_filelist(srcroot, subdir, dest): 'gtk_base_c_sources', 'gtk_clipboard_dnd_c_sources']) + vars_depr = read_vars_from_AM(os.path.join(srcroot, 'gtk', 'deprecated', 'Makefile.inc'), + vars = {}, + conds = {}, + filters = ['deprecated_h_sources', + 'deprecated_c_sources']) + + vars_a11y = read_vars_from_AM(os.path.join(srcroot, 'gtk', 'a11y', 'Makefile.inc'), + vars = {}, + conds = {}, + filters = ['a11y_h_sources', + 'a11y_c_sources']) + vars['gtk_other_src'] = 'gtkprintoperation-win32.c gtktypebuiltins.h gtktypebuiltins.c' files = vars['gtkinclude_HEADERS'].split() + \ - vars['a11yinclude_HEADERS'].split() + \ - vars['deprecatedinclude_HEADERS'].split() + \ + vars_a11y['a11y_h_sources'].split() + \ + vars_depr['deprecated_h_sources'].split() + \ vars['gtk_base_c_sources'].split() + \ - vars['gtk_clipboard_dnd_c_sources'].split() + \ + vars_a11y['a11y_c_sources'].split() + \ + vars_depr['deprecated_c_sources'].split() + \ vars['gtk_other_src'].split() sources = [i for i in files \ |