Removed SDL_Android (now at git://git.projects.genivi.org/smartdevicelink_android...
[profile/ivi/smartdevicelink.git] / src / components / application_manager / CMakeLists.txt
1 include_directories (
2   ./include/
3   ../utils/include/
4   ../formatters/include/
5   ../protocol_handler/include/
6   ../smart_objects/include/
7   ../hmi_message_handler/include
8   ../media_manager/include/
9   ../connection_handler/include/
10   ../config_profile/include/
11   ../request_watchdog/include/
12   ../transport_manager/include/
13   ../policies/include/
14   ../../thirdPartyLibs/jsoncpp/include/
15   ../../thirdPartyLibs/encryption/include/
16   ../../thirdPartyLibs/MessageBroker/include
17   ${CMAKE_BINARY_DIR}/src/components/
18 )
19
20 set (SOURCES
21 ./src/application_manager_impl.cc
22 ./src/message.cc
23 ./src/application_impl.cc
24 ./src/mobile_command_factory.cc
25 ./src/message_helper.cc
26 ./src/hmi_command_factory.cc
27 ./src/hmi_capabilities.cc
28 ./src/application_data_impl.cc
29 ./src/request_controller.cc
30 ./src/resume_ctrl.cpp
31 ./src/mobile_message_handler.cc
32 )
33
34 set (POLICIES_MANAGER
35 ./src/policies_manager/policies_manager.cc
36 )
37
38 set (EVENT_ENGINE
39 ./src/event_engine/event.cc
40 ./src/event_engine/event_dispatcher.cc
41 ./src/event_engine/event_observer.cc
42 )
43
44 set (MOBILE_COMMANDS_SOURCES
45 ./src/commands/command_impl.cc
46 ./src/commands/command_request_impl.cc
47 ./src/commands/command_response_impl.cc
48 ./src/commands/command_notification_impl.cc
49 ./src/commands/pending.cc
50 ./src/commands/mobile/add_command_request.cc
51 ./src/commands/mobile/add_command_response.cc
52 ./src/commands/mobile/add_sub_menu_request.cc
53 ./src/commands/mobile/add_sub_menu_response.cc
54 ./src/commands/mobile/alert_request.cc
55 ./src/commands/mobile/alert_response.cc
56 ./src/commands/mobile/alert_maneuver_request.cc
57 ./src/commands/mobile/alert_maneuver_response.cc
58 ./src/commands/mobile/change_registration_request.cc
59 ./src/commands/mobile/change_registration_response.cc
60 ./src/commands/mobile/create_interaction_choice_set_request.cc
61 ./src/commands/mobile/create_interaction_choice_set_response.cc
62 ./src/commands/mobile/delete_command_request.cc
63 ./src/commands/mobile/delete_command_response.cc
64 ./src/commands/mobile/delete_file_request.cc
65 ./src/commands/mobile/delete_file_response.cc
66 ./src/commands/mobile/delete_interaction_choice_set_request.cc
67 ./src/commands/mobile/delete_interaction_choice_set_response.cc
68 ./src/commands/mobile/delete_sub_menu_request.cc
69 ./src/commands/mobile/delete_sub_menu_response.cc
70 ./src/commands/mobile/dial_number_request.cc
71 ./src/commands/mobile/encoded_sync_pdata_request.cc
72 ./src/commands/mobile/encoded_sync_pdata_response.cc
73 ./src/commands/mobile/end_audio_pass_thru_request.cc
74 ./src/commands/mobile/end_audio_pass_thru_response.cc
75 ./src/commands/mobile/generic_response.cc
76 ./src/commands/mobile/get_dtcs_request.cc
77 ./src/commands/mobile/get_dtcs_response.cc
78 ./src/commands/mobile/diagnostic_message_request.cc
79 ./src/commands/mobile/diagnostic_message_response.cc
80 ./src/commands/mobile/get_vehicle_data_request.cc
81 ./src/commands/mobile/get_vehicle_data_response.cc
82 ./src/commands/mobile/list_files_request.cc
83 ./src/commands/mobile/list_files_response.cc
84 ./src/commands/mobile/on_app_interface_unregistered_notification.cc
85 ./src/commands/mobile/on_audio_pass_thru_notification.cc
86 ./src/commands/mobile/on_button_event_notification.cc
87 ./src/commands/mobile/on_button_press_notification.cc
88 ./src/commands/mobile/on_driver_distraction_notification.cc
89 ./src/commands/mobile/on_encoded_sync_pdata_notification.cc
90 ./src/commands/mobile/on_hmi_status_notification.cc
91 ./src/commands/mobile/on_language_change_notification.cc
92 ./src/commands/mobile/on_command_notification.cc
93 ./src/commands/mobile/on_permissions_change_notification.cc
94 ./src/commands/mobile/on_tbt_client_state_notification.cc
95 ./src/commands/mobile/on_vehicle_data_notification.cc
96 ./src/commands/mobile/perform_audio_pass_thru_request.cc
97 ./src/commands/mobile/perform_audio_pass_thru_response.cc
98 ./src/commands/mobile/perform_interaction_request.cc
99 ./src/commands/mobile/perform_interaction_response.cc
100 ./src/commands/mobile/put_file_request.cc
101 ./src/commands/mobile/put_file_response.cc
102 ./src/commands/mobile/read_did_request.cc
103 ./src/commands/mobile/read_did_response.cc
104 ./src/commands/mobile/register_app_interface_request.cc
105 ./src/commands/mobile/register_app_interface_response.cc
106 ./src/commands/mobile/reset_global_properties_request.cc
107 ./src/commands/mobile/reset_global_properties_response.cc
108 ./src/commands/mobile/scrollable_message_request.cc
109 ./src/commands/mobile/scrollable_message_response.cc
110 ./src/commands/mobile/set_display_layout_request.cc
111 ./src/commands/mobile/set_display_layout_response.cc
112 ./src/commands/mobile/set_global_properties_request.cc
113 ./src/commands/mobile/set_global_properties_response.cc
114 ./src/commands/mobile/set_icon_request.cc
115 ./src/commands/mobile/set_icon_response.cc
116 ./src/commands/mobile/set_media_clock_timer_request.cc
117 ./src/commands/mobile/set_media_clock_timer_response.cc
118 ./src/commands/mobile/show_constant_tbt_request.cc
119 ./src/commands/mobile/show_constant_tbt_response.cc
120 ./src/commands/mobile/show_request.cc
121 ./src/commands/mobile/show_response.cc
122 ./src/commands/mobile/slider_request.cc
123 ./src/commands/mobile/slider_response.cc
124 ./src/commands/mobile/speak_request.cc
125 ./src/commands/mobile/speak_response.cc
126 ./src/commands/mobile/subscribe_button_request.cc
127 ./src/commands/mobile/subscribe_button_response.cc
128 ./src/commands/mobile/subscribe_vehicle_data_request.cc
129 ./src/commands/mobile/subscribe_vehicle_data_response.cc
130 ./src/commands/mobile/unregister_app_interface_request.cc
131 ./src/commands/mobile/unregister_app_interface_response.cc
132 ./src/commands/mobile/unsubscribe_button_request.cc
133 ./src/commands/mobile/unsubscribe_button_response.cc
134 ./src/commands/mobile/unsubscribe_vehicle_data_request.cc
135 ./src/commands/mobile/unsubscribe_vehicle_data_response.cc
136 ./src/commands/mobile/update_turn_list_request.cc
137 ./src/commands/mobile/update_turn_list_response.cc
138 ./src/commands/mobile/sync_pdata_request.cc
139 ./src/commands/mobile/sync_pdata_response.cc
140 ./src/commands/mobile/system_request.cc
141 ./src/commands/mobile/system_response.cc
142 ./src/commands/mobile/on_sync_pdata_notification.cc
143 ./src/commands/mobile/on_keyboard_input_notification.cc
144 ./src/commands/mobile/on_touch_event_notification.cc
145 ./src/commands/mobile/on_system_request_notification.cc
146 ./src/commands/mobile/on_hash_change_notification.cc
147 )
148
149 set (HMI_COMMANDS_SOURCES
150 ./src/commands/hmi/request_to_hmi.cc
151 ./src/commands/hmi/response_from_hmi.cc
152 ./src/commands/hmi/notification_to_hmi.cc
153 ./src/commands/hmi/notification_from_hmi.cc
154 ./src/commands/hmi/allow_all_apps_request.cc
155 ./src/commands/hmi/allow_all_apps_response.cc
156 ./src/commands/hmi/allow_app_request.cc
157 ./src/commands/hmi/allow_app_response.cc
158 ./src/commands/hmi/activate_app_request.cc
159 ./src/commands/hmi/activate_app_response.cc
160 ./src/commands/hmi/mixing_audio_supported_request.cc
161 ./src/commands/hmi/mixing_audio_supported_response.cc
162 ./src/commands/hmi/update_app_list_request.cc
163 ./src/commands/hmi/update_app_list_response.cc
164 ./src/commands/hmi/on_update_device_list.cc
165 ./src/commands/hmi/update_device_list_request.cc
166 ./src/commands/hmi/update_device_list_response.cc
167 ./src/commands/hmi/on_exit_all_applications_notification.cc
168 ./src/commands/hmi/on_exit_application_notification.cc
169 ./src/commands/hmi/on_start_device_discovery.cc
170 ./src/commands/hmi/close_popup_request.cc
171 ./src/commands/hmi/close_popup_response.cc
172 ./src/commands/hmi/on_app_activated_notification.cc
173 ./src/commands/hmi/button_get_capabilities_request.cc
174 ./src/commands/hmi/button_get_capabilities_response.cc
175 ./src/commands/hmi/vr_is_ready_request.cc
176 ./src/commands/hmi/vr_is_ready_response.cc
177 ./src/commands/hmi/vr_add_command_request.cc
178 ./src/commands/hmi/vr_add_command_response.cc
179 ./src/commands/hmi/vr_delete_command_request.cc
180 ./src/commands/hmi/vr_delete_command_response.cc
181 ./src/commands/hmi/vr_change_registration_request.cc
182 ./src/commands/hmi/vr_change_registration_response.cc
183 ./src/commands/hmi/vr_get_supported_languages_request.cc
184 ./src/commands/hmi/vr_get_supported_languages_response.cc
185 ./src/commands/hmi/vr_get_language_request.cc
186 ./src/commands/hmi/vr_get_language_response.cc
187 ./src/commands/hmi/vr_get_capabilities_request.cc
188 ./src/commands/hmi/vr_get_capabilities_response.cc
189 ./src/commands/hmi/tts_is_ready_request.cc
190 ./src/commands/hmi/tts_is_ready_response.cc
191 ./src/commands/hmi/tts_change_registration_request.cc
192 ./src/commands/hmi/tts_change_registration_response.cc
193 ./src/commands/hmi/tts_get_language_request.cc
194 ./src/commands/hmi/tts_get_language_response.cc
195 ./src/commands/hmi/tts_get_supported_languages_request.cc
196 ./src/commands/hmi/tts_get_supported_languages_response.cc
197 ./src/commands/hmi/tts_stop_speaking_request.cc
198 ./src/commands/hmi/tts_stop_speaking_response.cc
199 ./src/commands/hmi/tts_speak_request.cc
200 ./src/commands/hmi/tts_speak_response.cc
201 ./src/commands/hmi/tts_set_global_properties_request.cc
202 ./src/commands/hmi/tts_set_global_properties_response.cc
203 ./src/commands/hmi/tts_get_capabilities_request.cc
204 ./src/commands/hmi/tts_get_capabilities_response.cc
205 ./src/commands/hmi/tts_perform_interaction_request.cc
206 ./src/commands/hmi/tts_perform_interaction_response.cc
207 ./src/commands/hmi/ui_add_command_request.cc
208 ./src/commands/hmi/ui_add_command_response.cc
209 ./src/commands/hmi/ui_delete_command_request.cc
210 ./src/commands/hmi/ui_delete_command_response.cc
211 ./src/commands/hmi/ui_add_submenu_request.cc
212 ./src/commands/hmi/ui_add_submenu_response.cc
213 ./src/commands/hmi/ui_delete_submenu_request.cc
214 ./src/commands/hmi/ui_delete_submenu_response.cc
215 ./src/commands/hmi/ui_get_supported_languages_request.cc
216 ./src/commands/hmi/ui_get_supported_languages_response.cc
217 ./src/commands/hmi/ui_get_language_request.cc
218 ./src/commands/hmi/ui_get_language_response.cc
219 ./src/commands/hmi/ui_get_capabilities_request.cc
220 ./src/commands/hmi/ui_get_capabilities_response.cc
221 ./src/commands/hmi/ui_change_registration_request.cc
222 ./src/commands/hmi/ui_change_registration_response.cc
223 ./src/commands/hmi/ui_show_request.cc
224 ./src/commands/hmi/ui_show_response.cc
225 ./src/commands/hmi/ui_alert_request.cc
226 ./src/commands/hmi/ui_alert_response.cc
227 ./src/commands/hmi/ui_slider_request.cc
228 ./src/commands/hmi/ui_scrollable_message_request.cc
229 ./src/commands/hmi/ui_scrollable_message_response.cc
230 ./src/commands/hmi/ui_set_global_properties_request.cc
231 ./src/commands/hmi/ui_set_global_properties_response.cc
232 ./src/commands/hmi/ui_slider_response.cc
233 ./src/commands/hmi/ui_is_ready_request.cc
234 ./src/commands/hmi/ui_is_ready_response.cc
235 ./src/commands/hmi/ui_perform_audio_pass_thru_request.cc
236 ./src/commands/hmi/ui_perform_audio_pass_thru_response.cc
237 ./src/commands/hmi/ui_end_audio_pass_thru_request.cc
238 ./src/commands/hmi/ui_end_audio_pass_thru_response.cc
239 ./src/commands/hmi/ui_perform_interaction_request.cc
240 ./src/commands/hmi/ui_perform_interaction_response.cc
241 ./src/commands/hmi/ui_set_icon_request.cc
242 ./src/commands/hmi/ui_set_icon_response.cc
243 ./src/commands/hmi/ui_set_media_clock_timer_request.cc
244 ./src/commands/hmi/ui_set_media_clock_timer_response.cc
245 ./src/commands/hmi/ui_show_request.cc
246 ./src/commands/hmi/ui_show_response.cc
247 ./src/commands/hmi/vi_is_ready_request.cc
248 ./src/commands/hmi/vi_is_ready_response.cc
249 ./src/commands/hmi/vi_read_did_request.cc
250 ./src/commands/hmi/vi_read_did_response.cc
251 ./src/commands/hmi/vi_get_dtcs_request.cc
252 ./src/commands/hmi/vi_get_dtcs_response.cc
253 ./src/commands/hmi/vi_diagnostic_message_request.cc
254 ./src/commands/hmi/vi_diagnostic_message_response.cc
255 ./src/commands/hmi/vi_get_vehicle_type_request.cc
256 ./src/commands/hmi/vi_get_vehicle_type_response.cc
257 ./src/commands/hmi/navi_is_ready_request.cc
258 ./src/commands/hmi/navi_is_ready_response.cc
259 ./src/commands/hmi/navi_alert_maneuver_request.cc
260 ./src/commands/hmi/navi_alert_maneuver_response.cc
261 ./src/commands/hmi/navi_update_turn_list_request.cc
262 ./src/commands/hmi/navi_update_turn_list_response.cc
263 ./src/commands/hmi/navi_show_constant_tbt_request.cc
264 ./src/commands/hmi/navi_show_constant_tbt_response.cc
265 ./src/commands/hmi/on_ready_notification.cc
266 ./src/commands/hmi/on_system_context_notification.cc
267 ./src/commands/hmi/on_device_chosen_notification.cc
268 ./src/commands/hmi/on_update_device_list.cc
269 ./src/commands/hmi/on_app_registered_notification.cc
270 ./src/commands/hmi/on_app_unregistered_notification.cc
271 ./src/commands/hmi/on_driver_distraction_notification.cc
272 ./src/commands/hmi/on_play_tone_notification.cc
273 ./src/commands/hmi/on_tts_started_notification.cc
274 ./src/commands/hmi/on_tts_stopped_notification.cc
275 ./src/commands/hmi/on_vr_started_notification.cc
276 ./src/commands/hmi/on_vr_stopped_notification.cc
277 ./src/commands/hmi/on_vr_command_notification.cc
278 ./src/commands/hmi/on_ui_command_notification.cc
279 ./src/commands/hmi/on_navi_tbt_client_state_notification.cc
280 ./src/commands/hmi/on_app_deactivated_notification.cc
281 ./src/commands/hmi/on_tts_language_change_notification.cc
282 ./src/commands/hmi/on_vr_language_change_notification.cc
283 ./src/commands/hmi/on_ui_language_change_notification.cc
284 ./src/commands/hmi/on_button_event_notification.cc
285 ./src/commands/hmi/on_button_press_notification.cc
286 ./src/commands/hmi/on_show_notification.cc
287 ./src/commands/hmi/on_find_applications.cc
288 ./src/commands/hmi/on_ui_keyboard_input_notification.cc
289 ./src/commands/hmi/on_ui_touch_event_notification.cc
290 ./src/commands/hmi/on_ui_reset_timeout_notification.cc
291 ./src/commands/hmi/navi_start_stream_request.cc
292 ./src/commands/hmi/navi_start_stream_response.cc
293 ./src/commands/hmi/navi_stop_stream_request.cc
294 ./src/commands/hmi/navi_stop_stream_response.cc
295 ./src/commands/hmi/audio_start_stream_request.cc
296 ./src/commands/hmi/audio_start_stream_response.cc
297 ./src/commands/hmi/audio_stop_stream_request.cc
298 ./src/commands/hmi/audio_stop_stream_response.cc
299 ./src/commands/hmi/on_system_request_notification.cc
300 ./src/commands/hmi/ui_set_display_layout_request.cc
301 ./src/commands/hmi/ui_set_display_layout_response.cc
302 ./src/commands/hmi/on_sdl_close_notification.cc
303 )
304
305 set (HMI_COMMANDS_SOURCES_WEBHMI
306 ./src/commands/hmi/vi_get_vehicle_data_request.cc
307 ./src/commands/hmi/vi_get_vehicle_data_response.cc
308 ./src/commands/hmi/vi_subscribe_vehicle_data_request.cc
309 ./src/commands/hmi/vi_subscribe_vehicle_data_response.cc
310 ./src/commands/hmi/vi_unsubscribe_vehicle_data_request.cc
311 ./src/commands/hmi/vi_unsubscribe_vehicle_data_response.cc
312 ./src/commands/hmi/on_vi_vehicle_data_notification.cc
313 )
314
315 set (HMI_COMMANDS_SOURCES_QTHMI
316 ./src/commands/hmi/on_vi_gps_data_notification.cc
317 ./src/commands/hmi/on_vi_speed_notification.cc
318 ./src/commands/hmi/on_vi_rpm_notification.cc
319 ./src/commands/hmi/on_vi_fuel_level_notification.cc
320 ./src/commands/hmi/on_vi_fuel_level_state_notification.cc
321 ./src/commands/hmi/on_vi_instant_fuel_consumption_notification.cc
322 ./src/commands/hmi/on_vi_external_temperature_notification.cc
323 ./src/commands/hmi/on_vi_vin_notification.cc
324 ./src/commands/hmi/on_vi_prndl_notification.cc
325 ./src/commands/hmi/on_vi_tire_pressure_notification.cc
326 ./src/commands/hmi/on_vi_odometer_notification.cc
327 ./src/commands/hmi/on_vi_belt_status_notification.cc
328 ./src/commands/hmi/on_vi_body_information_notification.cc
329 ./src/commands/hmi/on_vi_device_status_notification.cc
330 ./src/commands/hmi/on_vi_driver_braking_notification.cc
331 ./src/commands/hmi/on_vi_wiper_status_notification.cc
332 ./src/commands/hmi/on_vi_head_lamp_status_notification.cc
333 ./src/commands/hmi/on_vi_engine_torque_notification.cc
334 ./src/commands/hmi/on_vi_acc_pedal_position_notification.cc
335 ./src/commands/hmi/on_vi_steering_wheel_angle_notification.cc
336 ./src/commands/hmi/on_vi_my_key_notification.cc
337 )
338
339 if (${WEB_HMI})
340     set (HMI_COMMANDS_SOURCES ${HMI_COMMANDS_SOURCES} ${HMI_COMMANDS_SOURCES_WEBHMI})
341 endif (${WEB_HMI})
342 if (${QT_HMI})
343     set (HMI_COMMANDS_SOURCES ${HMI_COMMANDS_SOURCES} ${HMI_COMMANDS_SOURCES_QTHMI})
344 endif (${QT_HMI})
345
346 add_library("ApplicationManager" ${SOURCES} ${MOBILE_COMMANDS_SOURCES} ${HMI_COMMANDS_SOURCES} ${POLICIES_MANAGER} ${EVENT_ENGINE})
347 target_link_libraries ("ApplicationManager" log4cxx)