diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-12-15 12:31:38 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-12-15 12:46:59 +0000 |
commit | 99e0929d6cae6d841440e5a922c591afdd6f54fd (patch) | |
tree | 6ce6a999655c5d9535301050137af7750b3ce910 /gtk/css | |
parent | e75e44bdcca3d687ee2b260910180caba6386095 (diff) | |
download | gtk+-99e0929d6cae6d841440e5a922c591afdd6f54fd.tar.gz |
build: Use a consistent style for Meson files
Diffstat (limited to 'gtk/css')
-rw-r--r-- | gtk/css/meson.build | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/gtk/css/meson.build b/gtk/css/meson.build index 0b5ddd948e..2785f41374 100644 --- a/gtk/css/meson.build +++ b/gtk/css/meson.build @@ -28,30 +28,33 @@ gtk_css_deps = [ ] gtk_css_enums = gnome.mkenums('gtkcssenumtypes', - sources: gtk_css_public_headers, - c_template: 'gtkcssenumtypes.c.template', - h_template: 'gtkcssenumtypes.h.template', - install_dir: join_paths(gtk_includedir, 'gtk-4.0/gtk/css'), - install_header: true) + sources: gtk_css_public_headers, + c_template: 'gtkcssenumtypes.c.template', + h_template: 'gtkcssenumtypes.h.template', + install_dir: join_paths(gtk_includedir, 'gtk-4.0/gtk/css'), + install_header: true, +) gtk_css_enum_h = gtk_css_enums[1] libgtk_css = static_library('gtk_css', - sources: [ - gtk_css_public_sources, - gtk_css_private_sources, - gtk_css_enums, - ], - dependencies: gtk_css_deps, - include_directories: [ confinc, ], - c_args: [ - '-DGTK_COMPILATION', - '-DG_LOG_DOMAIN="Gtk"', - ] + common_cflags) + sources: [ + gtk_css_public_sources, + gtk_css_private_sources, + gtk_css_enums, + ], + dependencies: gtk_css_deps, + include_directories: [ confinc, ], + c_args: [ + '-DGTK_COMPILATION', + '-DG_LOG_DOMAIN="Gtk"', + ] + common_cflags, +) # We don't have link_with: to internal static libs here on purpose, just # list the dependencies and generated headers and such, for use in the # "public" libgtk_dep used by internal executables. libgtk_css_dep = declare_dependency(include_directories: [ confinc, ], - sources: [ gtk_css_enum_h ], - dependencies: gtk_css_deps) + sources: [ gtk_css_enum_h ], + dependencies: gtk_css_deps, +) |