[gnome-software] trivial: Don't include headers in meson sources



commit 79d36e0b9ae59e9148d5760769fff7e87263c983
Author: Richard Hughes <richard hughsie com>
Date:   Wed Dec 7 10:02:59 2016 +0000

    trivial: Don't include headers in meson sources
    
    The compiler creates a depfile of included headers to track changes.

 src/meson.build         |   65 -----------------------------------------------
 src/plugins/meson.build |   15 -----------
 2 files changed, 0 insertions(+), 80 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index ae86f59..52b33a6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -17,127 +17,63 @@ gdbus_src = gnome.gdbus_codegen(
 )
 
 gnome_software_sources = [
-  'gnome-software.h',
   'gs-utils.c',
-  'gs-utils.h',
   'gs-app.c',
-  'gs-app.h',
-  'gs-app-private.h',
   'gs-app-list.c',
-  'gs-app-list.h',
-  'gs-app-list-private.h',
   'gs-auth.c',
-  'gs-auth.h',
   'gs-auth-dialog.c',
-  'gs-auth-dialog.h',
   'gs-category.c',
-  'gs-category.h',
-  'gs-category-private.h',
   'gs-common.c',
-  'gs-common.h',
   'gs-content-rating.c',
-  'gs-content-rating.h',
   'gs-debug.c',
-  'gs-debug.h',
   'gs-app-addon-row.c',
-  'gs-app-addon-row.h',
   'gs-app-row.c',
-  'gs-app-row.h',
   'gs-star-widget.c',
-  'gs-star-widget.h',
   'gs-popular-tile.c',
-  'gs-popular-tile.h',
   'gs-feature-tile.c',
-  'gs-feature-tile.h',
   'gs-category-tile.c',
-  'gs-category-tile.h',
   'gs-app-tile.c',
-  'gs-app-tile.h',
   'gs-summary-tile.c',
-  'gs-summary-tile.h',
   'gs-app-folder-dialog.c',
-  'gs-app-folder-dialog.h',
   'gs-first-run-dialog.c',
-  'gs-first-run-dialog.h',
   'gs-history-dialog.c',
-  'gs-history-dialog.h',
-  'gs-fixed-size-bin.h',
   'gs-fixed-size-bin.c',
-  'gs-hiding-box.h',
   'gs-hiding-box.c',
-  'gs-info-bar.h',
   'gs-info-bar.c',
   'gs-language.c',
-  'gs-language.h',
   'gs-os-release.c',
-  'gs-os-release.h',
   'gs-page.c',
-  'gs-page.h',
   'gs-plugin.c',
-  'gs-plugin.h',
   'gs-plugin-event.c',
-  'gs-plugin-event.h',
-  'gs-plugin-private.h',
-  'gs-plugin-types.h',
-  'gs-plugin-vfuncs.h',
   'gs-progress-button.c',
-  'gs-progress-button.h',
   'gs-removal-dialog.c',
-  'gs-removal-dialog.h',
   'gs-review-bar.c',
-  'gs-review-bar.h',
   'gs-review-dialog.c',
-  'gs-review-dialog.h',
   'gs-review-histogram.c',
-  'gs-review-histogram.h',
   'gs-review-row.c',
-  'gs-review-row.h',
   'gs-screenshot-image.c',
-  'gs-screenshot-image.h',
   'gs-shell.c',
-  'gs-shell.h',
   'gs-shell-details.c',
-  'gs-shell-details.h',
   'gs-shell-category.c',
-  'gs-shell-category.h',
   'gs-shell-extras.c',
-  'gs-shell-extras.h',
   'gs-shell-installed.c',
-  'gs-shell-installed.h',
   'gs-shell-moderate.c',
-  'gs-shell-moderate.h',
   'gs-shell-loading.c',
-  'gs-shell-loading.h',
   'gs-shell-overview.c',
-  'gs-shell-overview.h',
   'gs-shell-updates.c',
-  'gs-shell-updates.h',
   'gs-shell-search.c',
-  'gs-shell-search.h',
   'gs-sources-dialog.c',
-  'gs-sources-dialog.h',
   'gs-sources-dialog-row.c',
-  'gs-sources-dialog-row.h',
   'gs-update-dialog.c',
-  'gs-update-dialog.h',
   'gs-update-list.c',
-  'gs-update-list.h',
   'gs-update-monitor.c',
-  'gs-update-monitor.h',
   'gs-upgrade-banner.c',
-  'gs-upgrade-banner.h',
   'gs-vendor.c',
-  'gs-vendor.h',
   'gs-plugin-loader.c',
-  'gs-plugin-loader.h',
   'gs-plugin-loader-sync.c',
-  'gs-plugin-loader-sync.h',
   'gs-shell-search-provider.c',
-  'gs-shell-search-provider.h',
   'gs-application.c',
-  'gs-application.h',
   'gs-folders.c',
-  'gs-folders.h',
   'gs-main.c'
 ]
 
@@ -155,7 +91,6 @@ gnome_software_dependencies = [
 if get_option('enable-packagekit')
   gnome_software_sources += [
     'gs-dbus-helper.c',
-    'gs-dbus-helper.h',
   ]
   gnome_software_sources += gnome.gdbus_codegen(
     'gs-packagekit-generated',
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 524d5fc..7cdea0c 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -161,7 +161,6 @@ shared_module('gs_plugin_icons',
 shared_module('gs_plugin_appstream',
   sources : [
     'gs-appstream.c',
-    'gs-appstream.h',
     'gs-plugin-appstream.c'
   ],
   include_directories : [
@@ -190,11 +189,8 @@ if get_option('enable-flatpak')
   shared_module('gs_plugin_flatpak',
     sources : [
       'gs-appstream.c',
-      'gs-appstream.h',
       'gs-flatpak.c',
-      'gs-flatpak.h',
       'gs-flatpak-symlinks.c',
-      'gs-flatpak-symlinks.h',
       'gs-plugin-flatpak.c'
     ],
     include_directories : [
@@ -277,7 +273,6 @@ shared_module('gs_plugin_desktop-categories',
   sources : [
     'gs-plugin-desktop-categories.c',
     'gs-desktop-common.c',
-    'gs-desktop-common.h'
   ],
   include_directories : [
     include_directories('..'),
@@ -292,7 +287,6 @@ shared_module('gs_plugin_desktop-menu-path',
   sources : [
     'gs-plugin-desktop-menu-path.c',
     'gs-desktop-common.c',
-    'gs-desktop-common.h'
   ],
   include_directories : [
     include_directories('..'),
@@ -368,7 +362,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-systemd-updates.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -383,7 +376,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -398,9 +390,7 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit-refine.c',
       'gs-markdown.c',
-      'gs-markdown.h',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -415,7 +405,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit-refresh.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -430,7 +419,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit-local.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -456,7 +444,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit-upgrade.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -482,7 +469,6 @@ if get_option('enable-packagekit')
     sources : [
       'gs-plugin-packagekit-origin.c',
       'packagekit-common.c',
-      'packagekit-common.h'
     ],
     include_directories : [
       include_directories('..'),
@@ -508,7 +494,6 @@ if get_option('enable-snap')
   shared_module('gs_plugin_snap',
     sources : [
       'gs-plugin-snap.c',
-      'gs-snapd.h',
       'gs-snapd.c'
     ],
     include_directories : [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]