summaryrefslogtreecommitdiff
path: root/lib/meson.build
blob: 298dd7e2da6b2cd2d444299edcffc7ea06c978b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
types_headers = [
  'ephy-security-levels.h',
  'ephy-sqlite-connection.h',
  'history/ephy-history-types.h'
]

enums = gnome.mkenums_simple('ephy-lib-type-builtins',
  sources: types_headers
)

libephymisc_sources = [
  'contrib/eggtreemultidnd.c',
  'contrib/gvdb/gvdb-builder.c',
  'contrib/gvdb/gvdb-reader.c',
  'ephy-dbus-util.c',
  'ephy-debug.c',
  'ephy-dnd.c',
  'ephy-favicon-helpers.c',
  'ephy-file-helpers.c',
  'ephy-flatpak-utils.c',
  'ephy-gui.c',
  'ephy-langs.c',
  'ephy-notification.c',
  'ephy-notification-container.c',
  'ephy-permissions-manager.c',
  'ephy-profile-utils.c',
  'ephy-search-engine-manager.c',
  'ephy-security-levels.c',
  'ephy-settings.c',
  'ephy-signal-accumulator.c',
  'ephy-smaps.c',
  'ephy-snapshot-service.c',
  'ephy-sqlite-connection.c',
  'ephy-sqlite-statement.c',
  'ephy-string.c',
  'ephy-sync-utils.c',
  'ephy-time-helpers.c',
  'ephy-uri-helpers.c',
  'ephy-uri-tester-shared.c',
  'ephy-user-agent.c',
  'ephy-web-app-utils.c',
  'ephy-zoom.c',
  'history/ephy-history-service.c',
  'history/ephy-history-service-hosts-table.c',
  'history/ephy-history-service-urls-table.c',
  'history/ephy-history-service-visits-table.c',
  'history/ephy-history-types.c',
  'safe-browsing/ephy-gsb-service.c',
  'safe-browsing/ephy-gsb-storage.c',
  'safe-browsing/ephy-gsb-utils.c',
  enums
]

libephymisc_deps = [
  cairo_dep,
  gdk_pixbuf_dep,
  gio_dep,
  gio_unix_dep,
  glib_dep,
  gnome_desktop_dep,
  gtk_dep,
  icu_uc_dep,
  json_glib_dep,
  libsecret_dep,
  libsoup_dep,
  libxml_dep,
  m_dep,
  sqlite3_dep,
  webkit2gtk_dep
]

libephymisc_includes = include_directories(
  '.',
  '..',
  'contrib',
  'contrib/gvdb',
  'history',
  'safe-browsing'
)

libephymisc = shared_library('ephymisc',
  libephymisc_sources,
  dependencies: libephymisc_deps,
  include_directories: libephymisc_includes,
  install: true,
  install_dir: pkglibdir
)

ephymisc_dep = declare_dependency(
  link_with: libephymisc,
  include_directories: libephymisc_includes,
  dependencies: libephymisc_deps,
  sources: enums
)

subdir('sync')
subdir('widgets')