+++ /dev/null
-{
- 'variables': {
- 'data_dir%': '/usr/share/chromium-efl/',
- 'exe_dir%': '/usr/lib/chromium-efl/',
- 'edje_dir%': '/usr/share/chromium-efl/themes/',
- 'locale_dir%': '/usr/share/chromium-efl/locale/',
- 'edje_compiler%': 'edje_cc',
- 'chromium_efl_library_type%': 'static_library',
- },
- 'includes': [
- 'chromedriver_efl.gypi',
- ],
- 'target_defaults': {
- 'conditions': [
- ['custom_libc_dir!=""', {
- 'ldflags': [
- # We want to statically link libstdc++/libgcc_s.
- '-static-libstdc++',
- '-static-libgcc',
- '-Wl,-rpath,<(custom_libc_dir)',
- '-Wl,--dynamic-linker=<(custom_libc_dir)/ld-linux.so.3',
- ],
- }],
- ],
- 'defines': [
- 'DATA_DIR="<(data_dir)"',
- 'EXE_DIR="<(exe_dir)"',
- 'EDJE_DIR="<(edje_dir)"',
- ],
- },
- 'targets': [{
- 'target_name': 'chromium-efl',
- 'type': '<(chromium_efl_library_type)',
- 'includes': [
- # NOTE: gyp includes need to be relative
- '../src/skia/skia_common.gypi',
- ],
- 'include_dirs': [
- '.',
- '<(chrome_src_dir)',
- '<(chrome_src_dir)/third_party/WebKit', # [M34] without this, build errors occur due to #include path changes in M34. for example, see WebFrame.h.
- '<(chrome_src_dir)/third_party/skia/include/core',
- '<(chrome_src_dir)/third_party/mesa/src/include',
- '<(chrome_src_dir)/v8/include',
-
- '<(PRODUCT_DIR)/gen',
- '<(SHARED_INTERMEDIATE_DIR)',
- '<(SHARED_INTERMEDIATE_DIR)/ui/gl/',
- '<(SHARED_INTERMEDIATE_DIR)/webkit/',
- ],
- 'dependencies': [
- 'chromium-efl-deps.gyp:efl',
- 'chromium-efl-deps.gyp:gstreamer',
- 'theme/theme.gyp:tizen_theme',
- '../ewk/po_tizen/locale.gyp:locale_efl',
- '<(chrome_src_dir)/content/content.gyp:content',
- '<(chrome_src_dir)/content/content.gyp:content_app_browser',
- '<(chrome_src_dir)/content/content_shell_and_tests.gyp:content_shell_resources',
- '<(chrome_src_dir)/content/content_shell_and_tests.gyp:content_shell_pak',
- '<(chrome_src_dir)/components/components.gyp:visitedlink_browser',
- '<(chrome_src_dir)/components/components.gyp:visitedlink_renderer',
- '<(chrome_src_dir)/third_party/icu/icu.gyp:icuuc',
- '<(chrome_src_dir)/components/components.gyp:sessions_content',
- '<(chrome_src_dir)/components/components.gyp:autofill_content_renderer',
- '<(chrome_src_dir)/components/components.gyp:autofill_content_browser',
- '<(chrome_src_dir)/components/components.gyp:password_manager_core_common',
- '<(chrome_src_dir)/components/components.gyp:password_manager_core_browser',
- ],
- 'defines': [
- 'CHROMIUMCORE_IMPLEMENTATION=1',
- 'TIZEN_WEBVIEW_IMPLEMENTATION=1',
- 'LOCALE_DIR="<(locale_dir)"',
- ],
- 'sources': [
- # Extra cc files from chrome_src_dir
- '<(chrome_src_dir)/ui/events/gestures/gesture_recognizer_impl.h',
- '<(chrome_src_dir)/ui/events/gestures/gesture_recognizer_impl.cc',
- # We do not have gesture recognizer for EFL, try to reuse aura recognizer
- '<(chrome_src_dir)/ui/events/gestures/gesture_provider_aura.h',
- '<(chrome_src_dir)/ui/events/gestures/gesture_provider_aura.cc',
- '<(chrome_src_dir)/ui/events/gestures/motion_event_aura.h',
- '<(chrome_src_dir)/ui/events/gestures/motion_event_aura.cc',
- '<(chrome_src_dir)/ui/base/nine_image_painter_factory.h',
- '<(chrome_src_dir)/ui/base/nine_image_painter_factory.cc',
- '<(chrome_src_dir)/ui/base/cursor/cursor.h',
- '<(chrome_src_dir)/ui/base/cursor/cursor.cc',
- '<(chrome_src_dir)/ui/base/cursor/cursor_x11.cc',
- '<(chrome_src_dir)/ui/base/cursor/cursor_loader_x11.h',
- '<(chrome_src_dir)/ui/base/cursor/cursor_loader_x11.cc',
- '<(chrome_src_dir)/ui/base/cursor/cursors_aura.h',
- '<(chrome_src_dir)/ui/base/cursor/cursors_aura.cc',
- '<(chrome_src_dir)/ui/gfx/nine_image_painter.h',
- '<(chrome_src_dir)/ui/gfx/nine_image_painter.cc',
-
- # API
- 'API/ewk_auth_challenge_private.h',
- 'API/ewk_autofill_profile_private.h',
- 'API/ewk_autofill_profile_private.cc',
- 'API/ewk_certificate_private.h',
- 'API/ewk_console_message_private.h',
- 'API/ewk_context_menu_private.h',
- 'API/ewk_cookie_manager_private.h',
- 'API/ewk_error_private.h',
- 'API/ewk_geolocation_private.cc',
- 'API/ewk_geolocation_private.h',
- 'API/ewk_hit_test_private.cc',
- 'API/ewk_hit_test_private.h',
- 'API/ewk_policy_decision_private.cc',
- 'API/ewk_policy_decision_private.h',
- 'API/ewk_security_origin_private.h',
- 'API/ewk_settings_private.cc',
- 'API/ewk_settings_private.h',
- 'API/ewk_suspendable_object.cc',
- 'API/ewk_suspendable_object.h',
- 'API/ewk_text_style_private.h',
- 'API/ewk_tracing_private.cc',
- 'API/ewk_tracing_private.h',
- 'API/ewk_user_media_private.h',
- 'API/ewk_web_application_icon_data_private.h',
- 'API/ewk_web_application_icon_data_private.cc',
- 'API/ewk_window_features_private.h',
- 'API/ewk_context_form_autofill_profile_private.h',
- 'API/ewk_context_form_autofill_profile_private.cc',
- 'EdgeEffect.cpp',
- 'EdgeEffect.h',
- 'browser/autofill/autofill_manager_delegate_efl.cc',
- 'browser/autofill/autofill_manager_delegate_efl.h',
- 'browser/autofill/personal_data_manager_factory.cc',
- 'browser/autofill/personal_data_manager_factory.h',
- 'browser/autofill/autofill_pref_store_efl.cc',
- 'browser/autofill/autofill_pref_store_efl.h',
- 'browser/device_sensors/data_fetcher_shared_memory_tizen.cc',
- 'browser/disambiguation_popup_efl.cc',
- 'browser/disambiguation_popup_efl.h',
- 'browser/download_manager_delegate_efl.cc',
- 'browser/download_manager_delegate_efl.h',
- 'browser/favicon/favicon_commands.cc',
- 'browser/favicon/favicon_commands.h',
- 'browser/favicon/favicon_database.cc',
- 'browser/favicon/favicon_database.h',
- 'browser/favicon/favicon_database_p.cc',
- 'browser/favicon/favicon_database_p.h',
- 'browser/favicon/favicon_downloader.cc',
- 'browser/favicon/favicon_downloader.h',
- 'browser/favicon/favicon_service.cc',
- 'browser/favicon/favicon_service.h',
- 'browser/geolocation/access_token_store_efl.cc',
- 'browser/geolocation/access_token_store_efl.h',
- 'browser/geolocation/geolocation_permission_context_efl.cc',
- 'browser/geolocation/geolocation_permission_context_efl.h',
- 'browser/geolocation/location_provider_efl.cc',
- 'browser/geolocation/location_provider_efl.h',
- 'browser/inputpicker/InputPicker.cc',
- 'browser/inputpicker/InputPicker.h',
- 'browser/inputpicker/color_chooser_efl.cc',
- 'browser/inputpicker/color_chooser_efl.h',
- 'browser/javascript_dialog_manager_efl.cc',
- 'browser/javascript_dialog_manager_efl.h',
- 'browser/javascript_modal_dialog_efl.cc',
- 'browser/javascript_modal_dialog_efl.h',
- 'browser/login_delegate_efl.cc',
- 'browser/login_delegate_efl.h',
- 'browser/mime_override_manager_efl.cc',
- 'browser/mime_override_manager_efl.h',
- 'browser/navigation_policy_handler_efl.cc',
- 'browser/navigation_policy_handler_efl.h',
- 'browser/password_manager/password_manager_client_efl.cc',
- 'browser/password_manager/password_manager_client_efl.h',
- 'browser/password_manager/content_password_manager_driver.cc',
- 'browser/password_manager/content_password_manager_driver.h',
- 'browser/password_manager/password_form_manager.cc',
- 'browser/password_manager/password_form_manager.h',
- 'browser/password_manager/password_generation_manager.cc',
- 'browser/password_manager/password_generation_manager.h',
- 'browser/password_manager/password_manager.cc',
- 'browser/password_manager/password_manager.h',
- 'browser/password_manager/password_manager_client.cc',
- 'browser/password_manager/password_manager_client.h',
- 'browser/password_manager/password_manager_driver.h',
- 'browser/password_manager/password_manager_util.h',
- 'browser/password_manager/password_manager_util_efl.cc',
- 'browser/password_manager/password_store_factory.cc',
- 'browser/password_manager/password_store_factory.h',
- 'browser/policy_response_delegate_efl.cc',
- 'browser/policy_response_delegate_efl.h',
- 'browser/renderer_host/browsing_data_remover_efl.cc',
- 'browser/renderer_host/browsing_data_remover_efl.h',
- 'browser/renderer_host/im_context_efl.cc',
- 'browser/renderer_host/im_context_efl.h',
- 'browser/renderer_host/native_web_keyboard_event_efl.cc',
- 'browser/renderer_host/render_message_filter_efl.cc',
- 'browser/renderer_host/render_message_filter_efl.h',
- 'browser/renderer_host/render_widget_host_view_efl.cc',
- 'browser/renderer_host/render_widget_host_view_efl.h',
- 'browser/renderer_host/scroll_detector.cc',
- 'browser/renderer_host/scroll_detector.h',
- # The same files is present in src/content, do we need another copy if it?
- #'browser/renderer_host/touchpad_tap_suppression_controller_efl.cc',
- 'browser/renderer_host/web_cache_manager_efl.cc',
- 'browser/renderer_host/web_cache_manager_efl.h',
- 'browser/renderer_host/web_event_factory_efl.cc',
- 'browser/renderer_host/web_event_factory_efl.h',
- 'browser/resource_dispatcher_host_delegate_efl.h',
- 'browser/resource_dispatcher_host_delegate_efl.cc',
- 'browser/resource_throttle_efl.cc',
- 'browser/resource_throttle_efl.h',
- 'browser/scoped_wait_for_ewk.h',
- 'browser/selectpicker/WebPopupItem.cc',
- 'browser/selectpicker/WebPopupItem.h',
- 'browser/selectpicker/popup_menu_item.cc',
- 'browser/selectpicker/popup_menu_item.h',
- 'browser/selectpicker/popup_menu_item_private.h',
- 'browser/selectpicker/popup_picker.cc',
- 'browser/selectpicker/popup_picker.h',
- 'browser/sound_effect.h',
- 'browser/sound_effect.cc',
- 'browser/sound_effect_tizen.cc',
- 'browser/tracing/tracing_controller_efl.cc',
- 'browser/tracing/tracing_controller_efl.h',
- 'browser/vibration/vibration_message_filter.cc',
- 'browser/vibration/vibration_message_filter.h',
- 'browser/vibration/vibration_provider_client.cc',
- 'browser/vibration/vibration_provider_client.h',
- 'browser/web_contents/web_contents_impl_efl.cc',
- 'browser/web_contents/web_contents_impl_efl.h',
- 'browser/web_contents/web_contents_view_efl.cc',
- 'browser/web_contents/web_contents_view_efl.h',
- 'browser/web_contents/web_drag_dest_efl.cc',
- 'browser/web_contents/web_drag_dest_efl.h',
- 'browser/web_contents/web_drag_source_efl.cc',
- 'browser/web_contents/web_drag_source_efl.h',
- 'browser/web_view_browser_message_filter.h',
- 'browser/web_view_browser_message_filter.cc',
- 'browser/webdata/web_data_service.cc',
- 'browser/webdata/web_data_service.h',
- 'browser/webdata/web_data_service_factory.h',
- 'browser/webdata/web_data_service_factory.cc',
- 'browser_context_efl.cc',
- 'browser_context_efl.h',
- 'browser_main_parts_efl.cc',
- 'browser_main_parts_efl.h',
- 'cache_params_efl.h',
- 'command_line_efl.cc',
- 'command_line_efl.h',
-
- 'common/content_client_efl.cc',
- 'common/content_client_efl.h',
- 'common/content_switches_efl.cc',
- 'common/content_switches_efl.h',
- 'common/message_generator_efl.cc',
- 'common/message_generator_efl.h',
- 'common/render_messages_efl.h',
- 'common/version_info.cc',
- 'common/version_info.h',
- 'common/version_info_efl.h',
- 'common/web_contents_utils.cc',
- 'common/web_contents_utils.h',
- 'common/cursors/webcursor_efl.cc',
- 'common/cursors/webcursor_efl.h',
- 'components/clipboard/clipboard_efl.cc',
- 'components/clipboard/clipboard_efl.h',
- 'components/clipboard/clipboard_helper_efl.cc',
- 'components/clipboard/clipboard_helper_efl.h',
- 'components/editing/content/browser/editor_client_observer.cc',
- 'components/editing/content/browser/editor_client_observer.h',
- 'components/editing/content/common/editing_messages.h',
- 'components/editing/content/renderer/editorclient_agent.cc',
- 'components/editing/content/renderer/editorclient_agent.h',
- 'content_browser_client_efl.cc',
- 'content_browser_client_efl.h',
- 'autofill_popup_view_efl.h',
- 'autofill_popup_view_efl.cc',
- 'content_main_delegate_efl.cc',
- 'content_main_delegate_efl.h',
- 'context_menu_controller_efl.cc',
- 'context_menu_controller_efl.h',
- 'cookie_manager.cc',
- 'cookie_manager.h',
- 'device/battery/battery_status_manager_tizen.cc',
- 'device/battery/battery_status_manager_tizen.h',
- 'devtools_delegate_efl.cc',
- 'devtools_delegate_efl.h',
- 'devtools_manager_delegate_efl.cc',
- 'devtools_manager_delegate_efl.h',
- 'efl_webprocess_main.cc',
- 'efl_webprocess_main.h',
- 'eweb_context.cc',
- 'eweb_context.h',
- 'eweb_view.cc',
- 'eweb_view.h',
- 'eweb_view_callbacks.h',
- 'ewk_global_data.h',
- 'ewk_global_data.cc',
- 'file_chooser_controller_efl.cc',
- 'file_chooser_controller_efl.h',
- 'gfx/x11_event_source_efl.cc',
- 'gfx/x11_types_override.cc',
- 'gl/gl_context_egl_override.cc',
- 'gl/gl_current_context_efl.cc',
- 'gl/gl_shared_context_efl.cc',
- 'gl/gl_shared_context_efl.h',
- 'gpu/gpu_thread_override_efl.cc',
- 'gpu/gpu_thread_override_efl.h',
- 'http_user_agent_settings_efl.cc',
- 'http_user_agent_settings_efl.h',
- 'locale_efl.h',
- 'locale_efl.cc',
- 'memory_purger.cc',
- 'memory_purger.h',
- 'message_pump_for_ui_efl.cc',
- 'message_pump_for_ui_efl.h',
- 'navigation_policy_params.h',
- 'network_delegate_efl.cc',
- 'network_delegate_efl.h',
- 'paths_efl.cc',
- 'paths_efl.h',
- 'popup_controller_efl.cc',
- 'popup_controller_efl.h',
- 'renderer/content_renderer_client_efl.cc',
- 'renderer/content_renderer_client_efl.h',
- 'renderer/print_pages_params.cc',
- 'renderer/print_pages_params.h',
- 'renderer/print_web_view_helper_efl.cc',
- 'renderer/print_web_view_helper_efl.h',
- 'renderer/render_frame_observer_efl.cc',
- 'renderer/render_frame_observer_efl.h',
- 'renderer/render_process_observer_efl.cc',
- 'renderer/render_process_observer_efl.h',
- 'renderer/render_view_observer_efl.cc',
- 'renderer/render_view_observer_efl.h',
-
- 'resource/resource_bundle_efl.cc',
-
- 'resource/JavaScriptPopup.edc',
- 'resource/AutofillPopup.edc',
- 'resource/Edge.edc',
- 'resource/Magnifier.edc',
- 'resource/control.edc',
- 'resource/DisambiguationPopup.edc',
-
- 'ui/native_theme/native_theme_efl.h',
- 'ui/native_theme/native_theme_efl.cc',
- 'ui/snapshot/snapshot_efl.cc',
- 'ui/events/gesture_detection/gesture_configuration_efl.cc',
-
- 'screen_efl.cc',
- 'screen_efl.h',
- 'selection_box_efl.cc',
- 'selection_box_efl.h',
- 'selection_controller_efl.cc',
- 'selection_controller_efl.h',
- 'selection_handle_efl.cc',
- 'selection_handle_efl.h',
- 'selection_magnifier_efl.cc',
- 'selection_magnifier_efl.h',
- # tizen_webview
- #TODO: making separate gyp for tizen_webview
- 'tizen_webview/public/tw_back_forward_history.h',
- 'tizen_webview/public/tw_back_forward_history.cc',
- 'tizen_webview/public/tw_back_forward_list.h',
- 'tizen_webview/public/tw_back_forward_list_impl.h',
- 'tizen_webview/public/tw_back_forward_list_impl.cc',
- 'tizen_webview/public/tw_content_security_policy.h',
- 'tizen_webview/public/tw_context_menu_controller.h',
- 'tizen_webview/public/tw_context_menu_controller.cc',
- 'tizen_webview/public/tw_custom_handlers.h',
- 'tizen_webview/public/tw_custom_handlers.cc',
- 'tizen_webview/public/tw_frame.h',
- 'tizen_webview/public/tw_frame.cc',
- 'tizen_webview/public/tw_hit_test.h',
- 'tizen_webview/public/tw_hit_test.cc',
- 'tizen_webview/public/tw_policy_decision.h',
- 'tizen_webview/public/tw_policy_decision.cc',
- 'tizen_webview/public/tw_security_origin.cc',
- 'tizen_webview/public/tw_security_origin.h',
- 'tizen_webview/public/tw_selection_controller.h',
- 'tizen_webview/public/tw_selection_controller.cc',
- 'tizen_webview/public/tw_touch_point.h',
- 'tizen_webview/public/tw_touch_point.cc',
- 'tizen_webview/public/tw_web_context.h',
- 'tizen_webview/public/tw_web_context.cc',
- 'tizen_webview/public/tw_webview.cc',
- 'tizen_webview/public/tw_webview_delegate.h',
- 'tizen_webview/public/tw_webview_delegate.cc',
- 'tizen_webview/public/tw_webview_evas_event_handler.h',
- 'tizen_webview/public/tw_webview_evas_event_handler.cc',
- 'url_request_context_getter_efl.cc',
- 'url_request_context_getter_efl.h',
- 'web_contents_delegate_efl.cc',
- 'web_contents_delegate_efl.h',
- 'web_process_content_main_delegate_efl.cc',
- 'web_process_content_main_delegate_efl.h',
- 'wrt/dynamicplugin.cc',
- 'wrt/dynamicplugin.h',
- 'wrt/wrt_file_protocol_handler.cc',
- 'wrt/wrt_file_protocol_handler.h',
- 'wrt/wrt_url_parse.h',
- 'wrt/wrt_widget_host.cc',
- 'wrt/wrt_widget_host.h',
- 'wrt/wrtwidget.cc',
- 'wrt/wrtwidget.h',
-
- # Temporary fix for M40 build
- 'third_party/webrtc/system_wrappers/source/cpu_features_tizen.c',
- ],
- 'link_settings': {
- 'conditions': [
- ['_toolset=="target"', {
- 'libraries': [ '<!($(echo ${CXX_target:-g++}) -print-libgcc-file-name)', ]
- }],
- ],
- },
- 'rules': [{
- 'rule_name': 'edje_resources',
- 'message': 'Compiling edje files <(RULE_INPUT_NAME)',
- 'extension': 'edc',
- 'outputs': [
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- 'action': [
- '<(edje_compiler)',
- '-id', 'resource/images',
- '<(RULE_INPUT_PATH)',
- '<(PRODUCT_DIR)/resources/<(RULE_INPUT_ROOT).edj',
- ],
- }], # rules
- 'conditions': [
- ['tizen_multimedia_support==1', {
- 'includes': [
- 'chromium-efl-mm.gypi',
- ],
- }],
- ['building_for_tizen==1', {
- 'sources': [
- 'content/common/gpu/client/gpu_memory_buffer_impl_efl.cc',
- 'content/common/gpu/client/gpu_memory_buffer_impl_efl_pixmap.cc',
- 'content/common/gpu/client/gpu_memory_buffer_impl_efl_pixmap.h',
- 'content/common/gpu/gpu_memory_buffer_factory_efl.cc',
- 'content/common/gpu/gpu_memory_buffer_factory_efl_pixmap.cc',
- 'content/common/gpu/gpu_memory_buffer_factory_efl_pixmap.h',
- 'gpu/config/gpu_driver_bug_list_json_efl.cc',
- 'gpu/config/gpu_info_collector_efl.cc',
- 'gpu/config/software_rendering_list_json_efl.cc',
- 'ui/gl/gl_image_efl_pixmap.cc',
- 'ui/gl/gl_image_efl_pixmap.h',
- 'ui/gl/efl_pixmap.cc',
- 'ui/gl/efl_pixmap.h',
- ],
- 'dependencies': [ 'chromium-efl-deps.gyp:tizen' ],
- 'link_settings': {
- 'libraries': [
- '-ldrm',
- '-lEGL',
- '-lGLESv2',
- ],
- },
- }],
- ['building_for_tizen_mobile==1', {
- 'sources': [
- 'browser/speech/tts_message_filter_efl.cc',
- 'browser/speech/tts_message_filter_efl.h',
- 'browser/speech/tts_tizen.cc',
- 'browser/speech/tts_tizen.h',
- 'common/tts_messages_efl.h',
- 'common/tts_utterance_request_efl.cc',
- 'common/tts_utterance_request_efl.h',
- 'renderer/tts_dispatcher_efl.cc',
- 'renderer/tts_dispatcher_efl.h',
- 'browser/device_sensors/data_fetcher_impl_tizen.cc',
- 'browser/device_sensors/data_fetcher_impl_tizen.h',
- 'browser/motion/wkext_motion.cc',
- 'browser/motion/wkext_motion.h',
- 'browser/motion/MotionUI.cc',
- 'browser/motion/MotionUI.h',
- ],
- }],
- ['ewk_bringup==1', {
- 'defines': [ 'EWK_BRINGUP=1' ],
- }],
- ['enable_basic_printing==0 and enable_print_preview==0', {
- 'sources!': [
- 'renderer/print_pages_params.cc',
- 'renderer/print_pages_params.h',
- 'renderer/print_web_view_helper_efl.cc',
- 'renderer/print_web_view_helper_efl.h',
- ],
- }],
- ['notifications==1', {
- 'sources': [
- 'browser/notification/notification_controller_efl.cc',
- 'browser/notification/notification_controller_efl.h',
- ],
- }],
- ['use_allocator=="tcmalloc"', {
- 'dependencies': [
- '<(chrome_src_dir)/base/allocator/allocator.gyp:allocator',
- ],
- }],
- ],
- },
- {
- 'target_name': 'content_shell_efl',
- 'type': 'executable',
- 'dependencies': [
- 'chromium-efl-deps.gyp:efl',
- 'theme/theme.gyp:tizen_theme',
- '<(chrome_src_dir)/content/content_shell_and_tests.gyp:content_shell_lib',
- '<(chrome_src_dir)/content/content_shell_and_tests.gyp:content_shell_pak',
- '<(chrome_src_dir)/breakpad/breakpad.gyp:minidump_stackwalk',
- '<(chrome_src_dir)/breakpad/breakpad.gyp:dump_syms',
- '<(chrome_src_dir)/tools/imagediff/image_diff.gyp:image_diff',
- '<(chrome_src_dir)/sandbox/sandbox.gyp:sandbox',
- 'chromium-efl',
- ],
- 'sources': [
- 'shell/shell_efl.cc',
- 'shell/shell_main.cc',
- 'shell/shell_web_contents_view_delegate_efl.cc',
- 'shell/message_pump_efl.h',
- 'shell/message_pump_efl.cc',
- ],
- 'include_dirs': [
- '.',
- ],
- 'conditions': [
- ['prebuilt_ld_gold_dir!=""', {
- 'ldflags': [
- '-B<(prebuilt_ld_gold_dir)',
- ],
- } , { # prebuild_ld_gold_dir == ""
- 'ldflags': [
- # Building the RPM in the GBS chroot fails with errors such as
- # [ XXs] error: create archive failed on file /<path>/libchromium-efl.so: cpio: Bad magic
- # [ XXs] RPM build errors:
- # [ XXs] create archive failed on file /<path>/libchromium-efl.so: cpio: Bad magic
- # For now, work around it by passing a GNU ld-specific flag that optimizes the
- # linker for memory usage.
- # http://107.108.218.239/bugzilla/show_bug.cgi?id=6457
- '-Wl,--no-keep-memory',
- ],
- }],
- ['use_allocator=="tcmalloc"', {
- 'dependencies': [
- '<(chrome_src_dir)/base/allocator/allocator.gyp:allocator',
- ],
- }],
- ],
- },
- ],
-}
+++ /dev/null
-{
- 'variables': {
- 'ewk_bringup%': 1,
- '__GCC_VERSION%': '<!(gcc -dumpversion)',
- 'conditions': [
- ['building_for_tizen==1', {
- 'clang': 0,
- }],
- ['building_for_tizen_mobile==1', {
- 'gcc_4_6_x': 1,
- }, {
- 'gcc_4_6_x': 0,
- }],
- ],
- 'chromium_efl_tizen_version%': '2.4',
- 'custom_libc_dir%': '',
- 'prebuilt_ld_gold_dir%': '',
- 'grit_additional_defines': ['-D', 'use_efl',],
- },
- 'target_defaults': {
- 'defines': [
- 'COMPONENT_BUILD=1',
- 'SKIA_DLL=1',
- 'TIZEN_EDGE_EFFECT=1',
- 'BUILDING_V8_SHARED=1',
- 'V8_SHARED=1',
- 'USE_DL_PREFIX=1',
- 'TIZEN_AUTOFILL_SUPPORT=1',
- ],
- # use_aura is enabled but clipboard_efl.cc implements clipboard.
- 'sources/': [
- ['exclude', 'browser/renderer_host/native_web_keyboard_event_aura\\.cc$'],
- ['exclude', 'browser/renderer_host/render_widget_host_view_aura\\.cc$'],
- ['exclude', 'browser/web_contents/web_contents_view_aura\\.cc$'],
- ['exclude', 'clipboard/clipboard_aurax11\\.cc$'],
- ['exclude', 'gl_context_egl\\.cc$'],
- ['exclude', 'password_manager/core/browser/password_autofill_manager.(h|cc)$'],
- ['exclude', 'password_manager/core/browser/password_form_manager.(h|cc)$'],
- ['exclude', 'password_manager/core/browser/password_generation_manager.(h|cc)$'],
- ['exclude', 'password_manager/core/browser/password_manager.(h|cc)$'],
- ['exclude', 'password_manager/core/browser/password_manager_client.(h|cc)$'],
- ['exclude', 'password_manager/core/browser/password_manager_driver.h'],
- ['exclude', 'password_manager/core/browser/password_manager_internals_service.(h|cc)$'],
- ['exclude', 'x11_event_source_glib\\.cc$'],
- ['exclude', 'x11_event_source_libevent\\.cc$'],
- ['exclude', 'x11_types\\.cc$'],
- ],
- # FIXME(youngsoo): Needs to find out how Tizen v2.X works without this definition.
- # It needed due to various std header wrappers in impl.
- # Those headers are included directly from src code.
- 'include_dirs': [
- '<(chrome_src_dir)/../impl',
- ],
- 'target_conditions': [
- ['_target_name=="content_renderer" and use_efl==1', {
- 'sources': [
- '<(chrome_src_dir)/content/renderer/external_popup_menu.cc',
- '<(chrome_src_dir)/content/renderer/external_popup_menu.h',
- ],
- }],
- ['_target_name=="webcore_rendering"', {
- 'sources/': [
- # Have to exclude under target_conditions here because of multiple
- # includes/excludes in core.gyp
- ['exclude', 'rendering/RenderThemeChromiumDefault\\.cpp$'],
- ['exclude', 'rendering/RenderThemeChromiumLinux\\.cpp$'],
- ],
- }],
- ['_target_name=="gesture_detection"', {
- 'sources/': [
- ['exclude', 'gesture_detection/gesture_configuration_default\\.cc$'],
- ],
- }],
- ['_target_name=="boringssl" or _target_name=="crypto" or _target_name=="genperf" or _target_name=="yasm" or _target_name=="speech_proto" or _target_name=="skia_library" or _target_name=="http_server" or _target_name=="libjingle" or _target_name=="libjingle_webrtc_common" or _target_name=="content_renderer"', {
- 'defines!': [
- 'final=',
- ],
- }],
- ['_target_name=="usrsctplib"', {
- 'defines!': [
- 'override=',
- ],
- }],
- ['_target_name=="webrtc_base" or _target_name=="rtc_base" or _target_name=="v8_base"', {
- 'defines!': [
- 'final=',
- 'override=',
- ],
- }],
- ],
- 'conditions': [
- ['use_efl==1', {
- 'defines': [
- 'USE_EFL=1',
- ],
- }],
- ['gcc_4_6_x==1', {
- 'defines': [
- 'GCC_4_6_X=1',
- 'override=',
- 'final=',
- ],
- }],
- ['tizen_multimedia_support==1', {
- 'defines': [
- 'TIZEN_MULTIMEDIA_SUPPORT=1',
- ],
- 'sources/': [
- ['exclude', 'renderer/media/audio_decoder\\.(cc|h)$'],
- ],
- 'include_dirs': [
- '<(efl_impl_dir)',
- ],
- }],
- ['building_for_tizen==1', {
- 'defines': [
- 'OS_TIZEN=1',
- # For GCC 4.5.3 bundled arm.h has a bug and don't define __ARM_PCS when it should.
- # Force define this flag for the whole chromium on gbs gcc 4.5.3.
- # Non-arm builds will ingore it in any case.
- '__ARM_PCS',
- ],
- 'conditions': [
- ['chromium_efl_tizen_version=="2.4"', {
- 'defines': [
- 'TIZEN_V_2_4=1',
- ],
- }],
- ['chromium_efl_tizen_version=="2.3"', {
- 'defines': [
- 'TIZEN_V_2_3=1',
- ],
- }],
- ['chromium_efl_tizen_version=="2.2.1"', {
- 'defines': [
- 'TIZEN_LEGACY_V_2_2_1=1',
- ],
- }],
- ['chromium_efl_tizen_version=="3.0"', {
- 'defines': [
- 'TIZEN_V_3_0=1',
- ],
- }],
- ],
- 'sources/': [
- ['exclude', 'browser/device_sensors/data_fetcher_shared_memory_default.cc$'],
- ['exclude', 'browser/sound_effect.cc$'],
- ['exclude', 'battery_status_manager_linux\\.(h|cc)$'],
- ['exclude', 'config/gpu_driver_bug_list_json\\.cc$'],
- ['exclude', 'config/gpu_info_collector_linux\\.cc$'],
- ['exclude', 'config/software_rendering_list_json\\.cc$'],
- ],
- 'cflags_cc': [ '-std=gnu++0x', '-fpermissive' ],
- }, {
- 'sources/': [
- ['exclude', 'browser/device_sensors/data_fetcher_impl_tizen\\.(cc|h)$'],
- ['exclude', 'browser/device_sensors/data_fetcher_shared_memory_tizen\\.cc$'],
- ['exclude', 'browser/geolocation/location_provider_efl\\.(cc|h)$'],
- ['exclude', 'browser/motion/MotionUI\\.(h|cc)$'],
- ['exclude', 'browser/motion/wkext_motion\\.(h|cc)$'],
- ['exclude', 'browser/sound_effect_tizen.cc$'],
- ['exclude', 'device/battery/battery_status_manager_tizen\\.(h|cc)$'],
- ['exclude', 'third_party/webrtc/system_wrappers/source/cpu_features_tizen.c'],
- ],
- }],
- ['building_for_tizen_mobile==1', {
- 'defines': [
- 'OS_TIZEN_MOBILE=1',
- 'TIZEN_CONTENTS_DETECTION=1',
- 'TIZEN_ENABLE_CAPI_SUPPORT=1',
- ],
- 'conditions': [
- ['tizen_multimedia_support==1', {
- 'sources/': [
- ['exclude', 'video/capture/linux/video_capture_device_factory_linux.cc$'],
- ['exclude', 'video/capture/linux/video_capture_device_factory_linux.h$'],
- ['exclude', 'video/capture/linux/video_capture_device_linux.h$'],
- ['exclude', 'video/capture/linux/video_capture_device_linux.cc$'],
- ],
- }],
- ],
- }],
- ['building_for_tizen_tv==1', {
- 'defines': [
- 'OS_TIZEN_TV=1',
- ],
- 'conditions': [
- ['chromium_efl_tizen_version=="2.2.1"', {
- 'defines': [
- 'TIZEN_MULTIMEDIA_PIXMAP_SUPPORT=1',
- ],
- }],
- ],
- }],
- ['prebuilt_ld_gold_dir!=""', {
- 'ldflags': [
- '-B<(prebuilt_ld_gold_dir)',
- ],
- 'conditions': [
- ['gcc_version >= 49', {
- 'ldflags': [
- # In GCC 4.9, the linker (either bfd or gold) is called with the -plugin argument
- # which our current bundled gold linker (in build/prebuild) does not accept.
- # Since our gold a x64 64bit statically linked binary, even if we rebuild it
- # with plugin support enabled, the plugin being loaded would be a 32bit ARM binary.
- # and load would fail. So we disable linker's plugin loadeir (specifically
- # gcc's liblto_plugin).
- '-fno-use-linker-plugin',
- ],
- }],
- ],
- } , { # prebuild_ld_gold_dir == ""
- 'ldflags': [
- # Building the RPM in the GBS chroot fails with errors such as
- # [ XXs] error: create archive failed on file /<path>/libchromium-efl.so: cpio: Bad magic
- # [ XXs] RPM build errors:
- # [ XXs] create archive failed on file /<path>/libchromium-efl.so: cpio: Bad magic
- # For now, work around it by passing a GNU ld-specific flag that optimizes the
- # linker for memory usage.
- # http://107.108.218.239/bugzilla/show_bug.cgi?id=6457
- '-Wl,--no-keep-memory',
- ],
- }],
- ['host_arch=="arm"', {
- 'target_conditions': [
- ['_toolset=="host"', {
- 'cflags!': [ '-m32' ],
- 'ldflags!': [ '-m32' ],
- 'asflags!': [ '-32' ],
- }],
- ],
- }],
- ],
- },
-}