efl
299 строк · 7.2 Кб
1elementary_test_src = [
2'test.c',
3'test_explode.c',
4'test_explode.h',
5'test_3d.c',
6'test_access.c',
7'test_actionslider.c',
8'test_anim.c',
9'test_bg.c',
10'test_box.c',
11'test_bubble.c',
12'test_button.c',
13'test_ui_button.c',
14'test_calendar.c',
15'test_check.c',
16'test_clock.c',
17'test_cnp.c',
18'test_code.c',
19'test_colorselector.c',
20'test_colorclass.c',
21'test_combobox.c',
22'test_config.c',
23'test_conform.c',
24'test_conform_indicator.c',
25'test_ctxpopup.c',
26'test_cursor.c',
27'test_datetime.c',
28'test_dayselector.c',
29'test_disable.c',
30'test_diskselector.c',
31'test_dnd.c',
32'test_efl_anim_alpha.c',
33'test_efl_anim_rotate.c',
34'test_efl_anim_scale.c',
35'test_efl_anim_translate.c',
36'test_efl_anim_group_parallel.c',
37'test_efl_anim_group_sequential.c',
38'test_efl_anim_pause.c',
39'test_efl_anim_repeat.c',
40'test_efl_anim_start_delay.c',
41'test_efl_anim_interpolator.c',
42'test_eio.c',
43'test_entry.c',
44'test_entry_anchor.c',
45'test_entry_anchor2.c',
46'test_events.c',
47'test_evas_mask.c',
48'test_evas_map.c',
49'test_efl_gfx_mapping.c',
50'test_evas_snapshot.c',
51'test_external.c',
52'test_fileselector_button.c',
53'test_fileselector.c',
54'test_fileselector_entry.c',
55'test_flip.c',
56'test_flip_page.c',
57'test_flip_page_eo.c',
58'test_flipselector.c',
59'test_floating.c',
60'test_focus.c',
61'test_focus_custom_chain.c',
62'test_focus_policy.c',
63'test_focus_style.c',
64'test_gengrid.c',
65'test_genlist.c',
66'test_gesture_layer.c',
67'test_gesture_layer2.c',
68'test_gesture_layer3.c',
69'test_gfx_filters.c',
70'test_glview_simple.c',
71'test_glview.c',
72'test_glview_manygears.c',
73'test_grid.c',
74'test_ui_table_static.c',
75'test_ui_stack.c',
76'test_hover.c',
77'test_hoversel.c',
78'test_icon.c',
79'test_icon_desktops.c',
80'test_icon_animated.c',
81'test_image.c',
82'test_ui_image.c',
83'test_index.c',
84'test_inwin.c',
85'test_label.c',
86'test_launcher.c',
87'test_layout.c',
88'test_list.c',
89'test_main_menu.c',
90'test_menu.c',
91'test_multi.c',
92'test_multibuttonentry.c',
93'test_naviframe.c',
94'test_naviframe_complex.c',
95'test_notify.c',
96'test_panel.c',
97'test_panes.c',
98'test_ui_panes.c',
99'test_ui_panel.c',
100'test_ui_spotlight.c',
101'test_ui_radio.c',
102'test_part_bg.c',
103'test_part_shadow.c',
104'test_photo.c',
105'test_photocam.c',
106'test_popup.c',
107'test_prefs.c',
108'test_progressbar.c',
109'test_ui_progressbar.c',
110'test_radio.c',
111'test_scaling.c',
112'test_scroller.c',
113'test_ui_scroller.c',
114'test_segment_control.c',
115'test_separator.c',
116'test_slider.c',
117'test_ui_slider.c',
118'test_ui_slider_interval.c',
119'test_ui_spin.c',
120'test_ui_spin_button.c',
121'test_ui_datepicker.c',
122'test_ui_timepicker.c',
123'test_ui_tags.c',
124'test_slideshow.c',
125'test_spinner.c',
126'test_store.c',
127'test_sys_notify.c',
128'test_systray.c',
129'test_table.c',
130'test_thumb.c',
131'test_toolbar.c',
132'test_tooltip.c',
133'test_transit.c',
134'test_transit_bezier.c',
135'test_ui_box.c',
136'test_ui_box_stack.c',
137'test_ui_clock.c',
138'test_ui_table.c',
139'test_ui_popup.c',
140'test_ui_textpath.c',
141'test_canvas_textblock.c',
142'test_video.c',
143'test_weather.c',
144'test_web.c',
145'test_win_inline.c',
146'test_win_keygrab.c',
147'test_win_socket.c',
148'test_win_plug.c',
149'test_win_state.c',
150'test_win_wm_rotation.c',
151'test_win_dialog.c',
152'test_win_modal.c',
153'test_efl_ui_text.c',
154'test_win_stack.c',
155'test_win_indicator.c',
156'test_gesture_framework.c',
157'test_ui_tab_pager.c',
158'test_ui_relative_container.c',
159'test_ui_collection.c',
160'test_ui_collection_view.c',
161'test_ui_items.c',
162'test_ui_frame.c',
163'test_ui_separator.c',
164'test_efl_ui_vg_animation.c',
165'test_efl_gfx_vg_value_provider.c',
166'test.h'
167]
168
169link_args = []
170if sys_windows == false
171link_args += ['-rdynamic', '-fPIC']
172package_c_args = package_c_args + ['-fPIC']
173endif
174if sys_windows == false and sys_sun == false
175link_args += ['-pie']
176endif
177
178elementary_test = executable('elementary_test',
179elementary_test_src,
180dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
181install: true,
182c_args : package_c_args + [
183'-Delementary_test_BIN_DIR="'+dir_bin+'"',
184'-Delementary_test_LIB_DIR="'+dir_lib+'"',
185'-Delementary_test_DATA_DIR="'+join_paths(dir_data,'elementary')+'"'
186],
187link_args: link_args
188)
189
190elementary_config_src = [
191'config.c'
192]
193
194elementary_config = executable('elementary_config',
195elementary_config_src,
196dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
197install: true,
198c_args : package_c_args,
199link_args: link_args
200)
201
202if sys_windows == false
203elementary_quicklaunch_src = [
204'quicklaunch.c'
205]
206
207elementary_quicklaunch = executable('elementary_quicklaunch',
208elementary_quicklaunch_src,
209dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
210install: true,
211c_args : package_c_args,
212link_args: link_args
213)
214endif
215
216elementary_codegen_src = [
217'elementary_codegen.c'
218]
219
220elementary_codegen = executable('elementary_codegen',
221elementary_codegen_src,
222dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
223install: true,
224c_args : package_c_args,
225link_args: link_args
226)
227
228asan_option =[]
229if get_option('b_sanitize') == 'address'
230asan_option= 'ASAN_OPTIONS=detect_leaks=0'
231endif
232
233if meson.is_cross_build()
234elementary_codegen_exe = [find_program('elementary_codegen', native: true)]
235else
236elementary_codegen_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elementary_codegen.full_path()]
237endif
238
239elm_prefs_cc_src = [
240'elm_prefs_cc.h',
241'elm_prefs_cc.c',
242'elm_prefs_cc_mem.c',
243'elm_prefs_cc_out.c',
244'elm_prefs_cc_parse.c',
245'elm_prefs_cc_handlers.c'
246]
247
248elm_prefs_cc = executable('elm_prefs_cc',
249elm_prefs_cc_src,
250dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
251install: true,
252c_args : package_c_args,
253link_args: link_args
254)
255
256if meson.is_cross_build()
257_elm_prefs_cc = find_program('elm_prefs_cc', native: true)
258elm_prefs_cc_path = _elm_prefs_cc.path()
259elm_prefs_cc_exe = [_elm_prefs_cc]
260else
261elm_prefs_cc_exe = [env, asan_option, 'EFL_RUN_IN_TREE=1', elm_prefs_cc.full_path()]
262endif
263
264if sys_windows == false
265elementary_run_src = [
266'run.c'
267]
268
269elementary_run = executable('elementary_run',
270elementary_run_src,
271dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
272install: true,
273c_args : package_c_args,
274link_args: link_args
275)
276endif
277
278elementary_perf_src = [
279'perf.c',
280'perf_rnd.c',
281'perf_test_01.c',
282'perf_test_02.c',
283'perf_test_03.c',
284'perf_test_04.c',
285'perf_test_05.c',
286'perf_test_06.c'
287]
288
289elementary_perf = executable('elementary_perf',
290elementary_perf_src,
291dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
292install: true,
293c_args : package_c_args + [
294'-Delementary_test_BIN_DIR="'+dir_bin+'"',
295'-Delementary_test_LIB_DIR="'+dir_lib+'"',
296'-Delementary_test_DATA_DIR="'+join_paths(dir_data,'elementary')+'"'
297],
298link_args: link_args
299)
300
301