pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add extremely broken chromium-new
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Wed Feb 24 04:06:20 2016 +0200
Changeset: 42c9fbe9a76b84afbf0eea68a5e3c2fa6febc30c
Added Files:
chromium-new/DESCR
chromium-new/Makefile
chromium-new/PLIST
chromium-new/distinfo
chromium-new/options.mk
chromium-new/patches/patch-apps_apps_gypi
chromium-new/patches/patch-apps_ui_views_app_window_frame_view_cc
chromium-new/patches/patch-ash_display_mirror_window_controller_cc
chromium-new/patches/patch-base_atomicops_h
chromium-new/patches/patch-base_base_gypi
chromium-new/patches/patch-base_debug_debugger_posix_cc
chromium-new/patches/patch-base_debug_stack_trace_h
chromium-new/patches/patch-base_debug_stack_trace_posix_cc
chromium-new/patches/patch-base_message_loop_message_loop_cc
chromium-new/patches/patch-base_posix_unix_domain_socket_linux_cc
chromium-new/patches/patch-base_process_launch_h
chromium-new/patches/patch-base_process_memory_cc
chromium-new/patches/patch-base_process_process_handle_openbsd_cc
chromium-new/patches/patch-base_process_process_iterator_openbsd_cc
chromium-new/patches/patch-base_process_process_metrics_h
chromium-new/patches/patch-base_process_process_metrics_openbsd_cc
chromium-new/patches/patch-base_process_process_posix_cc
chromium-new/patches/patch-base_strings_safe_sprintf_cc
chromium-new/patches/patch-base_sys_info_openbsd_cc
chromium-new/patches/patch-base_sys_info_posix_cc
chromium-new/patches/patch-base_threading_platform_thread_linux_cc
chromium-new/patches/patch-base_trace_event_process_memory_dump_h
chromium-new/patches/patch-build_all_gyp
chromium-new/patches/patch-build_common_gypi
chromium-new/patches/patch-build_filename_rules_gypi
chromium-new/patches/patch-chrome_app_chrome_main_delegate_cc
chromium-new/patches/patch-chrome_app_chrome_main_delegate_h
chromium-new/patches/patch-chrome_app_chromium_strings_grd
chromium-new/patches/patch-chrome_app_google_chrome_strings_grd
chromium-new/patches/patch-chrome_app_resources_locale_settings_grd
chromium-new/patches/patch-chrome_app_theme_theme_resources_grd
chromium-new/patches/patch-chrome_browser_about_flags_cc
chromium-new/patches/patch-chrome_browser_after_startup_task_utils_cc
chromium-new/patches/patch-chrome_browser_browser_resources_grd
chromium-new/patches/patch-chrome_browser_chrome_browser_main_cc
chromium-new/patches/patch-chrome_browser_chrome_browser_main_linux_cc
chromium-new/patches/patch-chrome_browser_chrome_browser_main_posix_cc
chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_cc
chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_h
chromium-new/patches/patch-chrome_browser_custom_handlers_protocol_handler_registry_cc
chromium-new/patches/patch-chrome_browser_defaults_cc
chromium-new/patches/patch-chrome_browser_download_chrome_download_manager_delegate_cc
chromium-new/patches/patch-chrome_browser_download_download_commands_cc
chromium-new/patches/patch-chrome_browser_download_download_commands_h
chromium-new/patches/patch-chrome_browser_download_download_prefs_cc
chromium-new/patches/patch-chrome_browser_download_download_prefs_h
chromium-new/patches/patch-chrome_browser_download_download_shelf_context_menu_cc
chromium-new/patches/patch-chrome_browser_download_download_status_updater_cc
chromium-new/patches/patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc
chromium-new/patches/patch-chrome_browser_extensions_api_messaging_message_service_cc
chromium-new/patches/patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc
chromium-new/patches/patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc
chromium-new/patches/patch-chrome_browser_extensions_bookmark_app_helper_cc
chromium-new/patches/patch-chrome_browser_first_run_first_run_internal_posix_cc
chromium-new/patches/patch-chrome_browser_gpu_gl_string_manager_cc
chromium-new/patches/patch-chrome_browser_gpu_gpu_feature_checker_cc
chromium-new/patches/patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc
chromium-new/patches/patch-chrome_browser_media_galleries_media_file_system_registry_cc
chromium-new/patches/patch-chrome_browser_media_galleries_media_folder_finder_cc
chromium-new/patches/patch-chrome_browser_memory_details_cc
chromium-new/patches/patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc
chromium-new/patches/patch-chrome_browser_net_async_dns_field_trial_cc
chromium-new/patches/patch-chrome_browser_notifications_message_center_notification_manager_cc
chromium-new/patches/patch-chrome_browser_platform_util_linux_cc
chromium-new/patches/patch-chrome_browser_process_singleton_posix_cc
chromium-new/patches/patch-chrome_browser_renderer_preferences_util_cc
chromium-new/patches/patch-chrome_browser_resources_plugin_metadata_plugins_linux_json
chromium-new/patches/patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc
chromium-new/patches/patch-chrome_browser_speech_tts_controller_impl_cc
chromium-new/patches/patch-chrome_browser_ssl_bad_clock_blocking_page_cc
chromium-new/patches/patch-chrome_browser_sync_profile_sync_components_factory_impl_cc
chromium-new/patches/patch-chrome_browser_task_manager_task_manager_cc
chromium-new/patches/patch-chrome_browser_tracing_crash_service_uploader_cc
chromium-new/patches/patch-chrome_browser_ui_app_list_app_list_service_cc
chromium-new/patches/patch-chrome_browser_ui_ash_system_tray_delegate_common_cc
chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc
chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h
chromium-new/patches/patch-chrome_browser_ui_browser_command_controller_cc
chromium-new/patches/patch-chrome_browser_ui_browser_view_prefs_cc
chromium-new/patches/patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc
chromium-new/patches/patch-chrome_browser_ui_panels_panel_manager_cc
chromium-new/patches/patch-chrome_browser_ui_startup_bad_flags_prompt_cc
chromium-new/patches/patch-chrome_browser_ui_startup_startup_browser_creator_cc
chromium-new/patches/patch-chrome_browser_ui_toolbar_app_menu_model_cc
chromium-new/patches/patch-chrome_browser_ui_views_accelerator_table_cc
chromium-new/patches/patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc
chromium-new/patches/patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc
chromium-new/patches/patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc
chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_cc
chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_h
chromium-new/patches/patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc
chromium-new/patches/patch-chrome_browser_ui_views_first_run_dialog_cc
chromium-new/patches/patch-chrome_browser_ui_views_frame_browser_frame_cc
chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc
chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc
chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc
chromium-new/patches/patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc
chromium-new/patches/patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc
chromium-new/patches/patch-chrome_browser_ui_views_panels_panel_frame_view_cc
chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc
chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_strip_cc
chromium-new/patches/patch-chrome_browser_ui_views_task_manager_view_cc
chromium-new/patches/patch-chrome_browser_ui_webui_about_ui_cc
chromium-new/patches/patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc
chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_cc
chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_h
chromium-new/patches/patch-chrome_browser_web_applications_web_app_cc
chromium-new/patches/patch-chrome_browser_web_applications_web_app_h
chromium-new/patches/patch-chrome_chrome_browser_extensions_gypi
chromium-new/patches/patch-chrome_chrome_browser_gypi
chromium-new/patches/patch-chrome_chrome_browser_ui_gypi
chromium-new/patches/patch-chrome_chrome_common_gypi
chromium-new/patches/patch-chrome_chrome_exe_gypi
chromium-new/patches/patch-chrome_chrome_utility_gypi
chromium-new/patches/patch-chrome_common_chrome_paths_cc
chromium-new/patches/patch-chrome_common_chrome_paths_h
chromium-new/patches/patch-chrome_common_chrome_paths_internal_h
chromium-new/patches/patch-chrome_common_chrome_switches_cc
chromium-new/patches/patch-chrome_common_chrome_switches_h
chromium-new/patches/patch-chrome_common_extensions_api_schemas_gypi
chromium-new/patches/patch-chrome_common_extensions_command_cc
chromium-new/patches/patch-chrome_common_pref_names_cc
chromium-new/patches/patch-chrome_common_pref_names_h
chromium-new/patches/patch-chrome_common_url_constants_cc
chromium-new/patches/patch-chrome_common_url_constants_h
chromium-new/patches/patch-chrome_common_variations_fieldtrial_testing_config_gyp
chromium-new/patches/patch-chrome_policy_templates_gypi
chromium-new/patches/patch-chrome_renderer_resources_neterror_js
chromium-new/patches/patch-chrome_utility_media_galleries_image_metadata_extractor_cc
chromium-new/patches/patch-chromecast_browser_cast_browser_main_parts_cc
chromium-new/patches/patch-components_audio_modem_modem_impl_cc
chromium-new/patches/patch-components_cookie_config_cookie_store_util_cc
chromium-new/patches/patch-components_html_viewer_blink_settings_impl_cc
chromium-new/patches/patch-components_metrics_drive_metrics_provider_linux_cc
chromium-new/patches/patch-components_metrics_gypi
chromium-new/patches/patch-components_omnibox_browser_omnibox_field_trial_cc
chromium-new/patches/patch-components_policy_resources_policy_templates_json
chromium-new/patches/patch-components_policy_tools_generate_policy_source_py
chromium-new/patches/patch-components_printing_renderer_print_web_view_helper_h
chromium-new/patches/patch-components_storage_monitor_gypi
chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_cc
chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_h
chromium-new/patches/patch-content_app_content_main_runner_cc
chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_h
chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_manager_h
chromium-new/patches/patch-content_browser_browser_main_loop_cc
chromium-new/patches/patch-content_browser_child_process_launcher_cc
chromium-new/patches/patch-content_browser_devtools_protocol_color_picker_cc
chromium-new/patches/patch-content_browser_download_base_file_cc
chromium-new/patches/patch-content_browser_download_base_file_linux_cc
chromium-new/patches/patch-content_browser_gamepad_gamepad_provider_cc
chromium-new/patches/patch-content_browser_geolocation_location_arbitrator_impl_cc
chromium-new/patches/patch-content_browser_gpu_gpu_data_manager_impl_private_cc
chromium-new/patches/patch-content_browser_gpu_gpu_internals_ui_cc
chromium-new/patches/patch-content_browser_power_usage_monitor_impl_cc
chromium-new/patches/patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h
chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_impl_cc
chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_view_aura_cc
chromium-new/patches/patch-content_browser_time_zone_monitor_cc
chromium-new/patches/patch-content_common_gpu_gpu_memory_manager_h
chromium-new/patches/patch-content_common_sandbox_init_openbsd_cc
chromium-new/patches/patch-content_common_sandbox_init_openbsd_h
chromium-new/patches/patch-content_common_set_process_title_linux_cc
chromium-new/patches/patch-content_common_set_process_title_linux_h
chromium-new/patches/patch-content_content_browser_gypi
chromium-new/patches/patch-content_content_common_gypi
chromium-new/patches/patch-content_content_renderer_gypi
chromium-new/patches/patch-content_gpu_gpu_main_cc
chromium-new/patches/patch-content_ppapi_plugin_ppapi_plugin_main_cc
chromium-new/patches/patch-content_public_common_content_switches_cc
chromium-new/patches/patch-content_public_common_content_switches_h
chromium-new/patches/patch-content_renderer_devtools_v8_sampling_profiler_cc
chromium-new/patches/patch-content_renderer_render_thread_impl_cc
chromium-new/patches/patch-content_renderer_renderer_main_cc
chromium-new/patches/patch-content_renderer_renderer_main_platform_delegate_linux_cc
chromium-new/patches/patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc
chromium-new/patches/patch-content_utility_utility_main_cc
chromium-new/patches/patch-dbus_property_cc
chromium-new/patches/patch-device_battery_battery_gyp
chromium-new/patches/patch-device_hid_hid_gyp
chromium-new/patches/patch-device_serial_serial_gyp
chromium-new/patches/patch-device_serial_serial_io_handler_posix_cc
chromium-new/patches/patch-device_serial_serial_service_impl_cc
chromium-new/patches/patch-extensions_browser_api_serial_serial_api_cc
chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_cc
chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_h
chromium-new/patches/patch-gpu_config_gpu_info_collector_x11_cc
chromium-new/patches/patch-gpu_gles2_conform_support_gles2_conform_support_gyp
chromium-new/patches/patch-gpu_gpu_config_gypi
chromium-new/patches/patch-gpu_tools_tools_gyp
chromium-new/patches/patch-media_audio_audio_input_controller_cc
chromium-new/patches/patch-media_audio_audio_manager_cc
chromium-new/patches/patch-media_audio_audio_manager_h
chromium-new/patches/patch-media_capture_video_fake_video_capture_device_factory_cc
chromium-new/patches/patch-media_capture_video_file_video_capture_device_factory_cc
chromium-new/patches/patch-media_capture_video_video_capture_device_cc
chromium-new/patches/patch-media_capture_video_video_capture_device_factory_cc
chromium-new/patches/patch-media_capture_video_video_capture_device_h
chromium-new/patches/patch-media_media_gyp
chromium-new/patches/patch-native_client_build_compiler_version_py
chromium-new/patches/patch-net_base_address_tracker_linux_h
chromium-new/patches/patch-net_base_net_util_cc
chromium-new/patches/patch-net_base_network_change_notifier_cc
chromium-new/patches/patch-net_base_network_interfaces_posix_cc
chromium-new/patches/patch-net_disk_cache_blockfile_disk_format_h
chromium-new/patches/patch-net_dns_address_sorter_posix_cc
chromium-new/patches/patch-net_dns_host_resolver_proc_cc
chromium-new/patches/patch-net_http_http_network_session_cc
chromium-new/patches/patch-net_net_common_gypi
chromium-new/patches/patch-net_net_gypi
chromium-new/patches/patch-net_proxy_proxy_config_service_linux_cc
chromium-new/patches/patch-net_proxy_proxy_service_cc
chromium-new/patches/patch-net_socket_socks5_client_socket_cc
chromium-new/patches/patch-net_tools_get_server_time_get_server_time_cc
chromium-new/patches/patch-net_udp_udp_socket_posix_cc
chromium-new/patches/patch-net_url_request_url_request_context_builder_cc
chromium-new/patches/patch-pdf_pdfium_pdfium_engine_cc
chromium-new/patches/patch-ppapi_shared_impl_private_net_address_private_impl_cc
chromium-new/patches/patch-printing_backend_cups_helper_cc
chromium-new/patches/patch-printing_printing_gyp
chromium-new/patches/patch-remoting_remoting_all_gyp
chromium-new/patches/patch-remoting_remoting_host_gypi
chromium-new/patches/patch-skia_ext_SkMemory_new_handler_cpp
chromium-new/patches/patch-skia_skia_chrome_gypi
chromium-new/patches/patch-skia_skia_common_gypi
chromium-new/patches/patch-sync_util_get_session_name_cc
chromium-new/patches/patch-sync_util_get_session_name_linux_cc
chromium-new/patches/patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp
chromium-new/patches/patch-third_party_WebKit_Source_core_core_gyp
chromium-new/patches/patch-third_party_WebKit_Source_platform_blink_platform_gyp
chromium-new/patches/patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp
chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp
chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp
chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_h
chromium-new/patches/patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp
chromium-new/patches/patch-third_party_WebKit_Source_web_web_gyp
chromium-new/patches/patch-third_party_WebKit_Source_wtf_MathExtras_h
chromium-new/patches/patch-third_party_boringssl_src_crypto_bn_generic_c
chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm
chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h
chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm
chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h
chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_generated_gypi
chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_gyp
chromium-new/patches/patch-third_party_ffmpeg_libavcodec_x86_cabac_h
chromium-new/patches/patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c
chromium-new/patches/patch-third_party_ffmpeg_libavutil_cpu_c
chromium-new/patches/patch-third_party_ffmpeg_libavutil_mem_c
chromium-new/patches/patch-third_party_iccjpeg_iccjpeg_gyp
chromium-new/patches/patch-third_party_libXNVCtrl_NVCtrl_c
chromium-new/patches/patch-third_party_libXNVCtrl_libXNVCtrl_gyp
chromium-new/patches/patch-third_party_libjingle_libjingle_gyp
chromium-new/patches/patch-third_party_libjpeg_turbo_libjpeg_gyp
chromium-new/patches/patch-third_party_libusb_libusb_gyp
chromium-new/patches/patch-third_party_libusb_src_libusb_core_c
chromium-new/patches/patch-third_party_libyuv_libyuv_gyp
chromium-new/patches/patch-third_party_pdfium_build_standalone_gypi
chromium-new/patches/patch-third_party_pdfium_core_include_fxcrt_fx_system_h
chromium-new/patches/patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp
chromium-new/patches/patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp
chromium-new/patches/patch-third_party_pdfium_pdfium_gyp
chromium-new/patches/patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h
chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h
chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h
chromium-new/patches/patch-third_party_skia_gyp_ports_gyp
chromium-new/patches/patch-third_party_skia_src_core_SkVarAlloc_cpp
chromium-new/patches/patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h
chromium-new/patches/patch-third_party_webrtc_base_base_gyp
chromium-new/patches/patch-third_party_webrtc_base_httpcommon_cc
chromium-new/patches/patch-third_party_webrtc_base_network_cc
chromium-new/patches/patch-third_party_webrtc_base_physicalsocketserver_cc
chromium-new/patches/patch-third_party_webrtc_base_platform_thread_cc
chromium-new/patches/patch-third_party_webrtc_base_stringutils_h
chromium-new/patches/patch-third_party_webrtc_build_common_gypi
chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc
chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_condition_variable_cc
chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_thread_posix_cc
chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc
chromium-new/patches/patch-third_party_yasm_source_config_openbsd_config_h
chromium-new/patches/patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h
chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_make_py
chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_ninja_py
chromium-new/patches/patch-ui_accessibility_accessibility_gyp
chromium-new/patches/patch-ui_accessibility_platform_ax_platform_node_cc
chromium-new/patches/patch-ui_app_list_app_list_constants_cc
chromium-new/patches/patch-ui_app_list_app_list_constants_h
chromium-new/patches/patch-ui_app_list_app_list_menu_cc
chromium-new/patches/patch-ui_app_list_views_app_list_item_view_cc
chromium-new/patches/patch-ui_app_list_views_app_list_view_cc
chromium-new/patches/patch-ui_base_ime_input_method_factory_cc
chromium-new/patches/patch-ui_base_resource_resource_bundle_cc
chromium-new/patches/patch-ui_base_ui_base_gyp
chromium-new/patches/patch-ui_base_user_activity_user_activity_detector_cc
chromium-new/patches/patch-ui_base_webui_web_ui_util_cc
chromium-new/patches/patch-ui_events_devices_x11_device_data_manager_x11_cc
chromium-new/patches/patch-ui_events_event_switches_cc
chromium-new/patches/patch-ui_events_event_switches_h
chromium-new/patches/patch-ui_events_keycodes_dom_keycode_converter_cc
chromium-new/patches/patch-ui_events_x_keysym_to_unicode_h
chromium-new/patches/patch-ui_gfx_canvas_skia_cc
chromium-new/patches/patch-ui_gfx_codec_png_codec_cc
chromium-new/patches/patch-ui_gfx_gfx_gyp
chromium-new/patches/patch-ui_gl_generate_bindings_py
chromium-new/patches/patch-ui_gl_gl_bindings_api_autogen_glx_h
chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_cc
chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_h
chromium-new/patches/patch-ui_gl_gl_gyp
chromium-new/patches/patch-ui_gl_gl_surface_glx_cc
chromium-new/patches/patch-ui_gl_sync_control_vsync_provider_cc
chromium-new/patches/patch-ui_message_center_message_center_style_h
chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_cc
chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_h
chromium-new/patches/patch-ui_message_center_views_message_center_view_cc
chromium-new/patches/patch-ui_message_center_views_notification_view_cc
chromium-new/patches/patch-ui_resources_ui_resources_grd
chromium-new/patches/patch-ui_shell_dialogs_select_file_dialog_cc
chromium-new/patches/patch-ui_touch_selection_ui_touch_selection_gyp
chromium-new/patches/patch-ui_views_accessibility_native_view_accessibility_cc
chromium-new/patches/patch-ui_views_bubble_bubble_delegate_cc
chromium-new/patches/patch-ui_views_controls_button_label_button_cc
chromium-new/patches/patch-ui_views_controls_combobox_combobox_cc
chromium-new/patches/patch-ui_views_controls_scrollbar_base_scroll_bar_cc
chromium-new/patches/patch-ui_views_controls_textfield_textfield_cc
chromium-new/patches/patch-ui_views_controls_webview_webview_gyp
chromium-new/patches/patch-ui_views_views_delegate_cc
chromium-new/patches/patch-ui_views_views_delegate_h
chromium-new/patches/patch-ui_views_views_gyp
chromium-new/patches/patch-ui_views_views_switches_cc
chromium-new/patches/patch-ui_views_window_custom_frame_view_cc
chromium-new/patches/patch-ui_views_window_dialog_delegate_cc
chromium-new/patches/patch-ui_webui_resources_js_cr_js
chromium-new/patches/patch-ui_webui_resources_js_util_js
chromium-new/patches/patch-v8_src_base_platform_platform-openbsd_cc
chromium-new/patches/patch-v8_src_base_platform_platform-posix_cc
chromium-new/patches/patch-v8_src_globals_h
chromium-new/patches/patch-v8_src_log-utils_h
Log Message:
Add extremely broken chromium-new
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42c9fbe9a76b84afbf0eea68a5e3c2fa6febc30c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chromium-new/DESCR | 3 +
chromium-new/Makefile | 316 +++
chromium-new/PLIST | 217 +++
chromium-new/distinfo | 327 ++++
chromium-new/options.mk | 42 +
chromium-new/patches/patch-apps_apps_gypi | 11 +
.../patch-apps_ui_views_app_window_frame_view_cc | 12 +
.../patch-ash_display_mirror_window_controller_cc | 15 +
chromium-new/patches/patch-base_atomicops_h | 15 +
chromium-new/patches/patch-base_base_gypi | 22 +
.../patches/patch-base_debug_debugger_posix_cc | 62 +
.../patches/patch-base_debug_stack_trace_h | 11 +
.../patches/patch-base_debug_stack_trace_posix_cc | 30 +
.../patch-base_message_loop_message_loop_cc | 12 +
.../patch-base_posix_unix_domain_socket_linux_cc | 38 +
chromium-new/patches/patch-base_process_launch_h | 12 +
chromium-new/patches/patch-base_process_memory_cc | 12 +
.../patch-base_process_process_handle_openbsd_cc | 92 +
.../patch-base_process_process_iterator_openbsd_cc | 13 +
.../patches/patch-base_process_process_metrics_h | 12 +
.../patch-base_process_process_metrics_openbsd_cc | 130 ++
.../patches/patch-base_process_process_posix_cc | 64 +
.../patches/patch-base_strings_safe_sprintf_cc | 12 +
.../patches/patch-base_sys_info_openbsd_cc | 29 +
chromium-new/patches/patch-base_sys_info_posix_cc | 21 +
.../patch-base_threading_platform_thread_linux_cc | 22 +
.../patch-base_trace_event_process_memory_dump_h | 12 +
chromium-new/patches/patch-build_all_gyp | 11 +
chromium-new/patches/patch-build_common_gypi | 106 +
.../patches/patch-build_filename_rules_gypi | 12 +
.../patch-chrome_app_chrome_main_delegate_cc | 84 +
.../patch-chrome_app_chrome_main_delegate_h | 12 +
.../patches/patch-chrome_app_chromium_strings_grd | 12 +
.../patch-chrome_app_google_chrome_strings_grd | 12 +
.../patch-chrome_app_resources_locale_settings_grd | 12 +
.../patch-chrome_app_theme_theme_resources_grd | 12 +
.../patches/patch-chrome_browser_about_flags_cc | 21 +
...atch-chrome_browser_after_startup_task_utils_cc | 12 +
.../patch-chrome_browser_browser_resources_grd | 12 +
.../patch-chrome_browser_chrome_browser_main_cc | 30 +
...tch-chrome_browser_chrome_browser_main_linux_cc | 28 +
...tch-chrome_browser_chrome_browser_main_posix_cc | 23 +
...chrome_browser_chrome_content_browser_client_cc | 57 +
...-chrome_browser_chrome_content_browser_client_h | 12 +
...er_custom_handlers_protocol_handler_registry_cc | 12 +
.../patches/patch-chrome_browser_defaults_cc | 12 +
...er_download_chrome_download_manager_delegate_cc | 12 +
...ch-chrome_browser_download_download_commands_cc | 39 +
...tch-chrome_browser_download_download_commands_h | 12 +
...patch-chrome_browser_download_download_prefs_cc | 66 +
.../patch-chrome_browser_download_download_prefs_h | 21 +
...browser_download_download_shelf_context_menu_cc | 12 +
...ome_browser_download_download_status_updater_cc | 21 +
...mage_writer_private_image_writer_private_api_cc | 16 +
...ser_extensions_api_messaging_message_service_cc | 21 +
...ns_api_music_manager_private_device_id_linux_cc | 67 +
...e_browser_extensions_api_omnibox_omnibox_api_cc | 12 +
...hrome_browser_extensions_bookmark_app_helper_cc | 12 +
...e_browser_first_run_first_run_internal_posix_cc | 12 +
.../patch-chrome_browser_gpu_gl_string_manager_cc | 12 +
...patch-chrome_browser_gpu_gpu_feature_checker_cc | 12 +
...dia_galleries_fileapi_mtp_device_map_service_cc | 16 +
...r_media_galleries_media_file_system_registry_cc | 17 +
..._browser_media_galleries_media_folder_finder_cc | 16 +
.../patches/patch-chrome_browser_memory_details_cc | 30 +
...rics_chrome_browser_main_extra_parts_metrics_cc | 15 +
...tch-chrome_browser_net_async_dns_field_trial_cc | 12 +
...ications_message_center_notification_manager_cc | 12 +
.../patch-chrome_browser_platform_util_linux_cc | 13 +
...patch-chrome_browser_process_singleton_posix_cc | 35 +
...tch-chrome_browser_renderer_preferences_util_cc | 39 +
...er_resources_plugin_metadata_plugins_linux_json | 32 +
...ncident_reporting_incident_reporting_service_cc | 12 +
...ch-chrome_browser_speech_tts_controller_impl_cc | 17 +
...h-chrome_browser_ssl_bad_clock_blocking_page_cc | 12 +
...er_sync_profile_sync_components_factory_impl_cc | 12 +
...tch-chrome_browser_task_manager_task_manager_cc | 12 +
...hrome_browser_tracing_crash_service_uploader_cc | 12 +
...-chrome_browser_ui_app_list_app_list_service_cc | 12 +
...e_browser_ui_ash_system_tray_delegate_common_cc | 12 +
...ui_aura_chrome_browser_main_extra_parts_aura_cc | 39 +
..._ui_aura_chrome_browser_main_extra_parts_aura_h | 12 +
...chrome_browser_ui_browser_command_controller_cc | 39 +
.../patch-chrome_browser_ui_browser_view_prefs_cc | 21 +
..._ui_exclusive_access_exclusive_access_bubble_cc | 12 +
...patch-chrome_browser_ui_panels_panel_manager_cc | 12 +
...h-chrome_browser_ui_startup_bad_flags_prompt_cc | 12 +
...e_browser_ui_startup_startup_browser_creator_cc | 14 +
...tch-chrome_browser_ui_toolbar_app_menu_model_cc | 12 +
...ch-chrome_browser_ui_views_accelerator_table_cc | 30 +
...owser_ui_views_app_list_linux_app_list_linux_cc | 12 +
...ews_apps_chrome_native_app_window_views_aura_cc | 21 +
...iews_ash_chrome_browser_main_extra_parts_ash_cc | 12 +
...hrome_browser_ui_views_chrome_views_delegate_cc | 30 +
...chrome_browser_ui_views_chrome_views_delegate_h | 21 +
...owser_ui_views_exclusive_access_bubble_views_cc | 12 +
...tch-chrome_browser_ui_views_first_run_dialog_cc | 20 +
...-chrome_browser_ui_views_frame_browser_frame_cc | 21 +
...ser_ui_views_frame_opaque_browser_frame_view_cc | 21 +
...views_frame_opaque_browser_frame_view_layout_cc | 12 +
..._opaque_browser_frame_view_platform_specific_cc | 12 +
...ser_ui_views_frame_system_menu_model_builder_cc | 21 +
...ews_message_center_message_center_frame_view_cc | 12 +
...ome_browser_ui_views_panels_panel_frame_view_cc | 12 +
...me_browser_ui_views_tabs_tab_drag_controller_cc | 30 +
...patch-chrome_browser_ui_views_tabs_tab_strip_cc | 12 +
...ch-chrome_browser_ui_views_task_manager_view_cc | 12 +
.../patch-chrome_browser_ui_webui_about_ui_cc | 55 +
...er_ui_webui_chrome_web_ui_controller_factory_cc | 12 +
...ser_ui_webui_options_browser_options_handler_cc | 39 +
...wser_ui_webui_options_browser_options_handler_h | 13 +
...atch-chrome_browser_web_applications_web_app_cc | 21 +
...patch-chrome_browser_web_applications_web_app_h | 12 +
.../patch-chrome_chrome_browser_extensions_gypi | 24 +
.../patches/patch-chrome_chrome_browser_gypi | 43 +
.../patches/patch-chrome_chrome_browser_ui_gypi | 34 +
.../patches/patch-chrome_chrome_common_gypi | 23 +
chromium-new/patches/patch-chrome_chrome_exe_gypi | 12 +
.../patches/patch-chrome_chrome_utility_gypi | 11 +
.../patches/patch-chrome_common_chrome_paths_cc | 30 +
.../patches/patch-chrome_common_chrome_paths_h | 39 +
.../patch-chrome_common_chrome_paths_internal_h | 12 +
.../patches/patch-chrome_common_chrome_switches_cc | 12 +
.../patches/patch-chrome_common_chrome_switches_h | 12 +
...patch-chrome_common_extensions_api_schemas_gypi | 15 +
.../patch-chrome_common_extensions_command_cc | 12 +
.../patches/patch-chrome_common_pref_names_cc | 21 +
.../patches/patch-chrome_common_pref_names_h | 21 +
.../patches/patch-chrome_common_url_constants_cc | 21 +
.../patches/patch-chrome_common_url_constants_h | 21 +
...common_variations_fieldtrial_testing_config_gyp | 12 +
.../patches/patch-chrome_policy_templates_gypi | 12 +
.../patch-chrome_renderer_resources_neterror_js | 12 +
...ity_media_galleries_image_metadata_extractor_cc | 12 +
...h-chromecast_browser_cast_browser_main_parts_cc | 30 +
.../patch-components_audio_modem_modem_impl_cc | 12 +
...h-components_cookie_config_cookie_store_util_cc | 12 +
...h-components_html_viewer_blink_settings_impl_cc | 21 +
...ponents_metrics_drive_metrics_provider_linux_cc | 17 +
chromium-new/patches/patch-components_metrics_gypi | 11 +
...mponents_omnibox_browser_omnibox_field_trial_cc | 12 +
...mponents_policy_resources_policy_templates_json | 30 +
...mponents_policy_tools_generate_policy_source_py | 12 +
...nents_printing_renderer_print_web_view_helper_h | 12 +
.../patches/patch-components_storage_monitor_gypi | 26 +
...ents_storage_monitor_storage_monitor_openbsd_cc | 59 +
...nents_storage_monitor_storage_monitor_openbsd_h | 51 +
.../patch-content_app_content_main_runner_cc | 47 +
...t_browser_accessibility_browser_accessibility_h | 30 +
...r_accessibility_browser_accessibility_manager_h | 21 +
.../patch-content_browser_browser_main_loop_cc | 49 +
...patch-content_browser_child_process_launcher_cc | 51 +
...ntent_browser_devtools_protocol_color_picker_cc | 12 +
.../patch-content_browser_download_base_file_cc | 12 +
...tch-content_browser_download_base_file_linux_cc | 13 +
...tch-content_browser_gamepad_gamepad_provider_cc | 12 +
...browser_geolocation_location_arbitrator_impl_cc | 12 +
...nt_browser_gpu_gpu_data_manager_impl_private_cc | 12 +
.../patch-content_browser_gpu_gpu_internals_ui_cc | 30 +
...tch-content_browser_power_usage_monitor_impl_cc | 12 +
...wser_renderer_host_p2p_socket_dispatcher_host_h | 24 +
...rowser_renderer_host_render_widget_host_impl_cc | 12 +
...r_renderer_host_render_widget_host_view_aura_cc | 30 +
.../patch-content_browser_time_zone_monitor_cc | 12 +
.../patch-content_common_gpu_gpu_memory_manager_h | 12 +
.../patch-content_common_sandbox_init_openbsd_cc | 80 +
.../patch-content_common_sandbox_init_openbsd_h | 32 +
...patch-content_common_set_process_title_linux_cc | 20 +
.../patch-content_common_set_process_title_linux_h | 21 +
.../patches/patch-content_content_browser_gypi | 67 +
.../patches/patch-content_content_common_gypi | 47 +
.../patches/patch-content_content_renderer_gypi | 11 +
chromium-new/patches/patch-content_gpu_gpu_main_cc | 114 ++
...patch-content_ppapi_plugin_ppapi_plugin_main_cc | 23 +
...patch-content_public_common_content_switches_cc | 12 +
.../patch-content_public_common_content_switches_h | 12 +
...ntent_renderer_devtools_v8_sampling_profiler_cc | 39 +
.../patch-content_renderer_render_thread_impl_cc | 12 +
.../patch-content_renderer_renderer_main_cc | 47 +
...nderer_renderer_main_platform_delegate_linux_cc | 33 +
...renderer_webscrollbarbehavior_impl_gtkoraura_cc | 21 +
.../patches/patch-content_utility_utility_main_cc | 20 +
chromium-new/patches/patch-dbus_property_cc | 29 +
.../patches/patch-device_battery_battery_gyp | 12 +
chromium-new/patches/patch-device_hid_hid_gyp | 22 +
.../patches/patch-device_serial_serial_gyp | 16 +
.../patch-device_serial_serial_io_handler_posix_cc | 12 +
.../patch-device_serial_serial_service_impl_cc | 18 +
...tch-extensions_browser_api_serial_serial_api_cc | 17 +
.../patch-gpu_config_gpu_info_collector_linux_cc | 14 +
.../patch-gpu_config_gpu_info_collector_linux_h | 18 +
.../patch-gpu_config_gpu_info_collector_x11_cc | 64 +
...gles2_conform_support_gles2_conform_support_gyp | 12 +
chromium-new/patches/patch-gpu_gpu_config_gypi | 18 +
chromium-new/patches/patch-gpu_tools_tools_gyp | 20 +
.../patch-media_audio_audio_input_controller_cc | 12 +
.../patches/patch-media_audio_audio_manager_cc | 30 +
.../patches/patch-media_audio_audio_manager_h | 12 +
...ture_video_fake_video_capture_device_factory_cc | 12 +
...ture_video_file_video_capture_device_factory_cc | 12 +
...tch-media_capture_video_video_capture_device_cc | 30 +
...a_capture_video_video_capture_device_factory_cc | 22 +
...atch-media_capture_video_video_capture_device_h | 39 +
chromium-new/patches/patch-media_media_gyp | 71 +
.../patch-native_client_build_compiler_version_py | 12 +
.../patches/patch-net_base_address_tracker_linux_h | 13 +
chromium-new/patches/patch-net_base_net_util_cc | 11 +
.../patch-net_base_network_change_notifier_cc | 11 +
.../patch-net_base_network_interfaces_posix_cc | 21 +
.../patch-net_disk_cache_blockfile_disk_format_h | 13 +
.../patches/patch-net_dns_address_sorter_posix_cc | 11 +
.../patches/patch-net_dns_host_resolver_proc_cc | 14 +
.../patches/patch-net_http_http_network_session_cc | 13 +
chromium-new/patches/patch-net_net_common_gypi | 11 +
chromium-new/patches/patch-net_net_gypi | 20 +
.../patch-net_proxy_proxy_config_service_linux_cc | 40 +
.../patches/patch-net_proxy_proxy_service_cc | 21 +
.../patch-net_socket_socks5_client_socket_cc | 13 +
...ch-net_tools_get_server_time_get_server_time_cc | 21 +
.../patches/patch-net_udp_udp_socket_posix_cc | 30 +
...-net_url_request_url_request_context_builder_cc | 12 +
.../patches/patch-pdf_pdfium_pdfium_engine_cc | 48 +
...shared_impl_private_net_address_private_impl_cc | 15 +
.../patches/patch-printing_backend_cups_helper_cc | 15 +
chromium-new/patches/patch-printing_printing_gyp | 25 +
.../patches/patch-remoting_remoting_all_gyp | 11 +
.../patches/patch-remoting_remoting_host_gypi | 30 +
.../patch-skia_ext_SkMemory_new_handler_cpp | 12 +
chromium-new/patches/patch-skia_skia_chrome_gypi | 15 +
chromium-new/patches/patch-skia_skia_common_gypi | 12 +
.../patches/patch-sync_util_get_session_name_cc | 21 +
.../patch-sync_util_get_session_name_linux_cc | 15 +
...bKit_Source_bindings_core_v8_V8ScriptRunner_cpp | 12 +
.../patch-third_party_WebKit_Source_core_core_gyp | 35 +
...party_WebKit_Source_platform_blink_platform_gyp | 39 +
...WebKit_Source_platform_fonts_SimpleFontData_cpp | 30 +
...WebKit_Source_platform_heap_StackFrameDepth_cpp | 43 +
...rty_WebKit_Source_platform_heap_ThreadState_cpp | 12 +
...party_WebKit_Source_platform_heap_ThreadState_h | 12 +
...third_party_WebKit_Source_web_PopupMenuImpl_cpp | 12 +
.../patch-third_party_WebKit_Source_web_web_gyp | 12 +
...atch-third_party_WebKit_Source_wtf_MathExtras_h | 13 +
...h-third_party_boringssl_src_crypto_bn_generic_c | 13 +
..._chromium_config_Chrome_openbsd_ia32_config_asm | 2021 +++++++++++++++++++
...eg_chromium_config_Chrome_openbsd_ia32_config_h | 2038 ++++++++++++++++++++
...g_chromium_config_Chrome_openbsd_x64_config_asm | 2021 +++++++++++++++++++
...peg_chromium_config_Chrome_openbsd_x64_config_h | 2038 ++++++++++++++++++++
.../patch-third_party_ffmpeg_ffmpeg_generated_gypi | 376 ++++
.../patches/patch-third_party_ffmpeg_ffmpeg_gyp | 12 +
...patch-third_party_ffmpeg_libavcodec_x86_cabac_h | 12 +
...rty_ffmpeg_libavutil_autorename_libavutil_cpu_c | 11 +
.../patch-third_party_ffmpeg_libavutil_cpu_c | 15 +
.../patch-third_party_ffmpeg_libavutil_mem_c | 13 +
.../patches/patch-third_party_iccjpeg_iccjpeg_gyp | 17 +
.../patches/patch-third_party_libXNVCtrl_NVCtrl_c | 26 +
.../patch-third_party_libXNVCtrl_libXNVCtrl_gyp | 13 +
.../patch-third_party_libjingle_libjingle_gyp | 12 +
.../patch-third_party_libjpeg_turbo_libjpeg_gyp | 12 +
.../patches/patch-third_party_libusb_libusb_gyp | 28 +
.../patch-third_party_libusb_src_libusb_core_c | 12 +
.../patches/patch-third_party_libyuv_libyuv_gyp | 19 +
.../patch-third_party_pdfium_build_standalone_gypi | 21 +
...ird_party_pdfium_core_include_fxcrt_fx_system_h | 12 +
...d_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp | 15 +
...arty_pdfium_fpdfsdk_src_javascript_JS_Value_cpp | 16 +
.../patches/patch-third_party_pdfium_pdfium_gyp | 21 +
...y_pdfium_third_party_libopenjpeg20_opj_malloc_h | 12 +
..._protobuf_src_google_protobuf_stubs_atomicops_h | 15 +
...ty_protobuf_src_google_protobuf_stubs_strutil_h | 19 +
.../patches/patch-third_party_skia_gyp_ports_gyp | 11 +
.../patch-third_party_skia_src_core_SkVarAlloc_cpp | 13 +
...h-third_party_skia_src_gpu_GrAutoLocaleSetter_h | 30 +
.../patches/patch-third_party_webrtc_base_base_gyp | 12 +
.../patch-third_party_webrtc_base_httpcommon_cc | 12 +
.../patch-third_party_webrtc_base_network_cc | 30 +
...third_party_webrtc_base_physicalsocketserver_cc | 34 +
...atch-third_party_webrtc_base_platform_thread_cc | 43 +
.../patch-third_party_webrtc_base_stringutils_h | 22 +
.../patch-third_party_webrtc_build_common_gypi | 17 +
...webrtc_system_wrappers_source_atomic32_posix_cc | 12 +
...tc_system_wrappers_source_condition_variable_cc | 12 +
...y_webrtc_system_wrappers_source_thread_posix_cc | 13 +
...ystem_wrappers_source_timestamp_extrapolator_cc | 12 +
...third_party_yasm_source_config_openbsd_config_h | 18 +
...rty_yasm_source_config_openbsd_libyasm-stdint_h | 12 +
.../patch-tools_gyp_pylib_gyp_generator_make_py | 36 +
.../patch-tools_gyp_pylib_gyp_generator_ninja_py | 21 +
.../patch-ui_accessibility_accessibility_gyp | 21 +
...h-ui_accessibility_platform_ax_platform_node_cc | 12 +
.../patch-ui_app_list_app_list_constants_cc | 12 +
.../patches/patch-ui_app_list_app_list_constants_h | 12 +
.../patches/patch-ui_app_list_app_list_menu_cc | 12 +
.../patch-ui_app_list_views_app_list_item_view_cc | 12 +
.../patch-ui_app_list_views_app_list_view_cc | 21 +
.../patch-ui_base_ime_input_method_factory_cc | 21 +
.../patch-ui_base_resource_resource_bundle_cc | 12 +
chromium-new/patches/patch-ui_base_ui_base_gyp | 21 +
...ui_base_user_activity_user_activity_detector_cc | 21 +
.../patches/patch-ui_base_webui_web_ui_util_cc | 12 +
...i_events_devices_x11_device_data_manager_x11_cc | 20 +
.../patches/patch-ui_events_event_switches_cc | 12 +
.../patches/patch-ui_events_event_switches_h | 12 +
...tch-ui_events_keycodes_dom_keycode_converter_cc | 12 +
.../patches/patch-ui_events_x_keysym_to_unicode_h | 12 +
chromium-new/patches/patch-ui_gfx_canvas_skia_cc | 12 +
.../patches/patch-ui_gfx_codec_png_codec_cc | 12 +
chromium-new/patches/patch-ui_gfx_gfx_gyp | 21 +
.../patches/patch-ui_gl_generate_bindings_py | 13 +
.../patch-ui_gl_gl_bindings_api_autogen_glx_h | 11 +
.../patches/patch-ui_gl_gl_bindings_autogen_glx_cc | 184 ++
.../patches/patch-ui_gl_gl_bindings_autogen_glx_h | 45 +
chromium-new/patches/patch-ui_gl_gl_gyp | 21 +
chromium-new/patches/patch-ui_gl_gl_surface_glx_cc | 12 +
.../patch-ui_gl_sync_control_vsync_provider_cc | 21 +
.../patch-ui_message_center_message_center_style_h | 12 +
...ssage_center_views_message_center_button_bar_cc | 48 +
...essage_center_views_message_center_button_bar_h | 12 +
...-ui_message_center_views_message_center_view_cc | 21 +
...ch-ui_message_center_views_notification_view_cc | 12 +
.../patches/patch-ui_resources_ui_resources_grd | 12 +
.../patch-ui_shell_dialogs_select_file_dialog_cc | 21 +
...patch-ui_touch_selection_ui_touch_selection_gyp | 11 +
...iews_accessibility_native_view_accessibility_cc | 12 +
.../patch-ui_views_bubble_bubble_delegate_cc | 12 +
.../patch-ui_views_controls_button_label_button_cc | 21 +
.../patch-ui_views_controls_combobox_combobox_cc | 12 +
...-ui_views_controls_scrollbar_base_scroll_bar_cc | 12 +
.../patch-ui_views_controls_textfield_textfield_cc | 84 +
.../patch-ui_views_controls_webview_webview_gyp | 12 +
.../patches/patch-ui_views_views_delegate_cc | 12 +
.../patches/patch-ui_views_views_delegate_h | 12 +
chromium-new/patches/patch-ui_views_views_gyp | 27 +
.../patches/patch-ui_views_views_switches_cc | 12 +
.../patch-ui_views_window_custom_frame_view_cc | 12 +
.../patch-ui_views_window_dialog_delegate_cc | 12 +
.../patches/patch-ui_webui_resources_js_cr_js | 15 +
.../patches/patch-ui_webui_resources_js_util_js | 12 +
.../patch-v8_src_base_platform_platform-openbsd_cc | 309 +++
.../patch-v8_src_base_platform_platform-posix_cc | 12 +
chromium-new/patches/patch-v8_src_globals_h | 18 +
chromium-new/patches/patch-v8_src_log-utils_h | 12 +
341 files changed, 16945 insertions(+)
diffs:
diff --git a/chromium-new/DESCR b/chromium-new/DESCR
new file mode 100644
index 0000000..bd9f12e
--- /dev/null
+++ b/chromium-new/DESCR
@@ -0,0 +1,3 @@
+Chromium is an open-source browser project that aims
+to build a safer, faster, and more stable way for all
+Internet users to experience the web.
diff --git a/chromium-new/Makefile b/chromium-new/Makefile
new file mode 100644
index 0000000..0435666
--- /dev/null
+++ b/chromium-new/Makefile
@@ -0,0 +1,316 @@
+# $NetBSD: Makefile,v 1.14 2012/09/24 18:26:53 asau Exp $
+
+DISTNAME= chromium-48.0.2564.116
+CATEGORIES= www
+MASTER_SITES= http://build.chromium.org/buildbot/official/obsolete/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= rxg%NetBSD.org@localhost
+HOMEPAGE= http://dev.chromium.org/Home
+COMMENT= Open-source browser project
+LICENSE= modified-bsd
+
+USE_TOOLS+= bash bison flex:pkgsrc gmake pax perl pkg-config
+USE_LANGUAGES= c c++
+
+BUILD_DEPENDS+= gperf>=3.0.1:../../devel/gperf
+BUILD_DEPENDS+= yasm>=0:../../devel/yasm
+
+ONLY_FOR_PLATFORM= *-*-arm *-*-i386 *-*-x86_64
+TOOLS_PLATFORM.flex= # override the platform definition to use pkgsrc's flex.
+
+DATADIR= ${DESTDIR}${PREFIX}/share/chromium
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
+.include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+
+GNU_CONFIGURE= yes
+CONFIGURE_DIRS= third_party/icu/source
+CONFIGURE_DIRS+=third_party/tcmalloc/vendor
+CONFIGURE_DIRS+=third_party/yasm/source/patched-yasm
+CONFIGURE_ENV+= GYP_DEFINES=${GYP_DEFINES:C/^/-D/}
+
+# Replace config.{guess,sub}
+OVERRIDE_DIRDEPTH= 5
+
+GYP_DEFINES+= clang=1
+GYP_DEFINES+= OS=${LOWER_OPSYS}
+GYP_DEFINES+= buildtype=Official
+.if ${OPSYS} != "Linux"
+GYP_DEFINES+= disable_nacl=1
+.endif
+GYP_DEFINES+= disable_sse2=0
+GYP_DEFINES+= ffmpeg_branding=${FFMPEG_CODECS}
+GYP_DEFINES+= libvpx_path=${BUILDLINK_DIR}/lib
+.if ${OPSYS} != "Linux" && ${OPSYS} != "FreeBSD"
+GYP_DEFINES+= linux_use_tcmalloc=0
+.endif
+.if ${OPSYS} == "NetBSD"
+GYP_DEFINES+= no_gc_sections=1
+.endif
+GYP_DEFINES+= python_ver=2.7 # ${PYVERSSUFFIX}
+GYP_DEFINES+= linux_breakpad=0
+GYP_DEFINES+= use_system_bzip2=1
+GYP_DEFINES+= use_system_ffmpeg=0
+GYP_DEFINES+= use_system_libevent=1
+GYP_DEFINES+= use_system_libjpeg=1
+GYP_DEFINES+= use_system_libpng=1
+GYP_DEFINES+= use_system_libxml=1
+GYP_DEFINES+= use_system_sqlite=0
+GYP_DEFINES+= use_system_ssl=0
+GYP_DEFINES+= use_system_vpx=1
+GYP_DEFINES+= use_system_yasm=0
+GYP_DEFINES+= use_system_zlib=1
+
+FFMPEG_ARGS+= --disable-everything
+FFMPEG_ARGS+= --disable-network
+FFMPEG_ARGS+= --disable-bzlib
+FFMPEG_ARGS+= --disable-zlib
+FFMPEG_ARGS+= --disable-swscale
+FFMPEG_ARGS+= --disable-amd3dnow
+FFMPEG_ARGS+= --disable-amd3dnowext
+FFMPEG_ARGS+= --enable-shared
+FFMPEG_ARGS+= --enable-libvpx
+FFMPEG_ARGS+= --enable-encoder=libvpx
+
+.include "options.mk"
+
+BUILD_DIRS= .
+MAKE_ENV+= BUILDTYPE=${BUILDTYPE}
+#MAKE_ENV+= CC.host=${CC:Q}
+MAKE_ENV+= CFLAGS.host=${CFLAGS:M*:Q}
+MAKE_ENV+= CXX.host=${CXX:Q}
+MAKE_ENV+= CXXFLAGS.host=${CXXFLAGS:M*:Q}
+MAKE_ENV+= LINK.host=${CXX:Q}
+MAKE_ENV+= LDFLAGS.host=${LDFLAGS:M*:Q}
+MAKE_ENV+= AR.host=${AR:Q}
+.if ${OPSYS} != "Linux"
+# Override the LINK variable for the platforms which do not have flock(1).
+MAKE_ENV+= LINK=${CXX:Q}
+.endif
+
+BUILDDIR= ${WRKSRC}/out # /${BUILDTYPE}
+
+CHECK_PORTABILITY_SKIP+=gpu/demos/run_demo_ppapi.sh
+CHECK_PORTABILITY_SKIP+=third_party/xdg-utils/scripts/xdg-terminal
+CHECK_PORTABILITY_SKIP+=third_party/xdg-utils/scripts/xdg-terminal.in
+CHECK_PORTABILITY_SKIP+=v8/tools/linux-tick-processor
+
+SUBST_CLASSES+= bash
+SUBST_MESSAGE.bash= Fixing bash path
+SUBST_STAGE.bash= post-patch
+SUBST_FILES.bash+= build/linux/python_arch.sh
+SUBST_FILES.bash+= chrome/tools/build/linux/chrome-wrapper
+SUBST_FILES.bash+= chrome/tools/build/linux/sed.sh
+SUBST_SED.bash= -e 's:/bin/bash:${BASH}:'
+
+SUBST_CLASSES+= path
+SUBST_MESSAGE.path= Fixing pkg path
+SUBST_STAGE.path= post-patch
+SUBST_FILES.path+= base/base_paths_linux.cc
+SUBST_FILES.path+= base/process_util_openbsd.cc
+SUBST_FILES.path+= build/common.gypi
+SUBST_FILES.path+= chrome/chrome_tests.gypi
+SUBST_SED.path+= -e 's:/usr/local/:${PREFIX}/:'
+SUBST_SED.path+= -e 's:/usr/lib/:${BUILDLINK_DIR}/lib/:'
+SUBST_SED.path+= -e 's:/usr/include/:${BUILDLINK_DIR}/include/:'
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1 bin share/chromium
+INSTALLATION_DIRS+= share/chromium/locales share/chromium/resources
+
+MODPY_ADJ_FILES=build/linux/unbundle/replace_gyp_files.py
+
+BUILDTYPE= Release
+MAKE_ENV+= BUILDTYPE=${BUILDTYPE}
+
+pre-configure:
+ # phajdan-jr: list of things *not* to remove, so maybe the script
+ # should be called "keep_bundled_libraries.py"
+ cd ${WRKSRC} && ${PYTHON_CMD} \
+ ./build/linux/unbundle/remove_bundled_libraries.py \
+ 'base/third_party/dmg_fp' \
+ 'base/third_party/dynamic_annotations' \
+ 'base/third_party/icu' \
+ 'base/third_party/nspr' \
+ 'base/third_party/superfasthash' \
+ 'base/third_party/symbolize' \
+ 'base/third_party/valgrind' \
+ 'base/third_party/xdg_mime' \
+ 'base/third_party/xdg_user_dirs' \
+ 'breakpad/src/third_party/curl' \
+ 'chrome/third_party/mock4js' \
+ 'chrome/third_party/mozilla_security_manager' \
+ 'courgette/third_party' \
+ 'crypto/third_party/nss' \
+ 'net/third_party/mozilla_security_manager' \
+ 'net/third_party/nss' \
+ 'third_party/WebKit' \
+ 'third_party/analytics' \
+ 'third_party/angle' \
+ 'third_party/angle/src/third_party' \
+ 'third_party/blanketjs' \
+ 'third_party/brotli' \
+ 'third_party/boringssl' \
+ 'third_party/cacheinvalidation' \
+ 'third_party/catapult' \
+ 'third_party/catapult/third_party/beautifulsoup' \
+ 'third_party/catapult/third_party/py_vulcanize' \
+ 'third_party/catapult/third_party/py_vulcanize/py_vulcanize' \
+ 'third_party/catapult/third_party/py_vulcanize/third_party/rcssmin' \
+ 'third_party/catapult/third_party/py_vulcanize/third_party/rjsmin' \
+ 'third_party/catapult/tracing' \
+ 'third_party/catapult/tracing/third_party' \
+ 'third_party/cld' \
+ 'third_party/cros_system_api' \
+ 'third_party/dom_distiller_js' \
+ 'third_party/dom_distiller_js/dist/proto_gen/third_party/dom_distiller_js' \
+ 'third_party/ffmpeg' \
+ 'third_party/gardiner_mod' \
+ 'third_party/fips181' \
+ 'third_party/flot' \
+ 'third_party/google_input_tools' \
+ 'third_party/google_input_tools/third_party/closure_library' \
+ 'third_party/google_input_tools/third_party/closure_library/third_party/closure' \
+ 'third_party/hunspell' \
+ 'third_party/iccjpeg' \
+ 'third_party/icu/icu.isolate' \
+ 'third_party/jinja2' \
+ 'third_party/jstemplate' \
+ 'third_party/khronos' \
+ 'third_party/leveldatabase' \
+ 'third_party/libaddressinput' \
+ 'third_party/libjingle' \
+ 'third_party/libphonenumber' \
+ 'third_party/libsrtp' \
+ 'third_party/libvpx_new' \
+ 'third_party/libvpx_new/source/libvpx/third_party/x86inc' \
+ 'third_party/libwebm' \
+ 'third_party/libxml/chromium' \
+ 'third_party/libXNVCtrl' \
+ 'third_party/libyuv' \
+ 'third_party/lss' \
+ 'third_party/lzma_sdk' \
+ 'third_party/markupsafe' \
+ 'third_party/mesa' \
+ 'third_party/mojo' \
+ 'third_party/modp_b64' \
+ 'third_party/mt19937ar' \
+ 'third_party/npapi' \
+ 'third_party/openmax_dl' \
+ 'third_party/opus' \
+ 'third_party/ots' \
+ 'third_party/pdfium' \
+ 'third_party/pdfium/third_party' \
+ 'third_party/ply' \
+ 'third_party/polymer' \
+ 'third_party/protobuf' \
+ 'third_party/pywebsocket' \
+ 'third_party/qcms' \
+ 'third_party/qunit' \
+ 'third_party/sfntly' \
+ 'third_party/sinonjs' \
+ 'third_party/skia' \
+ 'third_party/smhasher' \
+ 'third_party/sqlite' \
+ 'third_party/tcmalloc' \
+ 'third_party/tlslite' \
+ 'third_party/usrsctp' \
+ 'third_party/web-animations-js' \
+ 'third_party/webdriver' \
+ 'third_party/webrtc' \
+ 'third_party/widevine' \
+ 'third_party/x86inc' \
+ 'third_party/yasm' \
+ 'third_party/zlib' \
+ 'url/third_party/mozilla' \
+ 'v8/src/third_party/valgrind' \
+ 'v8/src/third_party/fdlibm' \
+ --do-remove || ${FALSE}
+ cd ${WRKSRC} && ${PYTHON_CMD} \
+ ./build/linux/unbundle/replace_gyp_files.py \
+ ${GYP_DEFINES:C/^/-D/} || ${FALSE}
+ # allow removal of third_party/adobe
+ ${ECHO_CMD} > ${WRKSRC}/flapper_version.h
+ # missing file: file is in -testdata only, but configure stage
+ # will fail if it's not there. do not break TESTS build while
+ # allowing regular build without pulling in -testdata.
+ ${TOUCH} ${WRKSRC}/chrome/test/data/webui/i18n_process_css_test.html
+
+# gyp_chromium generates all the Makefiles from gyp
+do-configure:
+ cd ${WRKSRC} && \
+ build/linux/unbundle/replace_gyp_files.py ${GYP_DEFINES:C/^/-D/} && \
+ env -i ${CONFIGURE_ENV} ${MODPY_BIN} build/gyp_chromium \
+ ${GYP_DEFS} "--depth=${WRKSRC}"
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.for s in 22 24 48 64 128 256
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps
+ ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \
+ ${STAGEDIR}${DATADIR}
+.for p in chrome_100_percent content_resources keyboard_resources resources
+ ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak \
+ ${STAGEDIR}${DATADIR}
+.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \
+ ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/out && \
+ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \
+ ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \
+ ${STAGEDIR}${DATADIR}
+# END OF THINGS FROM FREEBSD PORTS
+ ${INSTALL_DATA_DIR} ${PREFIX}/chrome
+ ${INSTALL_PROGRAM} ${BUILDDIR}/chrome ${PREFIX}/chrome
+ ${SUBST_PROGRAM} ${FILESDIR}/chrome ${PREFIX}/bin/chrome
+ ${INSTALL_MAN} ${BUILDDIR}/chrome.1 ${PREFIX}/man/man1
+
+ ${INSTALL_DATA} ${BUILDDIR}/*.pak ${PREFIX}/chrome
+
+ ${INSTALL_DATA_DIR} ${PREFIX}/chrome/locales
+ ${INSTALL_DATA} ${BUILDDIR}/locales/* ${PREFIX}/chrome/locales
+ ${INSTALL_DATA} ${BUILDDIR}/*.png ${PREFIX}/chrome
+ ${INSTALL_DATA_DIR} ${PREFIX}/chrome/resources
+ @cp -Rp ${BUILDDIR}/resources/* ${PREFIX}/chrome/resources
+ @chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/chrome/resources
+.for f in libexif.so protoc icudtl.dat mksnapshot
+ ${INSTALL_DATA} ${BUILDDIR}/${f} ${PREFIX}/chrome
+.endfor
+.for s in 22 24 48 64 128 256
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/${s}x${s}/apps
+ ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \
+ ${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${FILESDIR}/chromium-browser.desktop \
+ ${PREFIX}/share/applications/chromium-browser.desktop
+
+.include "../../security/libgnome-keyring/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../sysutils/pciutils/buildlink3.mk"
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/nss/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chromium-new/PLIST b/chromium-new/PLIST
new file mode 100644
index 0000000..15a2a5f
--- /dev/null
+++ b/chromium-new/PLIST
@@ -0,0 +1,217 @@
+@comment $OpenBSD: PLIST,v 1.56 2016/02/06 18:02:18 robert Exp $
+@pkgpath www/chromium,proprietary
+bin/chrome
+chrome/
+@bin chrome/chrome
+chrome/chrome_100_percent.pak
+chrome/chrome_200_percent.pak
+chrome/chrome_material_100_percent.pak
+chrome/chrome_material_200_percent.pak
+chrome/content_resources.pak
+chrome/icudtl.dat
+chrome/keyboard_resources.pak
+chrome/libexif.so
+chrome/locales/
+chrome/locales/am.pak
+chrome/locales/ar.pak
+chrome/locales/bg.pak
+chrome/locales/bn.pak
+chrome/locales/ca.pak
+chrome/locales/cs.pak
+chrome/locales/da.pak
+chrome/locales/de.pak
+chrome/locales/el.pak
+chrome/locales/en-GB.pak
+chrome/locales/en-US.pak
+chrome/locales/es-419.pak
+chrome/locales/es.pak
+chrome/locales/et.pak
+chrome/locales/fa.pak
+chrome/locales/fi.pak
+chrome/locales/fil.pak
+chrome/locales/fr.pak
+chrome/locales/gu.pak
+chrome/locales/he.pak
+chrome/locales/hi.pak
+chrome/locales/hr.pak
+chrome/locales/hu.pak
+chrome/locales/id.pak
+chrome/locales/it.pak
+chrome/locales/ja.pak
+chrome/locales/kn.pak
+chrome/locales/ko.pak
+chrome/locales/lt.pak
+chrome/locales/lv.pak
+chrome/locales/ml.pak
+chrome/locales/mr.pak
+chrome/locales/ms.pak
+chrome/locales/nb.pak
+chrome/locales/nl.pak
+chrome/locales/pl.pak
+chrome/locales/pt-BR.pak
+chrome/locales/pt-PT.pak
+chrome/locales/ro.pak
+chrome/locales/ru.pak
+chrome/locales/sk.pak
+chrome/locales/sl.pak
+chrome/locales/sr.pak
+chrome/locales/sv.pak
+chrome/locales/sw.pak
+chrome/locales/ta.pak
+chrome/locales/te.pak
+chrome/locales/th.pak
+chrome/locales/tr.pak
+chrome/locales/uk.pak
+chrome/locales/vi.pak
+chrome/locales/zh-CN.pak
+chrome/locales/zh-TW.pak
+chrome/mksnapshot
+chrome/product_logo_48.png
+chrome/protoc
+chrome/resources/
+chrome/resources.pak
+chrome/resources/extension/
+chrome/resources/extension/demo/
+chrome/resources/extension/demo/library.js
+chrome/resources/inspector/
+chrome/resources/inspector/Images/
+chrome/resources/inspector/Images/applicationCache.png
+chrome/resources/inspector/Images/breakpoint.png
+chrome/resources/inspector/Images/breakpointConditional.png
+chrome/resources/inspector/Images/breakpointConditional_2x.png
+chrome/resources/inspector/Images/breakpoint_2x.png
+chrome/resources/inspector/Images/checker.png
+chrome/resources/inspector/Images/chromeDisabledSelect.png
+chrome/resources/inspector/Images/chromeDisabledSelect_2x.png
+chrome/resources/inspector/Images/chromeLeft.png
+chrome/resources/inspector/Images/chromeMiddle.png
+chrome/resources/inspector/Images/chromeRight.png
+chrome/resources/inspector/Images/chromeSelect.png
+chrome/resources/inspector/Images/chromeSelect_2x.png
+chrome/resources/inspector/Images/cookie.png
+chrome/resources/inspector/Images/database.png
+chrome/resources/inspector/Images/databaseTable.png
+chrome/resources/inspector/Images/deleteIcon.png
+chrome/resources/inspector/Images/domain.png
+chrome/resources/inspector/Images/errorWave.png
+chrome/resources/inspector/Images/errorWave_2x.png
+chrome/resources/inspector/Images/fileSystem.png
+chrome/resources/inspector/Images/forward.png
+chrome/resources/inspector/Images/frame.png
+chrome/resources/inspector/Images/graphLabelCalloutLeft.png
+chrome/resources/inspector/Images/graphLabelCalloutRight.png
+chrome/resources/inspector/Images/indexedDB.png
+chrome/resources/inspector/Images/indexedDBIndex.png
+chrome/resources/inspector/Images/indexedDBObjectStore.png
+chrome/resources/inspector/Images/localStorage.png
+chrome/resources/inspector/Images/navigationControls.png
+chrome/resources/inspector/Images/navigationControls_2x.png
+chrome/resources/inspector/Images/notifications.svg
+chrome/resources/inspector/Images/paneAddButtons.png
+chrome/resources/inspector/Images/paneFilterButtons.png
+chrome/resources/inspector/Images/paneRefreshButtons.png
+chrome/resources/inspector/Images/popoverArrows.png
+chrome/resources/inspector/Images/profileGroupIcon.png
+chrome/resources/inspector/Images/profileIcon.png
+chrome/resources/inspector/Images/profileSmallIcon.png
+chrome/resources/inspector/Images/radioDot.png
+chrome/resources/inspector/Images/resourceCSSIcon.png
+chrome/resources/inspector/Images/resourceDocumentIcon.png
+chrome/resources/inspector/Images/resourceDocumentIconSmall.png
+chrome/resources/inspector/Images/resourceJSIcon.png
+chrome/resources/inspector/Images/resourcePlainIcon.png
+chrome/resources/inspector/Images/resourcePlainIconSmall.png
+chrome/resources/inspector/Images/resourcesTimeGraphIcon.png
+chrome/resources/inspector/Images/responsiveDesign.png
+chrome/resources/inspector/Images/responsiveDesign_2x.png
+chrome/resources/inspector/Images/searchNext.png
+chrome/resources/inspector/Images/searchPrev.png
+chrome/resources/inspector/Images/securityPropertyInfo.svg
+chrome/resources/inspector/Images/securityPropertyInsecure.svg
+chrome/resources/inspector/Images/securityPropertySecure.svg
+chrome/resources/inspector/Images/securityPropertyUnknown.svg
+chrome/resources/inspector/Images/securityPropertyWarning.svg
+chrome/resources/inspector/Images/securityStateInsecure.svg
+chrome/resources/inspector/Images/securityStateNeutral.svg
+chrome/resources/inspector/Images/securityStateSecure.svg
+chrome/resources/inspector/Images/serviceWorker.svg
+chrome/resources/inspector/Images/sessionStorage.png
+chrome/resources/inspector/Images/settingsListRemove.png
+chrome/resources/inspector/Images/settingsListRemove_2x.png
+chrome/resources/inspector/Images/speech.png
+chrome/resources/inspector/Images/thumbActiveHoriz.png
+chrome/resources/inspector/Images/thumbActiveVert.png
+chrome/resources/inspector/Images/thumbHoriz.png
+chrome/resources/inspector/Images/thumbHoverHoriz.png
+chrome/resources/inspector/Images/thumbHoverVert.png
+chrome/resources/inspector/Images/thumbVert.png
+chrome/resources/inspector/Images/toolbarButtonGlyphs.png
+chrome/resources/inspector/Images/toolbarButtonGlyphs_2x.png
+chrome/resources/inspector/Images/toolbarItemSelected.png
+chrome/resources/inspector/Images/toolbarResizerHorizontal.png
+chrome/resources/inspector/Images/toolbarResizerVertical.png
+chrome/resources/inspector/Images/touchCursor.png
+chrome/resources/inspector/Images/touchCursor_2x.png
+chrome/resources/inspector/Images/updateServiceWorker.svg
+chrome/resources/inspector/InspectorBackendCommands.js
+chrome/resources/inspector/SupportedCSSProperties.js
+chrome/resources/inspector/accessibility_module.js
+chrome/resources/inspector/animation_module.js
+chrome/resources/inspector/audits_module.js
+chrome/resources/inspector/cm_modes_module.js
+chrome/resources/inspector/components_lazy_module.js
+chrome/resources/inspector/console_module.js
+chrome/resources/inspector/devices_module.js
+chrome/resources/inspector/devtools.js
+chrome/resources/inspector/devtools_extension_api.js
+chrome/resources/inspector/diff_module.js
+chrome/resources/inspector/elements_module.js
+chrome/resources/inspector/emulated_devices/
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-2x.png
+chrome/resources/inspector/emulated_devices_module.js
+chrome/resources/inspector/heap_snapshot_worker_module.js
+chrome/resources/inspector/inspector.css
+chrome/resources/inspector/inspector.html
+chrome/resources/inspector/inspector.js
+chrome/resources/inspector/layers_module.js
+chrome/resources/inspector/network_module.js
+chrome/resources/inspector/profiler_module.js
+chrome/resources/inspector/promises_module.js
+chrome/resources/inspector/resources_module.js
+chrome/resources/inspector/screencast_module.js
+chrome/resources/inspector/script_formatter_worker_module.js
+chrome/resources/inspector/security_module.js
+chrome/resources/inspector/settings_module.js
+chrome/resources/inspector/snippets_module.js
+chrome/resources/inspector/source_frame_module.js
+chrome/resources/inspector/sources_module.js
+chrome/resources/inspector/temp_storage_shared_worker_module.js
+chrome/resources/inspector/timeline_module.js
+chrome/resources/inspector/toolbox.css
+chrome/resources/inspector/toolbox.html
+chrome/resources/inspector/toolbox.js
+chrome/resources/inspector/ui_lazy_module.js
+chrome/shell_resources.pak
+@man man/man1/chrome.1
+share/applications/chromium-browser.desktop
+share/icons/hicolor/128x128/apps/chrome.png
+share/icons/hicolor/22x22/apps/chrome.png
+share/icons/hicolor/24x24/apps/chrome.png
+share/icons/hicolor/256x256/apps/chrome.png
+share/icons/hicolor/48x48/apps/chrome.png
+share/icons/hicolor/64x64/apps/chrome.png
+@exec %D/bin/update-desktop-database
+@unexec-delete %D/bin/update-desktop-database
+@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
+@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
diff --git a/chromium-new/distinfo b/chromium-new/distinfo
new file mode 100644
index 0000000..425c4b2
--- /dev/null
+++ b/chromium-new/distinfo
@@ -0,0 +1,327 @@
+$NetBSD$
+
+SHA1 (chromium-48.0.2564.116.tar.xz) = 8c3bc85212c20ce70af4972cd7e9f8e9dcb3d1dc
+RMD160 (chromium-48.0.2564.116.tar.xz) = 99f0b5df7a57a1b87949b83dacd8b3a798f88fc4
+SHA512 (chromium-48.0.2564.116.tar.xz) = 22c653580c1320b00e56a8b055e215b0292518af52e2d7e24b0610950ef1457a03dcec62b5417dd2e1021a2cf42b06d38b2249ee39d97aa662728f4972c54fc6
+Size (chromium-48.0.2564.116.tar.xz) = 432321192 bytes
+SHA1 (patch-apps_apps_gypi) = a2a98273aab4671b2b74ff8922c45ec62a22fb7b
+SHA1 (patch-apps_ui_views_app_window_frame_view_cc) = 386b9d23ec5fdd08d6ea6747bac223ef8321db4c
+SHA1 (patch-ash_display_mirror_window_controller_cc) = 128a1739fe4ea0148f90f6d5ded09d4c9221fd93
+SHA1 (patch-base_atomicops_h) = a95b474ad136469fd522460797f422a36ef4e8e5
+SHA1 (patch-base_base_gypi) = 5f488c63f4c9e01be1fbd36946b7a87947806167
+SHA1 (patch-base_debug_debugger_posix_cc) = dfea1c31173c28ffb0cac670720edc1a11f63195
+SHA1 (patch-base_debug_stack_trace_h) = 8bd629190af965378acb59c46649e3c162e22f7b
+SHA1 (patch-base_debug_stack_trace_posix_cc) = 129684c79897c1036d0329a04fc8a9bd5c512042
+SHA1 (patch-base_message_loop_message_loop_cc) = ea6629ca45948dec699637587093587ee06364cd
+SHA1 (patch-base_posix_unix_domain_socket_linux_cc) = 7cc07d0a8f2cfa2c9b006ee90d55501971e92c69
+SHA1 (patch-base_process_launch_h) = eec2f80f196e1b6c1dda8305a4e2cfc41b679b20
+SHA1 (patch-base_process_memory_cc) = 1569da95cc971e68bf65608c2bdf62e4a37871d3
+SHA1 (patch-base_process_process_iterator_openbsd_cc) = a96daafd4bd1f8591d91505d04c03bb1da08ccb9
+SHA1 (patch-base_process_process_metrics_h) = 6d22d7916d970ef238b1e0cbc4c9476a1ed6387b
+SHA1 (patch-base_process_process_posix_cc) = 73ccef51f5cf5bdff58c6a92d96e26d744b3388f
+SHA1 (patch-base_strings_safe_sprintf_cc) = 647d3590d48538c8a7d08bf8254cd5d26c210daf
+SHA1 (patch-base_sys_info_openbsd_cc) = f42764b21b5f571d28d8a60f3ec847b6e6da7790
+SHA1 (patch-base_sys_info_posix_cc) = e99a7f198d73ec109b9e30b7a05dbf6477eb5c81
+SHA1 (patch-base_threading_platform_thread_linux_cc) = b1900ffe36115fc10bb2393622418a3b7e09a10f
+SHA1 (patch-base_trace_event_process_memory_dump_h) = c25bf2b4766241b9d3b72aa02c5330611c639709
+SHA1 (patch-build_all_gyp) = d7b61631af9a53c6d24a3df6ded17a03ec892225
+SHA1 (patch-build_compiler__version.py) = a7a3bc72c51408ea8e65924fa666c30424b4b396
+SHA1 (patch-build_filename_rules_gypi) = ef7a1358d688102fd04316f64ab1c6e6830ccc79
+SHA1 (patch-chrome_app_chrome_main_delegate_cc) = a723ba5e58fd389bcca47127f4f52938c6cf0599
+SHA1 (patch-chrome_app_chrome_main_delegate_h) = 842efc5f8daba0f26232d328a28fcc8383c942a0
+SHA1 (patch-chrome_app_chromium_strings_grd) = a0f3f2c26209b4ce76f3c799e170de2dd986fbc6
+SHA1 (patch-chrome_app_google_chrome_strings_grd) = 66bd086b555a23c553e9e41113610d7dcb87d53b
+SHA1 (patch-chrome_app_resources_locale_settings_grd) = 88df92705bf1a4cae2dbf3486af4310e9c1982eb
+SHA1 (patch-chrome_app_theme_theme_resources_grd) = e7e0a7a431685bab4301b103708d601d2b74fa3c
+SHA1 (patch-chrome_browser_about_flags_cc) = 6544fb5fb33e7b22d40127e9965defbc548242ad
+SHA1 (patch-chrome_browser_after_startup_task_utils_cc) = 249f38a8c528aa03e81e43b31d8dd9af0581e7ac
+SHA1 (patch-chrome_browser_browser_resources_grd) = 9f96c4055acb702720d7f4a76cc9723796f50eee
+SHA1 (patch-chrome_browser_chrome_browser_main_cc) = 15988cdb15189da5c6cdbb9a9b5bd47252d4c30a
+SHA1 (patch-chrome_browser_chrome_browser_main_linux_cc) = 9794f5d40ec15c542307fce00cb8156237ceb682
+SHA1 (patch-chrome_browser_chrome_content_browser_client_cc) = db49f002ae589ce6c985c5716d5efc8f2fc7e3a8
+SHA1 (patch-chrome_browser_chrome_content_browser_client_h) = 929531a9c853bba300c3071b7b91ff90035d7fd6
+SHA1 (patch-chrome_browser_custom_handlers_protocol_handler_registry_cc) = 2e7c5566c3b2676811b7b588d490fdefb76df225
+SHA1 (patch-chrome_browser_defaults_cc) = 54ba1666204b4cb89acdf5193ed93ad95f549086
+SHA1 (patch-chrome_browser_download_chrome_download_manager_delegate_cc) = 52edf1123472881e375611afe48080cf77685530
+SHA1 (patch-chrome_browser_download_download_commands_cc) = d565f1ba0ff877eefddd0e966827c1f34aeb9d91
+SHA1 (patch-chrome_browser_download_download_commands_h) = 919cc0243e25cecc9b94b45ac2603854d6c184c3
+SHA1 (patch-chrome_browser_download_download_prefs_cc) = 301caa8f50155158bbf9ae5ba5e7ebb8cbfcb97f
+SHA1 (patch-chrome_browser_download_download_prefs_h) = 68f31416f4f39375d19fb52ddea60ad37d18088b
+SHA1 (patch-chrome_browser_download_download_shelf_context_menu_cc) = f6be15cce64f5c8f830139c7e09bf8770c55183a
+SHA1 (patch-chrome_browser_download_download_status_updater_cc) = f5ed58eef48a5d23273103458a41d8c197424dd5
+SHA1 (patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc) = ce19fe5ec52b3f9aa4f0caba6d73bb46ad818888
+SHA1 (patch-chrome_browser_extensions_api_messaging_message_service_cc) = 6945e0a6db9b1ea8600050643916066f3fc700c3
+SHA1 (patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc) = ace5e5e9d6bd58dea0b24e3391c66b99a98df0e9
+SHA1 (patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc) = 24588da152d8e56b3c682187bcf6a3e089498dbf
+SHA1 (patch-chrome_browser_extensions_bookmark_app_helper_cc) = 1e8fcddfed455060a0e85cd793e8798bfc55d900
+SHA1 (patch-chrome_browser_first_run_first_run_internal_posix_cc) = 07100d1900fab27ec9b1a9dd17c83435aa290478
+SHA1 (patch-chrome_browser_gpu_gl_string_manager_cc) = 366aa95789d5bc43557f1717c93c69a3d5648e5d
+SHA1 (patch-chrome_browser_gpu_gpu_feature_checker_cc) = 4b36b99308cb87c238741e4c08fc572257dfc4d7
+SHA1 (patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc) = a435be26cb1a0813df616534c81f5b9da49acb27
+SHA1 (patch-chrome_browser_media_galleries_media_file_system_registry_cc) = 9388124d1be0eee59e65bab1982d4693fcbf0e7c
+SHA1 (patch-chrome_browser_media_galleries_media_folder_finder_cc) = 7e519cbe2a88cf6eb00b53d0e9b9c8e17aecc98e
+SHA1 (patch-chrome_browser_memory_details_cc) = 16405983aff970bed7561fca09616a4e6d5ad2fd
+SHA1 (patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc) = 18dbe9a320d54a2d417df9b119163323cb446791
+SHA1 (patch-chrome_browser_net_async_dns_field_trial_cc) = 02625e9d3dd78358a9719946bacd680d36473dfa
+SHA1 (patch-chrome_browser_notifications_message_center_notification_manager_cc) = 47be0f255a274e01480f2eb58e0d5d5e1e23d113
+SHA1 (patch-chrome_browser_platform_util_linux_cc) = 2e4a82b894d5bdd59e561ab0a6e4ef3956e4075e
+SHA1 (patch-chrome_browser_process_singleton_posix_cc) = 6540c6a31467df1b46e720893d78e9457b36c67a
+SHA1 (patch-chrome_browser_renderer_preferences_util_cc) = 787374606febee3fe99ddeba4c18d94f84a041f5
+SHA1 (patch-chrome_browser_resources_plugin_metadata_plugins_linux_json) = 8a1bf3ac7c7a25b50f1aeefbf8f28c186bce3266
+SHA1 (patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc) = eb682caa650e52ecea26afd94069862b641fd98d
+SHA1 (patch-chrome_browser_speech_tts_controller_impl_cc) = f4bdbb9b2b0a76e1b24dee56ba0cb6d6a238e739
+SHA1 (patch-chrome_browser_ssl_bad_clock_blocking_page_cc) = 5181ca0f231758e1989be75cd5384d21fa182cad
+SHA1 (patch-chrome_browser_sync_profile_sync_components_factory_impl_cc) = 4af8b20eda0523f3dde34da75c7c399f54383324
+SHA1 (patch-chrome_browser_task_manager_task_manager_cc) = 4898ab4417febb854a23fcdbf8650c3f06392ada
+SHA1 (patch-chrome_browser_tracing_crash_service_uploader_cc) = 88a67080eafa8fa391d6067a0a2260fe1ac26ab5
+SHA1 (patch-chrome_browser_ui_app_list_app_list_service_cc) = ad91dbf0ce8833159e2df86b28cefd74adee58a0
+SHA1 (patch-chrome_browser_ui_ash_system_tray_delegate_common_cc) = 6231200d136312702f4d98222dc02ab99e3cf963
+SHA1 (patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc) = c870fc0454f60fefcbade4d4082e1150f6625538
+SHA1 (patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h) = 2ad86cdd720b1c547b1ebe549b6b14db9f3a9ddf
+SHA1 (patch-chrome_browser_ui_browser_command_controller_cc) = 07e43d5545cc5f33b0c79d7e8fede393b95ddaf4
+SHA1 (patch-chrome_browser_ui_browser_view_prefs_cc) = 14538a9b467c81251e8b22a4b31df3f613d44f8b
+SHA1 (patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc) = 375bbfbd7980ca5c9c10f2dbd96da9abc5afaade
+SHA1 (patch-chrome_browser_ui_panels_panel_manager_cc) = 50c199ce6540c26d4a19079b9523533c22175e4d
+SHA1 (patch-chrome_browser_ui_startup_bad_flags_prompt_cc) = 165b7df74d654274a793b7e3669ae3c780ea79ff
+SHA1 (patch-chrome_browser_ui_toolbar_app_menu_model_cc) = 39ed45cb82dd2493841b2343c49a6cb9e1111ba4
+SHA1 (patch-chrome_browser_ui_views_accelerator_table_cc) = d1b3a09efa0974652e1de3d15e7d0c14e217bea1
+SHA1 (patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc) = cee38e0121a8531e005754d86bbf753e71c03713
+SHA1 (patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc) = c618db278e8a1605abe124b63ae3c9b4bac871a9
+SHA1 (patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc) = 80b2031d9da0cea968c7c6a998cf4eca41bff38a
+SHA1 (patch-chrome_browser_ui_views_chrome_views_delegate_cc) = eb776e45fcd640bce49d35f27ac5e4de294b107d
+SHA1 (patch-chrome_browser_ui_views_chrome_views_delegate_h) = 7700432094ce1a37785ab981162e9f5d5f688052
+SHA1 (patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc) = 33415e9e2f848e9d40ec8ace871085c67a65c7d4
+SHA1 (patch-chrome_browser_ui_views_first_run_dialog_cc) = 1f43f3ce85eaaf5892bdc23798b8348299325ca6
+SHA1 (patch-chrome_browser_ui_views_frame_browser_frame_cc) = 14e526301bc3ef67b72ae7a8b05e836ecfdd1b5f
+SHA1 (patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc) = b14074dc8b7855ba9f73463234dbf2e0e77ca2f5
+SHA1 (patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc) = a11e78ce31bb493832a7bde80843b7d4caf55108
+SHA1 (patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc) = 3291d608f3ca994ab893c1751af6220c36a4be44
+SHA1 (patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc) = 24c5cd9b35956347f025f4ac6e2e767d4e08f543
+SHA1 (patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc) = 50d434e4a174e78b8ad801830326fa72dcfb4965
+SHA1 (patch-chrome_browser_ui_views_panels_panel_frame_view_cc) = ab00646fc5baf11d6020ceadd5c82b5e2e5054e2
+SHA1 (patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc) = 4fc6856ac80ad8d28964174b42a9e317f0411bfc
+SHA1 (patch-chrome_browser_ui_views_tabs_tab_strip_cc) = 0249994c09d2d2e1b3289f08afc715c41f9e7992
+SHA1 (patch-chrome_browser_ui_views_task_manager_view_cc) = 6c89c828db2b4d3c557788961847e0b4818ec384
+SHA1 (patch-chrome_browser_ui_webui_about_ui_cc) = f570261e0753d7257a979a2f222339a9746d78d8
+SHA1 (patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc) = 5e3d8b26b2bcfb8cc5369a267443dac16dabe3df
+SHA1 (patch-chrome_browser_ui_webui_options_browser_options_handler_cc) = 5fe653d1d1840f17c03d191608bfdb824628365c
+SHA1 (patch-chrome_browser_ui_webui_options_browser_options_handler_h) = 427d1c0d6ee8ee2c5bc887fd68bb315a67f98308
+SHA1 (patch-chrome_browser_web_applications_web_app_cc) = 6e2a887cc9c624dc03fd7d04dc7f87070870c441
+SHA1 (patch-chrome_browser_web_applications_web_app_h) = 2e29d2fc4a43c323d19340ecb7e058ab56605bff
+SHA1 (patch-chrome_chrome_browser_extensions_gypi) = abe0edac09db893522f6f4a395832e551e80e708
+SHA1 (patch-chrome_chrome_browser_gypi) = 0e7094e853ab946f42697d032a239d3a7c7c6bc4
+SHA1 (patch-chrome_chrome_browser_ui_gypi) = a13ba112e481d781b4a2c13a3c7bc2801fc039f0
+SHA1 (patch-chrome_chrome_common_gypi) = 4c468049a0e87bc0fa26bcbc139b50129260583b
+SHA1 (patch-chrome_chrome_exe_gypi) = 63e7250528190df07baeaa1ea68c2b44bf9ca13c
+SHA1 (patch-chrome_chrome_utility_gypi) = c57ee47a9a3f1c75e90f3bf0281601f56e758786
+SHA1 (patch-chrome_common_chrome_paths_cc) = b142a2b8cd957d649375bed511ecf60d6fc8efd7
+SHA1 (patch-chrome_common_chrome_paths_h) = f2f81cdae75d284f03031506d2c2445c98a7a9ce
+SHA1 (patch-chrome_common_chrome_paths_internal_h) = f3affe09f488a9b338de64a514abe29596388b4b
+SHA1 (patch-chrome_common_chrome_switches_cc) = 1554430d18baba0dfdbba85e5ef89f25c224e9ea
+SHA1 (patch-chrome_common_chrome_switches_h) = eba8d6990e30876ff53322cd67c73b6112b8b5ac
+SHA1 (patch-chrome_common_extensions_api_schemas_gypi) = b0f1a619beaea53f36ec5bb23d80c00330cc8af2
+SHA1 (patch-chrome_common_extensions_command_cc) = 60c213e0d19e15e818dc6d4bd943bc1aa36b73fc
+SHA1 (patch-chrome_common_pref_names_cc) = 760e48ae960879ad84de6fcd839371267cee97ab
+SHA1 (patch-chrome_common_pref_names_h) = d80fa77ecc5f52950a812ce5d94d883f8feac751
+SHA1 (patch-chrome_common_url_constants_cc) = 5fab96137e9fd2225c3cc6f4d2d341ad07149696
+SHA1 (patch-chrome_common_url_constants_h) = 870a3fc989ce959ed652fd6d8967d897c2c54c47
+SHA1 (patch-chrome_common_variations_fieldtrial_testing_config_gyp) = 99cd9876a16562438ef8b1654cc83b87dc9ad961
+SHA1 (patch-chrome_policy_templates_gypi) = f9522beb6273bbcd8b94703ae7687a7133d05925
+SHA1 (patch-chrome_renderer_resources_neterror_js) = e8ee00fece51cbd0b3385cb615bb76b30b7e4ecf
+SHA1 (patch-chrome_utility_media_galleries_image_metadata_extractor_cc) = 228a256a739959df3f86d9ba540db9264363511c
+SHA1 (patch-chromecast_browser_cast_browser_main_parts_cc) = 1274481d5299facf03b75c1e5c66ea72cd97062a
+SHA1 (patch-components_audio_modem_modem_impl_cc) = a596a19ed3cdd176f81d587d8949bfda6e8dced8
+SHA1 (patch-components_cookie_config_cookie_store_util_cc) = 84fe0a3c9aa58e1f0da459b417f53e13a9c654bd
+SHA1 (patch-components_html_viewer_blink_settings_impl_cc) = 1f8248a563661fd271711b3d33f12be67c548df3
+SHA1 (patch-components_metrics_drive_metrics_provider_linux_cc) = f73d6b75ddf545564d711d788d9860d9194e0065
+SHA1 (patch-components_metrics_gypi) = 5932c1821a0e77ffddb9e9a603f1da50a5d198ae
+SHA1 (patch-components_omnibox_browser_omnibox_field_trial_cc) = 62abbe18985df360dd151096cab81280c38ff706
+SHA1 (patch-components_policy_resources_policy_templates_json) = 55cc8085d972225d6403b8cbf84c4b5c393c72ca
+SHA1 (patch-components_policy_tools_generate_policy_source_py) = 97b27e9cb765b5d970ccaa1e2979e77f2c7b3da6
+SHA1 (patch-components_printing_renderer_print_web_view_helper_h) = 77954534b06a685ad08ee458177bf167a31c95c3
+SHA1 (patch-components_storage_monitor_gypi) = 52bd6e07a286b8d086cca167dd71448a21a11085
+SHA1 (patch-components_storage_monitor_storage_monitor_openbsd_cc) = 574ee9b66c47e69476ecea9b60403195760157e1
+SHA1 (patch-components_storage_monitor_storage_monitor_openbsd_h) = 75c718e1b535ae2cfedce3be7d1fcfa7db83b0eb
+SHA1 (patch-content_app_content_main_runner_cc) = 2f6d10b06e1a4734e5dd87a2c144c1e13baf6ca2
+SHA1 (patch-content_browser_accessibility_browser_accessibility_h) = 26e317a61531a01a795a7fc4094b3968accd6c4c
+SHA1 (patch-content_browser_accessibility_browser_accessibility_manager_h) = 4d81d67df5b7b945ff553efa2c82510cc032cb48
+SHA1 (patch-content_browser_browser_main_loop_cc) = e4a5ae6cb29cf55ef7dfd83254745b88b7805549
+SHA1 (patch-content_browser_child_process_launcher_cc) = 44a9c8c5ee0cffc88df3e5c0e9b2dd1fb444ef00
+SHA1 (patch-content_browser_devtools_protocol_color_picker_cc) = 0bc57382c9b4156e2a8f24c4ff7911637a7bb408
+SHA1 (patch-content_browser_download_base_file_cc) = c3341c718ba069ff704db8b6a4e7032d3ea350bb
+SHA1 (patch-content_browser_download_base_file_linux_cc) = eaa7a2700bc957aed8db9ece2db04d12d52b789a
+SHA1 (patch-content_browser_gamepad_gamepad_provider_cc) = 976512b93af553a3643f81ac64cb5041bb94a9d7
+SHA1 (patch-content_browser_geolocation_location_arbitrator_impl_cc) = d666c91a784213695b93313773136892e5de7d2b
+SHA1 (patch-content_browser_gpu_gpu_data_manager_impl_private_cc) = 32c1dcf88bc928d59d2bf2fdf752fbf13095da37
+SHA1 (patch-content_browser_gpu_gpu_internals_ui_cc) = a9a5bb55779543496b895171e8ad2ac8d5ffc9c5
+SHA1 (patch-content_browser_power_usage_monitor_impl_cc) = d99b6d741efede2803b33a9d42bb8e63679afafb
+SHA1 (patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h) = 9ade8cdd86d0072195418f87e70a85ebd5b8a267
+SHA1 (patch-content_browser_renderer_host_render_widget_host_impl_cc) = 08fd30e3be2745a1469aa1eb9e88403ceb784c3d
+SHA1 (patch-content_browser_renderer_host_render_widget_host_view_aura_cc) = cd2add3c89e865bfb364720288df1e220b2a59fb
+SHA1 (patch-content_browser_time_zone_monitor_cc) = dfd1abe62286c835d5bab1b55cfeebdda6a24ee7
+SHA1 (patch-content_common_gpu_gpu_memory_manager_h) = 55bc32d264cf39152656cb9b477277b0ffc5e9d3
+SHA1 (patch-content_common_sandbox_init_openbsd_cc) = 9ce35cf6d87308c441c53f85fd5815436a0fe098
+SHA1 (patch-content_common_sandbox_init_openbsd_h) = 2a7dea923f5fe36f21a6ae7d4daa50a437582051
+SHA1 (patch-content_common_set_process_title_linux_cc) = cad168cb2b93975428326cb4169777121336541b
+SHA1 (patch-content_common_set_process_title_linux_h) = a1f32b0983e76d022381c96b14af8ed95932590a
+SHA1 (patch-content_content_renderer_gypi) = da0e3e9e3fda00ce139ded758e7121891b904f76
+SHA1 (patch-content_gpu_gpu_main_cc) = 6bedfde52607e6452618f586cf9fe9b48fcb6704
+SHA1 (patch-content_ppapi_plugin_ppapi_plugin_main_cc) = 974cdaa3eac0ddfbee4e589275dae6255fb99df7
+SHA1 (patch-content_public_common_content_switches_cc) = cd28ee3320461272323196774ca9efef1700f2af
+SHA1 (patch-content_public_common_content_switches_h) = 1cca9d47e5ac4b847833ac38d33a449e0bba985a
+SHA1 (patch-content_renderer_devtools_v8_sampling_profiler_cc) = 913ff39dd25715ca41598579df859c4e0b8ce0f9
+SHA1 (patch-content_renderer_render_thread_impl_cc) = 571fe2ea03a0708e4b6c85ea3fa8cdac8c4f91ca
+SHA1 (patch-content_renderer_renderer_main_cc) = ae78f5433fce13aa6e410df597ec0e472b581ef2
+SHA1 (patch-content_renderer_renderer_main_platform_delegate_linux_cc) = daeaed28ed165249850cc6a2d31fcebca7d7fefd
+SHA1 (patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc) = e8ed3e9b04ed45573774be67fddbfa595c35ec89
+SHA1 (patch-content_utility_utility_main_cc) = 535d865a3382f1bd6b1fe1ff720fd80965a4a7d9
+SHA1 (patch-dbus_property_cc) = aac8dbac19c35ef061597d51c92f1c9cd832cc14
+SHA1 (patch-device_battery_battery_gyp) = 2d823bf51903e728e7cdf336ac414a19b0cca62c
+SHA1 (patch-device_hid_hid_gyp) = 125418900118b96cda93e7b96ab02b898f6b26d1
+SHA1 (patch-device_serial_serial_gyp) = ef5a088281067304832941d1758084354b018a44
+SHA1 (patch-device_serial_serial_io_handler_posix_cc) = 92c4adea51a2384a762caa990e84d458aa0d473c
+SHA1 (patch-device_serial_serial_service_impl_cc) = fe22628a2018968343dadb16bd118977a08cfe81
+SHA1 (patch-extensions_browser_api_serial_serial_api_cc) = babb21fd791e98dda90706777e3fe39b4a2007c0
+SHA1 (patch-gpu_config_gpu_info_collector_linux_cc) = 6da163f3fdfcf3d3ff5ada94e204628d32717196
+SHA1 (patch-gpu_gles2_conform_support_gles2_conform_support_gyp) = e8652f8073d21556e6516db06bb9c57dcd3f685e
+SHA1 (patch-gpu_gpu_config_gypi) = 6b5814c1ae639e8e116d875c38dc1eee2b74a741
+SHA1 (patch-gpu_tools_tools_gyp) = 130d03ff0912edbaeed39b04951eea56f07c27e8
+SHA1 (patch-media_audio_audio_input_controller_cc) = d377f5dae9e4909c05c05a5b74775a03afe12edb
+SHA1 (patch-media_audio_audio_manager_cc) = 40b99c7a90351f6c6f1b7bbed4db4376632c81c1
+SHA1 (patch-media_audio_audio_manager_h) = 335ea70acacc4090d481cd00458c793c0984672d
+SHA1 (patch-media_capture_video_fake_video_capture_device_factory_cc) = 0eb2fd38903b9f391125b050601795e880260f0c
+SHA1 (patch-media_capture_video_file_video_capture_device_factory_cc) = f3d13efd4052b2763290c7685e50d4fc2e7ce09d
+SHA1 (patch-media_capture_video_video_capture_device_cc) = 4f92b89b1c5105adc7aaae3cd9a63cd55176552f
+SHA1 (patch-media_capture_video_video_capture_device_factory_cc) = f9892013e921a76e8c2b2ef28e4d3e423821526e
+SHA1 (patch-media_capture_video_video_capture_device_h) = 22bc674aa3ca1f8d9bd226e012240de5787955be
+SHA1 (patch-media_media_gyp) = 9d1b5376dd145f4d0d151080922ce0cfda48ad53
+SHA1 (patch-native_client_build_compiler_version_py) = 36a1702f0519c2b6574825cf6c84e2e32c8467a1
+SHA1 (patch-net_base_address_tracker_linux_h) = e0b778ee12b5113d59497bc2652f361a2cdde3ec
+SHA1 (patch-net_base_net_util_cc) = f5addb2332f7a45388848197c3116a2b01dd51b1
+SHA1 (patch-net_base_network_change_notifier_cc) = f0bb4b1d4a4df338174cff9d287af74d8f4c5da0
+SHA1 (patch-net_base_network_interfaces_posix_cc) = 2c548950da9bb9c5bebc27060bb3e6896c7209e7
+SHA1 (patch-net_disk_cache_blockfile_disk_format_h) = a85434714e2898a1a308b930e1ea9562acd37f10
+SHA1 (patch-net_dns_address_sorter_posix_cc) = 94f9b8472e05413f6eb10d93b0ab5f5a06f8ef7b
+SHA1 (patch-net_dns_host_resolver_proc_cc) = ac8cb0a8b8a71b0b67695e69e6ceeeb47a6e4585
+SHA1 (patch-net_http_http_network_session_cc) = 904ddea534197a0328ebb24ed2ab353420af28d0
+SHA1 (patch-net_net_common_gypi) = 8b0ff4c411e4df8d6233562aa0a5d1579feaaaf4
+SHA1 (patch-net_net_gypi) = 4b71b17cc2f804202535d79e38603d2a3a91e248
+SHA1 (patch-net_proxy_proxy_config_service_linux_cc) = 496d53b18e03b505e3dfc4aadf287e6d8ffc40ce
+SHA1 (patch-net_proxy_proxy_service_cc) = 8cae0017fd9471d18c9c8e46e04d3e1a1d19d1d8
+SHA1 (patch-net_socket_socks5_client_socket_cc) = 2e0c6ceb0904f778964913d033d9c394b476c561
+SHA1 (patch-net_tools_get_server_time_get_server_time_cc) = d0ab552e74a23e3d6c58b03e33d14b6580644fbd
+SHA1 (patch-net_udp_udp_socket_posix_cc) = 2857e597555618cdf1b865b8de5d20f6def5aaf6
+SHA1 (patch-net_url_request_url_request_context_builder_cc) = 9fc8cabeb96f9d56cf32cbd8878d3a5329d2838f
+SHA1 (patch-pdf_pdfium_pdfium_engine_cc) = e872b2a97b03b5524683b2168c97d67675db3301
+SHA1 (patch-ppapi_shared_impl_private_net_address_private_impl_cc) = 11a1cb636c4066aeff9a27d30e4456a479a87962
+SHA1 (patch-printing_backend_cups_helper_cc) = a3cd4669bcd0784640625ee192acb3efef4ef8fa
+SHA1 (patch-remoting_remoting_all_gyp) = e69a348f56c158f2a49b8ac7b1a23a0b23fc39b3
+SHA1 (patch-remoting_remoting_host_gypi) = 3a457fee325d254ac3932f600636f905b2bcb9d2
+SHA1 (patch-skia_ext_SkMemory_new_handler_cpp) = e1748ede734f05ac5081f14e9ed2a75334dc940e
+SHA1 (patch-skia_skia_chrome_gypi) = e9bc20864bdaf0a5514715ba8a917f8c85846843
+SHA1 (patch-skia_skia_common_gypi) = 2b40cfcfe9875f13350062e5f7031bd306725493
+SHA1 (patch-sync_util_get_session_name_cc) = c4509dc7f0b07ca236dcc20c53c12b7c8ec447ff
+SHA1 (patch-sync_util_get_session_name_linux_cc) = 4e7379a42804000888295d23309c4e4fa2e7e034
+SHA1 (patch-third__party_catapult_third__party_Paste_paste_urlmap.py) = da39a3ee5e6b4b0d3255bfef95601890afd80709
+SHA1 (patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp) = 4f3278861f6203a7d141209f470b8db7f96668eb
+SHA1 (patch-third_party_WebKit_Source_core_core_gyp) = edb3d1209b2fcf9655b91bc0e44069e1cc61e9d3
+SHA1 (patch-third_party_WebKit_Source_platform_blink_platform_gyp) = 290089a150d9f7fd760e4e5a26d4dc747927cdc9
+SHA1 (patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp) = 09e6e4089edd9bbcae5456788d6694f4ce3f6142
+SHA1 (patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp) = cfd3f5b45e675f661a70a7b71922cb062ceeca43
+SHA1 (patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp) = ac019ce7c4b4b4bc7908d9d06aaeeb318eb62cb8
+SHA1 (patch-third_party_WebKit_Source_platform_heap_ThreadState_h) = 539acfa00e976ab7b673ede198a9be6bb235a798
+SHA1 (patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp) = 1b4c3f7dd8ecdf197c3ed68afd04601cfa3a1b70
+SHA1 (patch-third_party_WebKit_Source_web_web_gyp) = 06407978dde3db75315106edbfc7bb1af2b9749b
+SHA1 (patch-third_party_WebKit_Source_wtf_MathExtras_h) = daca99eb6a0927cbb725ab29d39a4983942f01ee
+SHA1 (patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm) = 2c01287cb6458a46212fda061bb52940926ff5bc
+SHA1 (patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h) = 08006e02acc835c245da640591b8216033dd7740
+SHA1 (patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm) = cf2e69f5a2946e9b56bbd3040dd403c2a1b9d279
+SHA1 (patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h) = 9c4493e198414e6ae0e423b87068f342b5ea5325
+SHA1 (patch-third_party_ffmpeg_ffmpeg_generated_gypi) = 15175c2de1838c5641dd00081bd894246e7c7a0c
+SHA1 (patch-third_party_ffmpeg_ffmpeg_gyp) = ad5e61682398f48bb1353127c93664e200fa984b
+SHA1 (patch-third_party_ffmpeg_libavcodec_x86_cabac_h) = cb1528d562192adaa530e88cf03dc2d6dc8a0ba1
+SHA1 (patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c) = 68f65b3f79d0b29c6afcbac83460a0cc78e79547
+SHA1 (patch-third_party_ffmpeg_libavutil_cpu_c) = 3a63686ab9832ad4e5a61d800e4e977d3e17c4e8
+SHA1 (patch-third_party_ffmpeg_libavutil_mem_c) = de0fcf05784ad1c7f0893180857e1301fdb8f556
+SHA1 (patch-third_party_iccjpeg_iccjpeg_gyp) = bbdf151689b866987604145f803290be06fe2504
+SHA1 (patch-third_party_libXNVCtrl_NVCtrl_c) = c16a2df29a1a6e387d9f843346f00b1d5cdcf443
+SHA1 (patch-third_party_libXNVCtrl_libXNVCtrl_gyp) = a66bc420b99ccf700cfa4d7b11d6aabd25ef2210
+SHA1 (patch-third_party_libjingle_libjingle_gyp) = 74afffc19a27c9da965bff5da9ee7e48ff0fb7ad
+SHA1 (patch-third_party_libjpeg_turbo_libjpeg_gyp) = 5e6dc6e2fcc40d2cf287f2babcb2855154e6725e
+SHA1 (patch-third_party_libusb_src_libusb_core_c) = bbec3ef05c3926e4e8498db5e649542347d30338
+SHA1 (patch-third_party_pdfium_build_standalone_gypi) = 75fb884511e6df5c663cbc4eee5b4b0bb36f8e93
+SHA1 (patch-third_party_pdfium_core_include_fxcrt_fx_system_h) = 1492e01427a18f9a4c0a1fd9ed5cfc999ec0bf0c
+SHA1 (patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp) = c0c1f003f188eb0e81aa4c04d4fa436d30381653
+SHA1 (patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp) = 5a3dfd92c99f2558cfb2bf21252a5a68d5f814db
+SHA1 (patch-third_party_pdfium_pdfium_gyp) = dacdbd0cf4feb0151fd2026fca64c4a20997be27
+SHA1 (patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h) = 6dd75272092cf514797cd3b6effd45c4b15fa792
+SHA1 (patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h) = ae498290d29142ca009470a280e6b39277dfa42a
+SHA1 (patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h) = c22a732020f9961e8f46ed9f2f3cd2d248b75a12
+SHA1 (patch-third_party_skia_gyp_ports_gyp) = ea0f2bf37ac2bd88ab508bd5cd96f1cb28a2c2fa
+SHA1 (patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h) = 8d422e4f6d54375f098a17413e193771abda56bb
+SHA1 (patch-third_party_webrtc_base_base_gyp) = 982281cc8b3b3c02980e5d40a87a1f33a2cd2069
+SHA1 (patch-third_party_webrtc_base_httpcommon_cc) = 987aa71231c9285d4cbbebc5d1e6cba841d373cb
+SHA1 (patch-third_party_webrtc_base_network_cc) = ceea6a76d7d3079a0bba27648d04a1111320286b
+SHA1 (patch-third_party_webrtc_base_physicalsocketserver_cc) = 4301cea4cb10623b414407ed45d1b77b7d877e55
+SHA1 (patch-third_party_webrtc_base_stringutils_h) = 3dbf9b71f3fd08d07c8d5716b8405bc210d9c603
+SHA1 (patch-third_party_webrtc_build_common_gypi) = 87211788de131393f021a17f936bc7ded7aa8397
+SHA1 (patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc) = a26c68ee817cb909626054d7b175157e7a76e51c
+SHA1 (patch-third_party_webrtc_system_wrappers_source_condition_variable_cc) = 5de636543871e7772bf07d2d1b730c42cb01e91a
+SHA1 (patch-third_party_webrtc_system_wrappers_source_thread_posix_cc) = 545f642dff52aa509fc05e579269ece41ffaa6da
+SHA1 (patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc) = 7c34e6f62d21b360918e1a5d0d0194c9bb64a08f
+SHA1 (patch-third_party_yasm_source_config_openbsd_config_h) = 7e9adef1ffaa8602359e80717eae307bb2ce5934
+SHA1 (patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h) = fb026c462e3446645a8425d340da6d573df08a1c
+SHA1 (patch-tools_gyp_pylib_gyp_generator_make_py) = b771c9f8a023cec99fb6241ac3de196554c14e34
+SHA1 (patch-tools_gyp_pylib_gyp_generator_ninja_py) = d216a6ec667cf9d609c0ebea13dfff363d53d905
+SHA1 (patch-ui_accessibility_accessibility_gyp) = c7082c5f84dcd479c2d6359b6267e56d30924c68
+SHA1 (patch-ui_accessibility_platform_ax_platform_node_cc) = c298673c5043b2ce2cc578ef4570bac1c7c04572
+SHA1 (patch-ui_app_list_app_list_constants_cc) = 2ba236a14421ca87ea551d50a94f98a7bc337338
+SHA1 (patch-ui_app_list_app_list_constants_h) = c6973d6e5841a5e65f84b835991acddcd36cbc2d
+SHA1 (patch-ui_app_list_app_list_menu_cc) = e829349500bdc25eae7eee9f9360edbf49bb462f
+SHA1 (patch-ui_app_list_views_app_list_item_view_cc) = 568d04350ebdd4f544929c878ea9b35517b62494
+SHA1 (patch-ui_app_list_views_app_list_view_cc) = b6ede81be2dbbd79a50adfcd19c2e6ce3780a602
+SHA1 (patch-ui_base_ime_input_method_factory_cc) = fefd16eae7f8cd4ead2ade4ccfb9d056df338e30
+SHA1 (patch-ui_base_resource_resource_bundle_cc) = c1290d6f6f2e3f573e4c79f114f40020261c2529
+SHA1 (patch-ui_base_ui_base_gyp) = 2d264f38d26697da1e762a9ba5fc3932d287106a
+SHA1 (patch-ui_base_user_activity_user_activity_detector_cc) = 8dd555d51d38e366a7b9b67bfc9a03eff0bd53e3
+SHA1 (patch-ui_base_webui_web_ui_util_cc) = a132558563ec216b99b9cad0568b8f637293feb5
+SHA1 (patch-ui_events_devices_x11_device_data_manager_x11_cc) = 0421727d06c693d8c12803d3c0ba2c8a9d862927
+SHA1 (patch-ui_events_event_switches_cc) = 00558ffbeda919cc9ca9749d6c018a934daeac25
+SHA1 (patch-ui_events_event_switches_h) = 349428f29fa9f8d27033cd58ff36b4d49414cfc4
+SHA1 (patch-ui_events_keycodes_dom_keycode_converter_cc) = 17dcf8067a36bf596aaafd45666c46a0d6b38ea9
+SHA1 (patch-ui_events_x_keysym_to_unicode_h) = 917ff528fd8b5203cfb282ff8e024c7b1b3a7180
+SHA1 (patch-ui_gfx_canvas_skia_cc) = 155bef7b2bd2b57d60175fc96013fc67305749ce
+SHA1 (patch-ui_gfx_codec_png_codec_cc) = 0bd53edfcc3970a3f6abbc1b1fac5317f30d1549
+SHA1 (patch-ui_gfx_gfx_gyp) = 81f037af6264bbd9f5eee42bec4a4586126ff5fa
+SHA1 (patch-ui_gl_generate_bindings_py) = d366d93a465742c3e3186b89c52433f38ac9185f
+SHA1 (patch-ui_gl_gl_bindings_api_autogen_glx_h) = d39b93af51bc9db2bd644d29ed22451d09d25f4f
+SHA1 (patch-ui_gl_gl_bindings_autogen_glx_h) = c6050abbd54ee8968e224a0afad651b6bc77bf06
+SHA1 (patch-ui_gl_gl_gyp) = bbabb14ab15f7093bea363744cebe036ce6c4ebc
+SHA1 (patch-ui_gl_gl_surface_glx_cc) = ac4b8e96a7bd87269dbd0b230a89145bdda257ab
+SHA1 (patch-ui_gl_sync_control_vsync_provider_cc) = eef88aa6b872e439abf53f788669db76d7505caf
+SHA1 (patch-ui_message_center_message_center_style_h) = 0b720748fe6e43a606f564bf295d2c23e4f6b507
+SHA1 (patch-ui_message_center_views_message_center_button_bar_cc) = 5343cfe7bbb7685a969c37104f5a9a1ed7c8bb57
+SHA1 (patch-ui_message_center_views_message_center_button_bar_h) = 98d0bb2a3767c431adb841177054478fc5681179
+SHA1 (patch-ui_message_center_views_message_center_view_cc) = bda5720ff379ce81ac4da65bde5395280389758c
+SHA1 (patch-ui_message_center_views_notification_view_cc) = a8aa0654d97df87eb0ca3d64f1c5555cf13578b9
+SHA1 (patch-ui_resources_ui_resources_grd) = e6a3913a75ce643d11f27ffcb3230d61b29b2dc2
+SHA1 (patch-ui_shell_dialogs_select_file_dialog_cc) = 4dcbf7c0a81159b3fc0c8c714111012d2ea20d72
+SHA1 (patch-ui_touch_selection_ui_touch_selection_gyp) = bb8350c679a442bd695cbd4050e9b5a86652d305
+SHA1 (patch-ui_views_accessibility_native_view_accessibility_cc) = 6e020ca60188f6de769421fe6b87d334fce08521
+SHA1 (patch-ui_views_bubble_bubble_delegate_cc) = 5a9438c53dacf12e9f0f87aa357c76a9496a8674
+SHA1 (patch-ui_views_controls_button_label_button_cc) = 354c3e821e3cbe0c1ab5bbe81d336d598080a864
+SHA1 (patch-ui_views_controls_combobox_combobox_cc) = 338d11d433422d26b7cdb5e6f6417387912a5e32
+SHA1 (patch-ui_views_controls_scrollbar_base_scroll_bar_cc) = c9c43d95fc167b77c1800025bcef072bea382051
+SHA1 (patch-ui_views_controls_textfield_textfield_cc) = 2e7e71cd41b276f54e2d37a8f905ec19b1c1e768
+SHA1 (patch-ui_views_controls_webview_webview_gyp) = 959443af686b1bb88ac581d9114e700d3cfb8042
+SHA1 (patch-ui_views_views_delegate_cc) = 8b862fc9cd4c6907150ef60f502e46a583bfb9ec
+SHA1 (patch-ui_views_views_delegate_h) = 75294f0dc80772e1ca0c0c2cf37e04ae9151f7ac
+SHA1 (patch-ui_views_views_gyp) = 0e59654149b5425c622e572624b90b0f50725638
+SHA1 (patch-ui_views_views_switches_cc) = 4c6f396375e8de277aa4183e6cde098914518bfa
+SHA1 (patch-ui_views_window_custom_frame_view_cc) = 0ac8793cbf21c9e3fad016bebcef5746738349b6
+SHA1 (patch-ui_views_window_dialog_delegate_cc) = a34e24a0f48662f7ee38f165b944ad6110f65abd
+SHA1 (patch-ui_webui_resources_js_cr_js) = e7e4e8d2d221a2e0299bbb515be5a87b0c31920e
+SHA1 (patch-ui_webui_resources_js_util_js) = d72f6a9562c5884bf3a05a67b408991ad32d2f20
+SHA1 (patch-v8_src_base_platform_platform-openbsd_cc) = cd35ecef3a85828e819d1bd7b3c12015b4c19954
+SHA1 (patch-v8_src_base_platform_platform-posix_cc) = 107630bc69fbce716bbc23c71f6732baf3783d00
+SHA1 (patch-v8_src_log-utils_h) = 40ae4cfa4abf9e31a6b11f958725a489bc53f29a
diff --git a/chromium-new/options.mk b/chromium-new/options.mk
new file mode 100644
index 0000000..7d2bacf
--- /dev/null
+++ b/chromium-new/options.mk
@@ -0,0 +1,42 @@
+# $NetBSD: options.mk,v 1.3 2011/05/27 13:23:09 rxg Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.chromium
+.if ${MACHINE_ARCH} != "arm"
+PKG_SUPPORTED_OPTIONS= cups
+.endif
+PKG_SUPPORTED_OPTIONS+= codecs debug gnome-keyring
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcups)
+GYP_DEFINES+= use_cups=1
+. include "../../print/cups/buildlink3.mk"
+.else
+GYP_DEFINES+= use_cups=0
+.endif
+
+.if !empty(PKG_OPTIONS:Mcodecs)
+FFMPEG_CODECS= Chrome
+FFMPEG_ARGS+= --enable-decoder='theora,vorbis,libvpx,pcm_u8,pcm_s16le,pcm_f32le,aac,h264,mp3'
+FFMPEG_ARGS+= --enable-demuxer='ogg,matroska,wav,mp3,mov'
+FFMPEG_ARGS+= --enable-parser=mpegaudio
+.else
+FFMPEG_CODECS= Chromium
+FFMPEG_ARGS+= --enable-decoder='theora,vorbis,libvpx,pcm_u8,pcm_s16le,pcm_f32le'
+FFMPEG_ARGS+= --enable-demuxer='ogg,matroska,wav'
+.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+BUILDTYPE= Debug
+.else
+BUILDTYPE= Release
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnome-keyring)
+GYP_DEFINES+= linux_link_gnome_keyring=1
+GYP_DEFINES+= use_gnome_keyring=1
+. include "../../security/libgnome-keyring/buildlink3.mk"
+.else
+GYP_DEFINES+= use_gnome_keyring=0
+.endif
diff --git a/chromium-new/patches/patch-apps_apps_gypi b/chromium-new/patches/patch-apps_apps_gypi
new file mode 100644
index 0000000..69b1178
--- /dev/null
+++ b/chromium-new/patches/patch-apps_apps_gypi
@@ -0,0 +1,11 @@
+$OpenBSD: patch-apps_apps_gypi,v 1.2 2014/11/19 21:27:32 robert Exp $
+--- apps/apps.gypi.orig.port Wed Nov 19 06:13:07 2014
++++ apps/apps.gypi Wed Nov 19 08:38:24 2014
+@@ -19,6 +19,7 @@
+ 'chrome_resources.gyp:theme_resources',
+ 'common/extensions/api/api.gyp:chrome_api',
+ '../skia/skia.gyp:skia',
++ 'chrome_resources.gyp:theme_resources',
+ ],
+ 'include_dirs': [
+ '<(INTERMEDIATE_DIR)',
diff --git a/chromium-new/patches/patch-apps_ui_views_app_window_frame_view_cc b/chromium-new/patches/patch-apps_ui_views_app_window_frame_view_cc
new file mode 100644
index 0000000..2b21e25
--- /dev/null
+++ b/chromium-new/patches/patch-apps_ui_views_app_window_frame_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-apps_ui_views_app_window_frame_view_cc,v 1.2 2015/09/05 16:06:50 robert Exp $
+--- apps/ui/views/app_window_frame_view.cc.orig.port Sat Aug 22 21:01:50 2015
++++ apps/ui/views/app_window_frame_view.cc Wed Sep 2 07:31:54 2015
+@@ -132,7 +132,7 @@ gfx::Rect AppWindowFrameView::GetBoundsForClientView()
+ gfx::Rect AppWindowFrameView::GetWindowBoundsForClientBounds(
+ const gfx::Rect& client_bounds) const {
+ gfx::Rect window_bounds = client_bounds;
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Get the difference between the widget's client area bounds and window
+ // bounds, and grow |window_bounds| by that amount.
+ gfx::Insets native_frame_insets =
diff --git a/chromium-new/patches/patch-ash_display_mirror_window_controller_cc b/chromium-new/patches/patch-ash_display_mirror_window_controller_cc
new file mode 100644
index 0000000..4578eb1
--- /dev/null
+++ b/chromium-new/patches/patch-ash_display_mirror_window_controller_cc
@@ -0,0 +1,15 @@
+$OpenBSD: patch-ash_display_mirror_window_controller_cc,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- ash/display/mirror_window_controller.cc.orig.port Wed Oct 7 04:42:06 2015
++++ ash/display/mirror_window_controller.cc Wed Oct 14 07:41:12 2015
+@@ -256,7 +256,11 @@ void MirrorWindowController::UpdateWindow(
+ return info.id() == iter->first;
+ }) == display_info_list.end()) {
+ CloseAndDeleteHost(iter->second, true);
++#if defined(__llvm__)
++ mirroring_host_info_map_.erase(iter++);
++#else
+ iter = mirroring_host_info_map_.erase(iter);
++#endif
+ } else {
+ ++iter;
+ }
diff --git a/chromium-new/patches/patch-base_atomicops_h b/chromium-new/patches/patch-base_atomicops_h
new file mode 100644
index 0000000..8608ab1
--- /dev/null
+++ b/chromium-new/patches/patch-base_atomicops_h
@@ -0,0 +1,15 @@
+$OpenBSD: patch-base_atomicops_h,v 1.15 2015/04/27 16:38:25 robert Exp $
+--- base/atomicops.h.orig.port Wed Apr 15 00:18:48 2015
++++ base/atomicops.h Wed Apr 15 08:32:49 2015
+@@ -66,7 +66,11 @@ typedef intptr_t Atomic64;
+
+ // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
+ // Atomic64 routines below, depending on your architecture.
++//#if defined(OS_OPENBSD) && defined(__i386__)
++//typedef Atomic32 AtomicWord;
++//#else
+ typedef intptr_t AtomicWord;
++//#endif
+
+ // Atomically execute:
+ // result = *ptr;
diff --git a/chromium-new/patches/patch-base_base_gypi b/chromium-new/patches/patch-base_base_gypi
new file mode 100644
index 0000000..63f167b
--- /dev/null
+++ b/chromium-new/patches/patch-base_base_gypi
@@ -0,0 +1,22 @@
+$OpenBSD: patch-base_base_gypi,v 1.39 2016/01/23 18:49:31 robert Exp $
+--- base/base.gypi.orig.port Wed Jan 20 21:01:18 2016
++++ base/base.gypi Fri Jan 22 19:58:58 2016
+@@ -990,11 +990,17 @@
+ 'process/memory_stubs.cc',
+ ],
+ 'sources/': [
++ ['exclude', '^debug/proc_maps_linux\\.cc$'],
+ ['exclude', '^files/file_path_watcher_linux\\.cc$'],
+- ['exclude', '^files/file_path_watcher_stub\\.cc$'],
++ ['exclude', '^files/file_path_watcher_kqueue\\.cc$'],
+ ['exclude', '^files/file_util_linux\\.cc$'],
++ ['exclude', '^process/memory_linux\\.cc$'],
+ ['exclude', '^process/process_linux\\.cc$'],
+ ['exclude', '^sys_info_linux\\.cc$'],
++ ['exclude', '^process/process_iterator_linux\\.cc$'],
++ ['exclude', '^process/process_metrics_linux\\.cc$'],
++ ['exclude', '^files/file_path_watcher_fsevents\\.cc$'],
++ ['exclude', '^files/file_path_watcher_fsevents\\.h$'],
+ ],
+ }],
+ # Remove all unnecessary files for build_nexe.py to avoid exceeding
diff --git a/chromium-new/patches/patch-base_debug_debugger_posix_cc b/chromium-new/patches/patch-base_debug_debugger_posix_cc
new file mode 100644
index 0000000..38593c4
--- /dev/null
+++ b/chromium-new/patches/patch-base_debug_debugger_posix_cc
@@ -0,0 +1,62 @@
+$OpenBSD: patch-base_debug_debugger_posix_cc,v 1.17 2015/10/14 16:42:07 robert Exp $
+--- base/debug/debugger_posix.cc.orig.port Wed Oct 7 04:42:06 2015
++++ base/debug/debugger_posix.cc Wed Oct 14 07:41:12 2015
+@@ -28,6 +28,10 @@
+ #include <sys/sysctl.h>
+ #endif
+
++#if defined(OS_OPENBSD)
++#include <sys/proc.h>
++#endif
++
+ #if defined(OS_FREEBSD)
+ #include <sys/user.h>
+ #endif
+@@ -88,33 +92,38 @@ bool BeingDebugged() {
+
+ // Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and
+ // binary interfaces may change.
+- struct kinfo_proc info;
+- size_t info_size = sizeof(info);
++ struct kinfo_proc *info;
++ size_t info_size;
+
+-#if defined(OS_OPENBSD)
+ if (sysctl(mib, arraysize(mib), NULL, &info_size, NULL, 0) < 0)
+ return -1;
+
++ info = (struct kinfo_proc *)malloc(info_size);
++
+ mib[5] = (info_size / sizeof(struct kinfo_proc));
+-#endif
+
+- int sysctl_result = sysctl(mib, arraysize(mib), &info, &info_size, NULL, 0);
++ int sysctl_result = sysctl(mib, arraysize(mib), info, &info_size, NULL, 0);
+ DCHECK_EQ(sysctl_result, 0);
+ if (sysctl_result != 0) {
+ is_set = true;
+ being_debugged = false;
+- return being_debugged;
++ goto out;
+ }
+
+ // This process is being debugged if the P_TRACED flag is set.
+ is_set = true;
+ #if defined(OS_FREEBSD)
+- being_debugged = (info.ki_flag & P_TRACED) != 0;
++ being_debugged = (info->ki_flag & P_TRACED) != 0;
++#elif defined(OS_OPENBSD) && !defined(_P_TRACED)
++ being_debugged = (info->p_psflags & PS_TRACED) != 0;
+ #elif defined(OS_BSD)
+- being_debugged = (info.p_flag & P_TRACED) != 0;
++ being_debugged = (info->p_flag & P_TRACED) != 0;
+ #else
+- being_debugged = (info.kp_proc.p_flag & P_TRACED) != 0;
++ being_debugged = (info->kp_proc.p_flag & P_TRACED) != 0;
+ #endif
++
++out:
++ free(info);
+ return being_debugged;
+ }
+
diff --git a/chromium-new/patches/patch-base_debug_stack_trace_h b/chromium-new/patches/patch-base_debug_stack_trace_h
new file mode 100644
index 0000000..9851da5
--- /dev/null
+++ b/chromium-new/patches/patch-base_debug_stack_trace_h
@@ -0,0 +1,11 @@
+$OpenBSD: patch-base_debug_stack_trace_h,v 1.2 2013/04/03 08:19:10 robert Exp $
+--- base/debug/stack_trace.h.orig.port Fri Mar 22 02:13:43 2013
++++ base/debug/stack_trace.h Tue Apr 2 21:05:17 2013
+@@ -12,6 +12,7 @@
+ #include "build/build_config.h"
+
+ #if defined(OS_POSIX)
++#include <sys/stdint.h>
+ #include <unistd.h>
+ #endif
+
diff --git a/chromium-new/patches/patch-base_debug_stack_trace_posix_cc b/chromium-new/patches/patch-base_debug_stack_trace_posix_cc
new file mode 100644
index 0000000..5dd5309
--- /dev/null
+++ b/chromium-new/patches/patch-base_debug_stack_trace_posix_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-base_debug_stack_trace_posix_cc,v 1.19 2016/01/23 18:49:31 robert Exp $
+--- base/debug/stack_trace_posix.cc.orig.port Wed Jan 20 21:01:18 2016
++++ base/debug/stack_trace_posix.cc Fri Jan 22 19:58:58 2016
+@@ -567,6 +567,9 @@ class SandboxSymbolizeHelper {
+ // for the modules that are loaded in the current process.
+ // Returns true on success.
+ bool CacheMemoryRegions() {
++#if defined(OS_OPENBSD)
++ return false;
++#else
+ // Reads /proc/self/maps.
+ std::string contents;
+ if (!ReadProcMaps(&contents)) {
+@@ -582,6 +585,7 @@ class SandboxSymbolizeHelper {
+
+ is_initialized_ = true;
+ return true;
++#endif
+ }
+
+ // Opens all object files and caches their file descriptors.
+@@ -712,7 +716,7 @@ StackTrace::StackTrace() {
+ // NOTE: This code MUST be async-signal safe (it's used by in-process
+ // stack dumping signal handler). NO malloc or stdio is allowed here.
+
+-#if !defined(__UCLIBC__)
++#if !defined(__UCLIBC__) && !defined(OS_BSD)
+ // Though the backtrace API man page does not list any possible negative
+ // return values, we take no chance.
+ count_ = base::saturated_cast<size_t>(backtrace(trace_, arraysize(trace_)));
diff --git a/chromium-new/patches/patch-base_message_loop_message_loop_cc b/chromium-new/patches/patch-base_message_loop_message_loop_cc
new file mode 100644
index 0000000..60e5215
--- /dev/null
+++ b/chromium-new/patches/patch-base_message_loop_message_loop_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_message_loop_message_loop_cc,v 1.5 2015/10/14 16:42:07 robert Exp $
+--- base/message_loop/message_loop.cc.orig.port Tue Oct 13 21:04:30 2015
++++ base/message_loop/message_loop.cc Wed Oct 14 07:41:12 2015
+@@ -205,7 +205,7 @@ scoped_ptr<MessagePump> MessageLoop::CreateMessagePump
+ // TODO(rvargas): Get rid of the OS guards.
+ #if defined(USE_GLIB) && !defined(OS_NACL)
+ typedef MessagePumpGlib MessagePumpForUI;
+-#elif defined(OS_LINUX) && !defined(OS_NACL)
++#elif defined(OS_BSD) && !defined(OS_NACL)
+ typedef MessagePumpLibevent MessagePumpForUI;
+ #endif
+
diff --git a/chromium-new/patches/patch-base_posix_unix_domain_socket_linux_cc b/chromium-new/patches/patch-base_posix_unix_domain_socket_linux_cc
new file mode 100644
index 0000000..ecc2d09
--- /dev/null
+++ b/chromium-new/patches/patch-base_posix_unix_domain_socket_linux_cc
@@ -0,0 +1,38 @@
+$OpenBSD: patch-base_posix_unix_domain_socket_linux_cc,v 1.5 2015/09/05 16:06:50 robert Exp $
+--- base/posix/unix_domain_socket_linux.cc.orig.port Sat Aug 22 21:01:50 2015
++++ base/posix/unix_domain_socket_linux.cc Wed Sep 2 07:31:54 2015
+@@ -5,7 +5,10 @@
+ #include "base/posix/unix_domain_socket_linux.h"
+
+ #include <errno.h>
++#include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/socket.h>
++#include <sys/ucred.h>
+ #include <unistd.h>
+
+ #include <vector>
+@@ -25,6 +28,14 @@ namespace base {
+
+ const size_t UnixDomainSocket::kMaxFileDescriptors = 16;
+
++#ifndef SCM_CREDENTIALS
++# define SCM_CREDENTIALS 0x9001
++#endif
++
++#ifndef SO_PASSCRED
++# define SO_PASSCRED 0x9002
++#endif
++
+ #if !defined(OS_NACL_NONSFI)
+ // Creates a connected pair of UNIX-domain SOCK_SEQPACKET sockets, and passes
+ // ownership of the newly allocated file descriptors to |one| and |two|.
+@@ -150,7 +161,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+ cmsg->cmsg_type == SCM_CREDENTIALS) {
+ DCHECK_EQ(payload_len, sizeof(struct ucred));
+ DCHECK_EQ(pid, -1);
+- pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid;
++ pid = getpid();
+ }
+ #endif
+ }
diff --git a/chromium-new/patches/patch-base_process_launch_h b/chromium-new/patches/patch-base_process_launch_h
new file mode 100644
index 0000000..0a2dbf2
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_launch_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_process_launch_h,v 1.2 2015/04/27 16:38:25 robert Exp $
+--- base/process/launch.h.orig.port Wed Apr 15 00:31:20 2015
++++ base/process/launch.h Wed Apr 15 08:32:50 2015
+@@ -131,7 +131,7 @@ struct BASE_EXPORT LaunchOptions {
+ // will be the same as its pid.
+ bool new_process_group;
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // If non-zero, start the process using clone(), using flags as provided.
+ // Unlike in clone, clone_flags may not contain a custom termination signal
+ // that is sent to the parent when the child dies. The termination signal will
diff --git a/chromium-new/patches/patch-base_process_memory_cc b/chromium-new/patches/patch-base_process_memory_cc
new file mode 100644
index 0000000..e10ae02
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_memory_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_process_memory_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- base/process/memory.cc.orig.port Sat Jan 23 10:35:17 2016
++++ base/process/memory.cc Sat Jan 23 10:35:24 2016
+@@ -25,7 +25,7 @@ void TerminateBecauseOutOfMemory(size_t size) {
+ }
+
+ // Defined in memory_mac.mm for Mac.
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+
+ bool UncheckedCalloc(size_t num_items, size_t size, void** result) {
+ const size_t alloc_size = num_items * size;
diff --git a/chromium-new/patches/patch-base_process_process_handle_openbsd_cc b/chromium-new/patches/patch-base_process_process_handle_openbsd_cc
new file mode 100644
index 0000000..cc8adaf
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_process_handle_openbsd_cc
@@ -0,0 +1,92 @@
+$OpenBSD: patch-base_process_process_handle_openbsd_cc,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- base/process/process_handle_openbsd.cc.orig.port Fri Oct 18 20:52:30 2013
++++ base/process/process_handle_openbsd.cc Fri Oct 18 23:28:42 2013
+@@ -4,6 +4,8 @@
+
+ #include "base/process/process_handle.h"
+
++#include <sys/param.h>
++#include <sys/proc.h>
+ #include <sys/sysctl.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+@@ -11,39 +13,64 @@
+ namespace base {
+
+ ProcessId GetParentProcessId(ProcessHandle process) {
+- struct kinfo_proc info;
++ struct kinfo_proc *info;
+ size_t length;
++ pid_t ppid;
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process,
+ sizeof(struct kinfo_proc), 0 };
+
+ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) < 0)
+ return -1;
+
+- mib[5] = (length / sizeof(struct kinfo_proc));
++ info = (struct kinfo_proc *)malloc(length);
+
+- if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0)
++ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) < 0)
+ return -1;
+
+- return info.p_ppid;
++ info = (struct kinfo_proc *)malloc(length);
++
++ mib[5] = (length / sizeof(struct kinfo_proc));
++
++ if (sysctl(mib, arraysize(mib), info, &length, NULL, 0) < 0) {
++ ppid = -1;
++ goto out;
++ }
++
++ ppid = info->p_ppid;
++
++out:
++ free(info);
++ return ppid;
+ }
+
+ FilePath GetProcessExecutablePath(ProcessHandle process) {
+- struct kinfo_proc kp;
+- size_t len;
++ struct kinfo_proc *info;
++ size_t length;
++ char *path = NULL;
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process,
+ sizeof(struct kinfo_proc), 0 };
+
+- if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) == -1)
++ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) == -1)
+ return FilePath();
+- mib[5] = (len / sizeof(struct kinfo_proc));
+- if (sysctl(mib, arraysize(mib), &kp, &len, NULL, 0) < 0)
+- return FilePath();
+- if ((kp.p_flag & P_SYSTEM) != 0)
+- return FilePath();
+- if (strcmp(kp.p_comm, "chrome") == 0)
+- return FilePath(kp.p_comm);
+
+- return FilePath();
++ info = (struct kinfo_proc *)malloc(length);
++
++ mib[5] = (length / sizeof(struct kinfo_proc));
++
++ if (sysctl(mib, arraysize(mib), info, &length, NULL, 0) < 0)
++ goto out;
++
++ if ((info->p_flag & P_SYSTEM) != 0)
++ goto out;
++
++ if (strcmp(info->p_comm, "chrome") == 0) {
++ path = info->p_comm;
++ goto out;
++ }
++
++out:
++ free(info);
++ return FilePath(path);
+ }
+
+ } // namespace base
diff --git a/chromium-new/patches/patch-base_process_process_iterator_openbsd_cc b/chromium-new/patches/patch-base_process_process_iterator_openbsd_cc
new file mode 100644
index 0000000..dfc329a
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_process_iterator_openbsd_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-base_process_process_iterator_openbsd_cc,v 1.1 2013/09/29 19:04:00 robert Exp $
+--- base/process/process_iterator_openbsd.cc.orig.port Sat Sep 28 19:45:12 2013
++++ base/process/process_iterator_openbsd.cc Sat Sep 28 19:46:09 2013
+@@ -5,6 +5,9 @@
+ #include "base/process/process_iterator.h"
+
+ #include <errno.h>
++#include <unistd.h>
++#include <sys/param.h>
++#include <sys/proc.h>
+ #include <sys/sysctl.h>
+
+ #include "base/logging.h"
diff --git a/chromium-new/patches/patch-base_process_process_metrics_h b/chromium-new/patches/patch-base_process_process_metrics_h
new file mode 100644
index 0000000..9ae1220
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_process_metrics_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_process_process_metrics_h,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- base/process/process_metrics.h.orig.port Wed Jan 20 21:01:18 2016
++++ base/process/process_metrics.h Fri Jan 22 19:58:58 2016
+@@ -240,7 +240,7 @@ BASE_EXPORT void SetFdLimit(unsigned int max_descripto
+ #endif // defined(OS_POSIX)
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
+- defined(OS_ANDROID)
++ defined(OS_ANDROID) || defined(OS_BSD)
+ // Data about system-wide memory consumption. Values are in KB. Available on
+ // Windows, Mac, Linux, Android and Chrome OS.
+ //
diff --git a/chromium-new/patches/patch-base_process_process_metrics_openbsd_cc b/chromium-new/patches/patch-base_process_process_metrics_openbsd_cc
new file mode 100644
index 0000000..6c8b28b
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_process_metrics_openbsd_cc
@@ -0,0 +1,130 @@
+$OpenBSD: patch-base_process_process_metrics_openbsd_cc,v 1.5 2015/01/22 11:16:40 robert Exp $
+--- base/process/process_metrics_openbsd.cc.orig.port Wed Dec 3 03:13:19 2014
++++ base/process/process_metrics_openbsd.cc Sat Dec 6 12:13:17 2014
+@@ -4,8 +4,19 @@
+
+ #include "base/process/process_metrics.h"
+
++#include "base/files/file_util.h"
++#include "base/logging.h"
++#include "base/process/internal_linux.h"
++#include "base/strings/string_number_conversions.h"
++#include "base/strings/string_split.h"
++#include "base/strings/string_tokenizer.h"
++#include "base/strings/string_util.h"
++#include "base/sys_info.h"
++#include "base/threading/thread_restrictions.h"
++
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
++#include <sys/vmmeter.h>
+
+ namespace base {
+
+@@ -15,20 +26,27 @@ ProcessMetrics* ProcessMetrics::CreateProcessMetrics(P
+ }
+
+ size_t ProcessMetrics::GetPagefileUsage() const {
+- struct kinfo_proc info;
+- size_t length;
++ struct kinfo_proc *info;
++ size_t length, pfu;
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_,
+ sizeof(struct kinfo_proc), 0 };
+
+ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) < 0)
+ return -1;
+
++ info = (struct kinfo_proc *)malloc(length);
++
+ mib[5] = (length / sizeof(struct kinfo_proc));
+
+- if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0)
+- return -1;
++ if (sysctl(mib, arraysize(mib), info, &length, NULL, 0) < 0) {
++ pfu = -1;
++ goto out;
++ }
++ pfu = (info->p_vm_tsize + info->p_vm_dsize + info->p_vm_ssize);
+
+- return (info.p_vm_tsize + info.p_vm_dsize + info.p_vm_ssize);
++out:
++ free(info);
++ return pfu;
+ }
+
+ size_t ProcessMetrics::GetPeakPagefileUsage() const {
+@@ -36,20 +54,28 @@ size_t ProcessMetrics::GetPeakPagefileUsage() const {
+ }
+
+ size_t ProcessMetrics::GetWorkingSetSize() const {
+- struct kinfo_proc info;
+- size_t length;
++ struct kinfo_proc *info;
++ size_t length, wss;
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_,
+ sizeof(struct kinfo_proc), 0 };
+
+ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) < 0)
+ return -1;
+
++ info = (struct kinfo_proc *)malloc(length);
++
+ mib[5] = (length / sizeof(struct kinfo_proc));
+
+- if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0)
+- return -1;
++ if (sysctl(mib, arraysize(mib), info, &length, NULL, 0) < 0) {
++ wss = -1;
++ goto out;
++ }
+
+- return info.p_vm_rssize * getpagesize();
++ wss = (info->p_vm_rssize * getpagesize());
++
++out:
++ free(info);
++ return wss;
+ }
+
+ size_t ProcessMetrics::GetPeakWorkingSetSize() const {
+@@ -89,20 +115,27 @@ bool ProcessMetrics::GetIOCounters(IoCounters* io_coun
+ }
+
+ static int GetProcessCPU(pid_t pid) {
+- struct kinfo_proc info;
++ struct kinfo_proc *info;
+ size_t length;
++ int pctcpu = 0;
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid,
+ sizeof(struct kinfo_proc), 0 };
+
+ if (sysctl(mib, arraysize(mib), NULL, &length, NULL, 0) < 0)
+ return -1;
+
++ info = (struct kinfo_proc *)malloc(length);
++
+ mib[5] = (length / sizeof(struct kinfo_proc));
+
+- if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0)
+- return 0;
++ if (sysctl(mib, arraysize(mib), info, &length, NULL, 0) < 0)
++ goto out;
+
+- return info.p_pctcpu;
++ pctcpu = info->p_pctcpu;
++
++out:
++ free(info);
++ return pctcpu;
+ }
+
+ double ProcessMetrics::GetCPUUsage() {
+@@ -116,7 +149,6 @@ double ProcessMetrics::GetCPUUsage() {
+ }
+
+ int64 time_delta = (time - last_cpu_time_).InMicroseconds();
+- DCHECK_NE(time_delta, 0);
+
+ if (time_delta == 0)
+ return 0;
diff --git a/chromium-new/patches/patch-base_process_process_posix_cc b/chromium-new/patches/patch-base_process_process_posix_cc
new file mode 100644
index 0000000..8b98291
--- /dev/null
+++ b/chromium-new/patches/patch-base_process_process_posix_cc
@@ -0,0 +1,64 @@
+$OpenBSD: patch-base_process_process_posix_cc,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- base/process/process_posix.cc.orig.port Wed Jan 20 21:01:18 2016
++++ base/process/process_posix.cc Fri Jan 22 19:58:58 2016
+@@ -17,9 +17,13 @@
+ #if defined(OS_MACOSX)
+ #include <sys/event.h>
+ #endif
++#include <signal.h>
+
+ namespace {
+
++const int kBackgroundPriority = 5;
++const int kForegroundPriority = 0;
++
+ #if !defined(OS_NACL_NONSFI)
+
+ bool WaitpidWithTimeout(base::ProcessHandle handle,
+@@ -256,12 +260,10 @@ Process Process::DeprecatedGetProcessFromHandle(Proces
+ return Process(handle);
+ }
+
+-#if !defined(OS_LINUX)
+ // static
+ bool Process::CanBackgroundProcesses() {
+- return false;
++ return true;
+ }
+-#endif // !defined(OS_LINUX)
+
+ bool Process::IsValid() const {
+ return process_ != kNullProcessHandle;
+@@ -357,21 +359,23 @@ bool Process::WaitForExitWithTimeout(TimeDelta timeout
+ return WaitForExitWithTimeoutImpl(Handle(), exit_code, timeout);
+ }
+
+-#if !defined(OS_LINUX)
+ bool Process::IsProcessBackgrounded() const {
+ // See SetProcessBackgrounded().
+ DCHECK(IsValid());
+- return false;
++ return GetPriority() == kBackgroundPriority;
+ }
+
+-bool Process::SetProcessBackgrounded(bool value) {
+- // Not implemented for POSIX systems other than Linux. With POSIX, if we were
+- // to lower the process priority we wouldn't be able to raise it back to its
+- // initial priority.
+- NOTIMPLEMENTED();
+- return false;
++bool Process::SetProcessBackgrounded(bool background) {
++ DCHECK(IsValid());
++
++ if (!CanBackgroundProcesses())
++ return false;
++
++ int priority = background ? kBackgroundPriority : kForegroundPriority;
++ int result = setpriority(PRIO_PROCESS, process_, priority);
++ DPCHECK(result == 0);
++ return result == 0;
+ }
+-#endif // !defined(OS_LINUX)
+
+ int Process::GetPriority() const {
+ DCHECK(IsValid());
diff --git a/chromium-new/patches/patch-base_strings_safe_sprintf_cc b/chromium-new/patches/patch-base_strings_safe_sprintf_cc
new file mode 100644
index 0000000..8778b11
--- /dev/null
+++ b/chromium-new/patches/patch-base_strings_safe_sprintf_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_strings_safe_sprintf_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- base/strings/safe_sprintf.cc.orig.port Wed Jan 20 21:01:18 2016
++++ base/strings/safe_sprintf.cc Fri Jan 22 19:58:58 2016
+@@ -118,7 +118,7 @@ class Buffer {
+ // doesn't really implement constexpr yet so it doesn't complain, but clang
+ // does.
+ #if __cplusplus >= 201103 && !defined(OS_ANDROID) && !defined(OS_MACOSX) && \
+- !defined(OS_IOS) && !(defined(__clang__) && defined(OS_WIN))
++ !defined(OS_IOS) && !(defined(__clang__) && defined(OS_WIN)) && !defined(OS_BSD)
+ COMPILE_ASSERT(kSSizeMaxConst == \
+ static_cast<size_t>(std::numeric_limits<ssize_t>::max()),
+ kSSizeMax_is_the_max_value_of_an_ssize_t);
diff --git a/chromium-new/patches/patch-base_sys_info_openbsd_cc b/chromium-new/patches/patch-base_sys_info_openbsd_cc
new file mode 100644
index 0000000..a88b13f
--- /dev/null
+++ b/chromium-new/patches/patch-base_sys_info_openbsd_cc
@@ -0,0 +1,29 @@
+$OpenBSD: patch-base_sys_info_openbsd_cc,v 1.8 2016/01/06 21:46:44 robert Exp $
+--- base/sys_info_openbsd.cc.orig.port Tue Dec 15 21:05:04 2015
++++ base/sys_info_openbsd.cc Sun Jan 3 22:19:58 2016
+@@ -26,6 +26,8 @@ int64 AmountOfMemory(int pages_name) {
+
+ namespace base {
+
++int64 aofpmem = 0;
++
+ // static
+ int SysInfo::NumberOfProcessors() {
+ int mib[] = { CTL_HW, HW_NCPU };
+@@ -40,12 +42,11 @@ int SysInfo::NumberOfProcessors() {
+
+ // static
+ int64 SysInfo::AmountOfPhysicalMemory() {
+- return AmountOfMemory(_SC_PHYS_PAGES);
+-}
++ // pledge(2)
++ if (!aofpmem)
++ aofpmem = AmountOfMemory(_SC_PHYS_PAGES);
+
+-// static
+-int64 SysInfo::AmountOfAvailablePhysicalMemory() {
+- return AmountOfMemory(_SC_AVPHYS_PAGES);
++ return aofpmem;
+ }
+
+ // static
diff --git a/chromium-new/patches/patch-base_sys_info_posix_cc b/chromium-new/patches/patch-base_sys_info_posix_cc
new file mode 100644
index 0000000..4d91066
--- /dev/null
+++ b/chromium-new/patches/patch-base_sys_info_posix_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-base_sys_info_posix_cc,v 1.5 2014/11/19 21:27:32 robert Exp $
+--- base/sys_info_posix.cc.orig.port Wed Nov 19 05:52:58 2014
++++ base/sys_info_posix.cc Wed Nov 19 08:38:24 2014
+@@ -87,6 +87,17 @@ int64 SysInfo::AmountOfVirtualMemory() {
+ }
+
+ // static
++int64 SysInfo::AmountOfAvailablePhysicalMemory() {
++ long available_pages = sysconf(_SC_AVPHYS_PAGES);
++ long page_size = sysconf(_SC_PAGE_SIZE);
++ if (available_pages == -1 || page_size == -1) {
++ NOTREACHED();
++ return 0;
++ }
++ return static_cast<int64>(available_pages) * page_size;
++}
++
++// static
+ int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) {
+ base::ThreadRestrictions::AssertIOAllowed();
+
diff --git a/chromium-new/patches/patch-base_threading_platform_thread_linux_cc b/chromium-new/patches/patch-base_threading_platform_thread_linux_cc
new file mode 100644
index 0000000..e5e5af2
--- /dev/null
+++ b/chromium-new/patches/patch-base_threading_platform_thread_linux_cc
@@ -0,0 +1,22 @@
+$OpenBSD: patch-base_threading_platform_thread_linux_cc,v 1.8 2015/10/14 16:42:07 robert Exp $
+--- base/threading/platform_thread_linux.cc.orig.port Wed Oct 7 04:42:07 2015
++++ base/threading/platform_thread_linux.cc Wed Oct 14 07:41:12 2015
+@@ -15,7 +15,9 @@
+
+ #if !defined(OS_NACL)
+ #include <pthread.h>
++#if !defined(OS_BSD)
+ #include <sys/prctl.h>
++#endif
+ #include <sys/types.h>
+ #include <unistd.h>
+ #endif
+@@ -79,7 +81,7 @@ void PlatformThread::SetName(const std::string& name)
+ ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name);
+ tracked_objects::ThreadData::InitializeThreadContext(name);
+
+-#if !defined(OS_NACL)
++#if !defined(OS_NACL) && !defined(OS_BSD)
+ // On linux we can get the thread names to show up in the debugger by setting
+ // the process name for the LWP. We don't want to do this for the main
+ // thread because that would rename the process, causing tools like killall
diff --git a/chromium-new/patches/patch-base_trace_event_process_memory_dump_h b/chromium-new/patches/patch-base_trace_event_process_memory_dump_h
new file mode 100644
index 0000000..3627171
--- /dev/null
+++ b/chromium-new/patches/patch-base_trace_event_process_memory_dump_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-base_trace_event_process_memory_dump_h,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- base/trace_event/process_memory_dump.h.orig.port Fri Jan 22 23:16:20 2016
++++ base/trace_event/process_memory_dump.h Fri Jan 22 23:16:29 2016
+@@ -22,7 +22,7 @@
+ // resident memory.
+ // TODO(crbug.com/542671): COUNT_RESIDENT_BYTES_SUPPORTED is disabled on iOS
+ // as it cause memory corruption on iOS 9.0+ devices.
+-#if defined(OS_POSIX) && !defined(OS_NACL) && !defined(OS_IOS)
++#if defined(OS_POSIX) && !defined(OS_NACL) && !defined(OS_IOS) && !defined(OS_BSD)
+ #define COUNT_RESIDENT_BYTES_SUPPORTED
+ #endif
+
diff --git a/chromium-new/patches/patch-build_all_gyp b/chromium-new/patches/patch-build_all_gyp
new file mode 100644
index 0000000..de4f0ce
--- /dev/null
+++ b/chromium-new/patches/patch-build_all_gyp
@@ -0,0 +1,11 @@
+$OpenBSD: patch-build_all_gyp,v 1.28 2016/01/23 18:49:31 robert Exp $
+--- build/all.gyp.orig.port Wed Jan 20 21:01:18 2016
++++ build/all.gyp Fri Jan 22 19:58:58 2016
+@@ -352,7 +352,6 @@
+ '../media/midi/midi.gyp:midi_unittests',
+ '../mojo/mojo.gyp:mojo',
+ '../ppapi/ppapi_internal.gyp:ppapi_unittests',
+- '../remoting/remoting.gyp:remoting_unittests',
+ '../third_party/WebKit/public/all.gyp:all_blink',
+ '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
+ '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
diff --git a/chromium-new/patches/patch-build_common_gypi b/chromium-new/patches/patch-build_common_gypi
new file mode 100644
index 0000000..a213fb9
--- /dev/null
+++ b/chromium-new/patches/patch-build_common_gypi
@@ -0,0 +1,106 @@
+$OpenBSD: patch-build_common_gypi,v 1.42 2016/01/23 18:49:31 robert Exp $
+--- build/common.gypi.orig.port Wed Jan 20 21:01:18 2016
++++ build/common.gypi Fri Jan 22 19:58:58 2016
+@@ -105,7 +105,7 @@
+
+ 'conditions': [
+ # Windows and Linux (including Chrome OS) use Aura and Ash.
+- ['OS=="win" or OS=="linux"', {
++ ['OS=="win" or OS=="linux" or OS=="openbsd"', {
+ 'use_ash%': 1,
+ 'use_aura%': 1,
+ }],
+@@ -229,12 +229,12 @@
+ }],
+
+ # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS).
+- ['OS=="mac" or OS=="win" or OS=="linux"', {
++ ['OS=="mac" or OS=="win" or OS=="linux" or OS=="openbsd"', {
+ 'enable_hidpi%': 1,
+ }],
+
+ # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux.
+- ['chromeos==1 or OS=="win" or OS=="linux"', {
++ ['chromeos==1 or OS=="win" or OS=="linux" or OS=="openbsd"', {
+ 'enable_topchrome_md%': 1,
+ }],
+
+@@ -761,7 +761,7 @@
+ }],
+
+ # DBus usage.
+- ['OS=="linux" and embedded==0', {
++ ['(OS=="linux" or OS=="openbsd") and embedded==0', {
+ 'use_dbus%': 1,
+ }, {
+ 'use_dbus%': 0,
+@@ -868,7 +868,7 @@
+
+ # Use GPU accelerated cross process image transport by default
+ # on linux builds with the Aura window manager
+- ['use_aura==1 and OS=="linux"', {
++ ['use_aura==1 and (OS=="linux" or OS=="openbsd")', {
+ 'ui_compositor_image_transport%': 1,
+ }, {
+ 'ui_compositor_image_transport%': 0,
+@@ -974,7 +974,7 @@
+ # --help for more information. Meant to be overriden with GYP_DEFINES.
+ # TODO(maruel): Remove the conditions as more configurations are
+ # supported.
+- ['OS!="ios" and OS!="android" and chromeos==0', {
++ ['OS!="ios" and OS!="android" and chromeos==0 and OS!="openbsd"', {
+ 'test_isolation_mode%': 'check',
+ }, {
+ 'test_isolation_mode%': 'noop',
+@@ -990,7 +990,7 @@
+ }, {
+ 'use_openmax_dl_fft%': 0,
+ }],
+- ['OS=="win" or OS=="linux"', {
++ ['OS=="win" or OS=="linux" or OS=="openbsd"', {
+ 'enable_mdns%' : 1,
+ }],
+
+@@ -1617,7 +1617,7 @@
+ ['OS=="win"', {
+ 'windows_driver_kit_path%': '$(WDK_DIR)',
+ }],
+- ['os_posix==1 and OS!="mac" and OS!="ios"', {
++ ['os_posix==1 and OS!="mac" and OS!="ios" and OS!="openbsd"', {
+ 'conditions': [
+ ['target_arch=="mipsel" or target_arch=="mips64el"', {
+ 'werror%': '',
+@@ -3609,6 +3609,13 @@
+ },
+ },
+ 'conditions': [
++ ['OS=="openbsd"', {
++ 'target_defaults': {
++ 'cflags': [
++ '-Wno-unknown-warning-option',
++ ],
++ },
++ }],
+ ['os_posix==1', {
+ 'target_defaults': {
+ 'ldflags': [
+@@ -4695,7 +4702,7 @@
+ }],
+ # FreeBSD-specific options; note that most FreeBSD options are set above,
+ # with Linux.
+- ['OS=="freebsd"', {
++ ['OS=="openbsd"', {
+ 'target_defaults': {
+ 'ldflags': [
+ '-Wl,--no-keep-memory',
+@@ -5980,8 +5987,8 @@
+ ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
+ 'and OS!="win"', {
+ 'make_global_settings': [
+- ['CC', '<(make_clang_dir)/bin/clang'],
+- ['CXX', '<(make_clang_dir)/bin/clang++'],
++ ['CC', '/usr/local/bin/clang'],
++ ['CXX', '/usr/local/bin/clang++'],
+ ['CC.host', '$(CC)'],
+ ['CXX.host', '$(CXX)'],
+ ],
diff --git a/chromium-new/patches/patch-build_filename_rules_gypi b/chromium-new/patches/patch-build_filename_rules_gypi
new file mode 100644
index 0000000..2e96153
--- /dev/null
+++ b/chromium-new/patches/patch-build_filename_rules_gypi
@@ -0,0 +1,12 @@
+$OpenBSD: patch-build_filename_rules_gypi,v 1.1 2014/07/20 17:22:33 robert Exp $
+--- build/filename_rules.gypi.orig.port Fri Jul 18 23:35:30 2014
++++ build/filename_rules.gypi Fri Jul 18 23:41:13 2014
+@@ -85,7 +85,7 @@
+ ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', {
+ 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ]
+ }],
+- ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', {
++ ['<(use_aura)==0 or (OS!="linux" and OS!="openbsd") or >(nacl_untrusted_build)==1', {
+ 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ]
+ }],
+ ['<(use_ash)==0 or >(nacl_untrusted_build)==1', {
diff --git a/chromium-new/patches/patch-chrome_app_chrome_main_delegate_cc b/chromium-new/patches/patch-chrome_app_chrome_main_delegate_cc
new file mode 100644
index 0000000..90dbbaa
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_chrome_main_delegate_cc
@@ -0,0 +1,84 @@
+$OpenBSD: patch-chrome_app_chrome_main_delegate_cc,v 1.27 2016/01/23 18:49:31 robert Exp $
+--- chrome/app/chrome_main_delegate.cc.orig.port Wed Jan 20 21:01:18 2016
++++ chrome/app/chrome_main_delegate.cc Fri Jan 22 19:58:58 2016
+@@ -76,7 +76,7 @@
+ #include "components/crash/content/app/crash_reporter_client.h"
+ #endif
+
+-#if !defined(DISABLE_NACL) && defined(OS_LINUX)
++#if !defined(DISABLE_NACL) && defined(OS_LINUX) && !defined(OS_BSD)
+ #include "components/nacl/common/nacl_paths.h"
+ #include "components/nacl/zygote/nacl_fork_delegate_linux.h"
+ #endif
+@@ -107,7 +107,7 @@
+ #include "components/crash/content/app/breakpad_linux.h"
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "base/environment.h"
+ #endif
+
+@@ -145,7 +145,7 @@ base::LazyInstance<ChromeContentBrowserClient> g_chrom
+ LAZY_INSTANCE_INITIALIZER;
+ #endif
+
+-#if defined(OS_POSIX)
++#if defined(OS_POSIX) && !defined(OS_BSD)
+ base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client =
+ LAZY_INSTANCE_INITIALIZER;
+ #endif
+@@ -252,7 +252,7 @@ bool SubprocessNeedsResourceBundle(const std::string&
+ // Mac needs them for the plugin process name.
+ process_type == switches::kPluginProcess ||
+ #endif
+-#if defined(OS_POSIX) && !defined(OS_MACOSX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ // The zygote process opens the resources for the renderers.
+ process_type == switches::kZygoteProcess ||
+ #endif
+@@ -304,7 +304,7 @@ void HandleHelpSwitches(const base::CommandLine& comma
+ }
+ #endif
+
+-#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ void SIGTERMProfilingShutdown(int signal) {
+ Profiling::Stop();
+ struct sigaction sigact;
+@@ -338,7 +338,7 @@ void InitializeUserDataDir() {
+ std::string process_type =
+ command_line->GetSwitchValueASCII(switches::kProcessType);
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // On Linux, Chrome does not support running multiple copies under different
+ // DISPLAYs, so the profile directory can be specified in the environment to
+ // support the virtual desktop use-case.
+@@ -665,7 +665,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
+ std::string process_type =
+ command_line.GetSwitchValueASCII(switches::kProcessType);
+
+-#if defined(OS_POSIX)
++#if defined(OS_POSIX) && !defined(OS_BSD)
+ crash_reporter::SetCrashReporterClient(g_chrome_crash_client.Pointer());
+ #endif
+
+@@ -786,7 +786,7 @@ void ChromeMainDelegate::PreSandboxStartup() {
+ chrome::InitializePDF();
+ #endif
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ // Zygote needs to call InitCrashReporter() in RunZygote().
+ if (process_type != switches::kZygoteProcess) {
+ #if defined(OS_ANDROID)
+@@ -910,7 +910,7 @@ bool ChromeMainDelegate::DelaySandboxInitialization(
+ #endif
+ return process_type == switches::kRelauncherProcess;
+ }
+-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
++#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ void ChromeMainDelegate::ZygoteStarting(
+ ScopedVector<content::ZygoteForkDelegate>* delegates) {
+ #if !defined(DISABLE_NACL)
diff --git a/chromium-new/patches/patch-chrome_app_chrome_main_delegate_h b/chromium-new/patches/patch-chrome_app_chrome_main_delegate_h
new file mode 100644
index 0000000..2e771d3
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_chrome_main_delegate_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_app_chrome_main_delegate_h,v 1.5 2015/04/27 16:38:25 robert Exp $
+--- chrome/app/chrome_main_delegate.h.orig.port Wed Apr 15 00:31:21 2015
++++ chrome/app/chrome_main_delegate.h Wed Apr 15 08:32:50 2015
+@@ -36,7 +36,7 @@ class ChromeMainDelegate : public content::ContentMain
+ const std::string& process_type) override;
+ bool ShouldSendMachPort(const std::string& process_type) override;
+ bool DelaySandboxInitialization(const std::string& process_type) override;
+-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
++#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ void ZygoteStarting(
+ ScopedVector<content::ZygoteForkDelegate>* delegates) override;
+ void ZygoteForked() override;
diff --git a/chromium-new/patches/patch-chrome_app_chromium_strings_grd b/chromium-new/patches/patch-chrome_app_chromium_strings_grd
new file mode 100644
index 0000000..bf07652
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_chromium_strings_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_app_chromium_strings_grd,v 1.13 2016/01/23 18:49:31 robert Exp $
+--- chrome/app/chromium_strings.grd.orig.port Wed Jan 20 21:01:18 2016
++++ chrome/app/chromium_strings.grd Fri Jan 22 19:58:58 2016
+@@ -1014,7 +1014,7 @@ Signing in anyway will merge Chromium information like
+ </message>
+
+ <!-- ProcessSingleton -->
+- <if expr="is_linux or is_macosx">
++ <if expr="is_linux or is_macosx or is_bsd">
+ <message name="IDS_PROFILE_IN_USE_POSIX" desc="Message shown when the browser cannot start because the profile is in use on a different host.">
+ The profile appears to be in use by another Chromium process (<ph name="PROCESS_ID">$1<ex>12345</ex></ph>) on another computer (<ph name="HOST_NAME">$2<ex>example.com</ex></ph>). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
+ </message>
diff --git a/chromium-new/patches/patch-chrome_app_google_chrome_strings_grd b/chromium-new/patches/patch-chrome_app_google_chrome_strings_grd
new file mode 100644
index 0000000..bbe82a6
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_google_chrome_strings_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_app_google_chrome_strings_grd,v 1.12 2016/01/23 18:49:31 robert Exp $
+--- chrome/app/google_chrome_strings.grd.orig.port Wed Jan 20 21:01:18 2016
++++ chrome/app/google_chrome_strings.grd Fri Jan 22 19:58:58 2016
+@@ -1015,7 +1015,7 @@ Signing in anyway will merge Chrome information like b
+ </message>
+
+ <!-- ProcessSingleton -->
+- <if expr="is_linux or is_macosx">
++ <if expr="is_linux or is_macosx or is_bsd">
+ <message name="IDS_PROFILE_IN_USE_POSIX" desc="Message shown when the browser cannot start because the profile is in use on a different host.">
+ The profile appears to be in use by another Google Chrome process (<ph name="PROCESS_ID">$1<ex>12345</ex></ph>) on another computer (<ph name="HOST_NAME">$2<ex>example.com</ex></ph>). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
+ </message>
diff --git a/chromium-new/patches/patch-chrome_app_resources_locale_settings_grd b/chromium-new/patches/patch-chrome_app_resources_locale_settings_grd
new file mode 100644
index 0000000..747c0ea
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_resources_locale_settings_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_app_resources_locale_settings_grd,v 1.2 2015/10/14 16:42:07 robert Exp $
+--- chrome/app/resources/locale_settings.grd.orig.port Wed Oct 7 04:42:07 2015
++++ chrome/app/resources/locale_settings.grd Wed Oct 14 07:41:13 2015
+@@ -234,7 +234,7 @@
+ 55
+ </message>
+
+- <if expr="is_win or is_linux or chromeos">
++ <if expr="is_win or is_linux or chromeos or is_bsd">
+ <!-- The width of the ash/ChromeOS system tray menu in pixels. -->
+ <message name="IDS_SYSTEM_TRAY_MENU_BUBBLE_WIDTH_PIXELS" use_name_for_id="true">
+ 300
diff --git a/chromium-new/patches/patch-chrome_app_theme_theme_resources_grd b/chromium-new/patches/patch-chrome_app_theme_theme_resources_grd
new file mode 100644
index 0000000..5d40e2a
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_app_theme_theme_resources_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_app_theme_theme_resources_grd,v 1.19 2016/01/23 18:49:31 robert Exp $
+--- chrome/app/theme/theme_resources.grd.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/app/theme/theme_resources.grd Fri Jan 22 19:58:58 2016
+@@ -472,7 +472,7 @@
+ <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_PERIPHERAL_BATTERY_LOW" file="cros/notification_peripheral_battery_low.png" />
+ <structure type="chrome_scaled_image" name="IDR_PORTAL_DETECTION_ALERT" file="cros/captive_portal_icon.png" />
+ </if>
+- <if expr="is_win or desktop_linux">
++ <if expr="is_win or desktop_linux or is_posix">
+ <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_TRAY_DO_NOT_DISTURB_ATTENTION" file="common/notification_tray_do_not_disturb_attention.png" />
+ <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_TRAY_DO_NOT_DISTURB_EMPTY" file="common/notification_tray_do_not_disturb_empty.png" />
+ <structure type="chrome_scaled_image" name="IDR_NOTIFICATION_TRAY_ATTENTION" file="common/notification_tray_attention.png" />
diff --git a/chromium-new/patches/patch-chrome_browser_about_flags_cc b/chromium-new/patches/patch-chrome_browser_about_flags_cc
new file mode 100644
index 0000000..7215914
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_about_flags_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_about_flags_cc,v 1.23 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/about_flags.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/about_flags.cc Fri Jan 22 19:58:58 2016
+@@ -755,7 +755,7 @@ const FeatureEntry kFeatureEntries[] = {
+ // On by default for the Mac (different implementation in WebKit).
+ kOsLinux | kOsWin,
+ SINGLE_VALUE_TYPE(switches::kEnableSmoothScrolling)},
+-#if defined(USE_AURA) || defined(OS_LINUX)
++#if defined(USE_AURA) || defined(OS_LINUX) || defined(OS_BSD)
+ {"overlay-scrollbars",
+ IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_NAME,
+ IDS_FLAGS_ENABLE_OVERLAY_SCROLLBARS_DESCRIPTION,
+@@ -877,7 +877,7 @@ const FeatureEntry kFeatureEntries[] = {
+ SINGLE_VALUE_TYPE(switches::kEnableSpellingAutoCorrect)},
+ #endif
+ #if defined(ENABLE_SPELLCHECK) && \
+- (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS))
++ (defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_BSD))
+ {"enable-multilingual-spellchecker",
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_NAME,
+ IDS_FLAGS_ENABLE_MULTILINGUAL_SPELLCHECKER_DESCRIPTION,
diff --git a/chromium-new/patches/patch-chrome_browser_after_startup_task_utils_cc b/chromium-new/patches/patch-chrome_browser_after_startup_task_utils_cc
new file mode 100644
index 0000000..2a1e324
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_after_startup_task_utils_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_after_startup_task_utils_cc,v 1.1 2015/09/25 13:08:54 robert Exp $
+--- chrome/browser/after_startup_task_utils.cc.orig.port Thu Sep 24 12:59:35 2015
++++ chrome/browser/after_startup_task_utils.cc Thu Sep 24 13:01:01 2015
+@@ -89,7 +89,7 @@ void QueueTask(scoped_ptr<AfterStartupTask> queued_tas
+
+ void SetBrowserStartupIsComplete() {
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
+-#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ // CurrentProcessInfo::CreationTime() is not available on all platforms.
+ const base::Time process_creation_time =
+ base::CurrentProcessInfo::CreationTime();
diff --git a/chromium-new/patches/patch-chrome_browser_browser_resources_grd b/chromium-new/patches/patch-chrome_browser_browser_resources_grd
new file mode 100644
index 0000000..0de20e3
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_browser_resources_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_browser_resources_grd,v 1.24 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/browser_resources.grd.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/browser_resources.grd Fri Jan 22 19:58:58 2016
+@@ -259,7 +259,7 @@
+ <include name="IDR_ABOUT_VOICESEARCH_JS" file="resources\about_voicesearch.js" type="BINDATA" />
+ <include name="IDR_PLUGIN_DB_JSON" file="resources\plugin_metadata\plugins_chromeos.json" type="BINDATA" />
+ </if>
+- <if expr="desktop_linux or (is_android and enable_plugins)">
++ <if expr="desktop_linux or (is_android and enable_plugins) or is_posix">
+ <include name="IDR_PLUGIN_DB_JSON" file="resources\plugin_metadata\plugins_linux.json" type="BINDATA" />
+ </if>
+ <if expr="is_android">
diff --git a/chromium-new/patches/patch-chrome_browser_chrome_browser_main_cc b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_cc
new file mode 100644
index 0000000..67b60a9
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_browser_chrome_browser_main_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/chrome_browser_main.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/chrome_browser_main.cc Fri Jan 22 19:58:58 2016
+@@ -161,7 +161,7 @@
+ #include "chrome/browser/feedback/feedback_profile_observer.h"
+ #endif // defined(OS_ANDROID)
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "chrome/browser/first_run/upgrade_util_linux.h"
+ #include "chrome/browser/sxs_linux.h"
+ #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
+@@ -1050,7 +1050,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
+ }
+ #endif // !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
+
+-#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_MACOSX)
++#if defined(OS_LINUX) || defined(OS_MACOSX)
+ // Set the product channel for crash reports.
+ base::debug::SetCrashKeyValue(crash_keys::kChannel,
+ chrome::GetChannelString());
+@@ -1402,7 +1402,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl(
+ return chrome::RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS;
+ #endif // defined(OS_WIN)
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ if (sxs_linux::ShouldMigrateUserDataDir())
+ return sxs_linux::MigrateUserDataDir();
+ #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
diff --git a/chromium-new/patches/patch-chrome_browser_chrome_browser_main_linux_cc b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_linux_cc
new file mode 100644
index 0000000..604936d
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_linux_cc
@@ -0,0 +1,28 @@
+$OpenBSD: patch-chrome_browser_chrome_browser_main_linux_cc,v 1.1 2016/01/31 16:49:31 robert Exp $
+--- chrome/browser/chrome_browser_main_linux.cc.orig.port Sun Jan 31 17:46:49 2016
++++ chrome/browser/chrome_browser_main_linux.cc Sat Jan 30 18:45:46 2016
+@@ -61,12 +61,14 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() {
+ void ChromeBrowserMainPartsLinux::PostProfileInit() {
+ ChromeBrowserMainPartsPosix::PostProfileInit();
+
++#if !defined(OS_BSD)
+ g_browser_process->metrics_service()->RecordBreakpadRegistration(
+ breakpad::IsCrashReporterEnabled());
++#endif
+ }
+
+ void ChromeBrowserMainPartsLinux::PostMainMessageLoopStart() {
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ bluez::DBusThreadManagerLinux::Initialize();
+ bluez::BluezDBusManager::Initialize(
+ bluez::DBusThreadManagerLinux::Get()->GetSystemBus(), false);
+@@ -76,7 +78,7 @@ void ChromeBrowserMainPartsLinux::PostMainMessageLoopS
+ }
+
+ void ChromeBrowserMainPartsLinux::PostDestroyThreads() {
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ bluez::BluezDBusManager::Shutdown();
+ bluez::DBusThreadManagerLinux::Shutdown();
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_chrome_browser_main_posix_cc b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_posix_cc
new file mode 100644
index 0000000..3040d01
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_chrome_browser_main_posix_cc
@@ -0,0 +1,23 @@
+$OpenBSD: patch-chrome_browser_chrome_browser_main_posix_cc,v 1.10 2014/09/11 19:04:52 robert Exp $
+--- chrome/browser/chrome_browser_main_posix.cc.orig.port Wed Sep 10 22:14:04 2014
++++ chrome/browser/chrome_browser_main_posix.cc Wed Sep 10 22:14:59 2014
+@@ -270,6 +270,11 @@ void ChromeBrowserMainPartsPosix::PostMainMessageLoopS
+ g_pipe_pid = getpid();
+ g_shutdown_pipe_read_fd = pipefd[0];
+ g_shutdown_pipe_write_fd = pipefd[1];
++#if defined(OS_OPENBSD)
++ // PTHREAD_STACK_MIN causes chromium to crash under FreeBSD,
++ // we request the default pthread stack size by specifying 0 here.
++ const size_t kShutdownDetectorThreadStackSize = 0;
++#else
+ #if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS)
+ const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 2;
+ #else
+@@ -277,6 +282,7 @@ void ChromeBrowserMainPartsPosix::PostMainMessageLoopS
+ // shadow stacks) bloat the stack frames, so we need to increase the stack
+ // size to avoid hitting the guard page.
+ const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 4;
++#endif
+ #endif
+ // TODO(viettrungluu,willchan): crbug.com/29675 - This currently leaks, so
+ // if you change this, you'll probably need to change the suppression.
diff --git a/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_cc b/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_cc
new file mode 100644
index 0000000..da2e82e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_cc
@@ -0,0 +1,57 @@
+$OpenBSD: patch-chrome_browser_chrome_content_browser_client_cc,v 1.25 2016/01/29 16:56:10 robert Exp $
+--- chrome/browser/chrome_content_browser_client.cc.orig.port Wed Jan 27 18:00:44 2016
++++ chrome/browser/chrome_content_browser_client.cc Fri Jan 29 17:39:15 2016
+@@ -178,7 +178,7 @@
+ #include "chrome/browser/chromeos/system/input_device_settings.h"
+ #include "chromeos/chromeos_switches.h"
+ #include "components/user_manager/user_manager.h"
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ #include "chrome/browser/chrome_browser_main_linux.h"
+ #elif defined(OS_ANDROID)
+ #include "chrome/browser/android/new_tab_page_url_handler.h"
+@@ -193,7 +193,7 @@
+ #include "chrome/browser/chrome_browser_main_posix.h"
+ #endif
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ #include "base/debug/leak_annotations.h"
+ #include "components/crash/content/app/breakpad_linux.h"
+ #include "components/crash/content/browser/crash_handler_host_linux.h"
+@@ -464,7 +464,7 @@ bool CertMatchesFilter(const net::X509Certificate& cer
+ return false;
+ }
+
+-#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
++#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ breakpad::CrashHandlerHostLinux* CreateCrashHandlerHost(
+ const std::string& process_type) {
+ base::FilePath dumps_path;
+@@ -721,7 +721,7 @@ content::BrowserMainParts* ChromeContentBrowserClient:
+ main_parts = new ChromeBrowserMainPartsMac(parameters);
+ #elif defined(OS_CHROMEOS)
+ main_parts = new chromeos::ChromeBrowserMainPartsChromeos(parameters);
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ main_parts = new ChromeBrowserMainPartsLinux(parameters);
+ #elif defined(OS_ANDROID)
+ main_parts = new ChromeBrowserMainPartsAndroid(parameters);
+@@ -1371,7 +1371,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLin
+ command_line->AppendSwitchASCII(switches::kMetricsClientID,
+ client_info->client_id);
+ }
+-#elif defined(OS_POSIX)
++#elif defined(OS_POSIX) && !defined(OS_BSD)
+ if (breakpad::IsCrashReporterEnabled()) {
+ scoped_ptr<metrics::ClientInfo> client_info =
+ GoogleUpdateSettings::LoadMetricsClientInfo();
+@@ -2498,7 +2498,7 @@ void ChromeContentBrowserClient::GetAdditionalMappedFi
+ PathService::Get(base::DIR_ANDROID_APP_DATA, &app_data_path);
+ DCHECK(!app_data_path.empty());
+ }
+-#elif defined(OS_POSIX) && !defined(OS_MACOSX)
++#elif defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
+ const base::CommandLine& command_line,
+ int child_process_id,
diff --git a/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_h b/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_h
new file mode 100644
index 0000000..d23e2b0
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_chrome_content_browser_client_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_chrome_content_browser_client_h,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/chrome_content_browser_client.h.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/chrome_content_browser_client.h Fri Jan 22 19:58:58 2016
+@@ -264,7 +264,7 @@ class ChromeContentBrowserClient : public content::Con
+ int child_process_id,
+ content::FileDescriptorInfo* mappings,
+ std::map<int, base::MemoryMappedFile::Region>* regions) override;
+-#elif defined(OS_POSIX) && !defined(OS_MACOSX)
++#elif defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ void GetAdditionalMappedFilesForChildProcess(
+ const base::CommandLine& command_line,
+ int child_process_id,
diff --git a/chromium-new/patches/patch-chrome_browser_custom_handlers_protocol_handler_registry_cc b/chromium-new/patches/patch-chrome_browser_custom_handlers_protocol_handler_registry_cc
new file mode 100644
index 0000000..f7f5207
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_custom_handlers_protocol_handler_registry_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_custom_handlers_protocol_handler_registry_cc,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/custom_handlers/protocol_handler_registry.cc.orig.port Fri Nov 13 12:04:14 2015
++++ chrome/browser/custom_handlers/protocol_handler_registry.cc Wed Dec 2 08:18:32 2015
+@@ -42,7 +42,7 @@ const ProtocolHandler& LookupHandler(
+ // If true default protocol handlers will be removed if the OS level
+ // registration for a protocol is no longer Chrome.
+ bool ShouldRemoveHandlersNotInOS() {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // We don't do this on Linux as the OS registration there is not reliable,
+ // and Chrome OS doesn't have any notion of OS registration.
+ // TODO(benwells): When Linux support is more reliable remove this
diff --git a/chromium-new/patches/patch-chrome_browser_defaults_cc b/chromium-new/patches/patch-chrome_browser_defaults_cc
new file mode 100644
index 0000000..3c37f29
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_defaults_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_defaults_cc,v 1.6 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/defaults.cc.orig.port Fri Nov 13 12:04:14 2015
++++ chrome/browser/defaults.cc Wed Dec 2 08:18:32 2015
+@@ -45,7 +45,7 @@ const bool kSyncAutoStarts = false;
+ const bool kShowOtherBrowsersInAboutMemory = true;
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ const bool kScrollEventChangesTab = true;
+ #else
+ const bool kScrollEventChangesTab = false;
diff --git a/chromium-new/patches/patch-chrome_browser_download_chrome_download_manager_delegate_cc b/chromium-new/patches/patch-chrome_browser_download_chrome_download_manager_delegate_cc
new file mode 100644
index 0000000..b2f2373
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_chrome_download_manager_delegate_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_download_chrome_download_manager_delegate_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/download/chrome_download_manager_delegate.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/download/chrome_download_manager_delegate.cc Fri Jan 22 19:58:58 2016
+@@ -740,7 +740,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDe
+
+ bool ChromeDownloadManagerDelegate::IsOpenInBrowserPreferreredForFile(
+ const base::FilePath& path) {
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) {
+ return !download_prefs_->ShouldOpenPdfInSystemReader();
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_commands_cc b/chromium-new/patches/patch-chrome_browser_download_download_commands_cc
new file mode 100644
index 0000000..a3cd2b7
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_commands_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_browser_download_download_commands_cc,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- chrome/browser/download/download_commands.cc.orig.port Wed Oct 7 04:42:08 2015
++++ chrome/browser/download/download_commands.cc Wed Oct 14 07:41:13 2015
+@@ -115,7 +115,7 @@ bool DownloadCommands::IsCommandChecked(Command comman
+ download_crx_util::IsExtensionDownload(*download_item_);
+ case ALWAYS_OPEN_TYPE:
+ #if defined(OS_WIN) || defined(OS_LINUX) || \
+- (defined(OS_MACOSX) && !defined(OS_IOS))
++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD)
+ if (CanOpenPdfInSystemViewer()) {
+ DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(
+ download_item_->GetBrowserContext());
+@@ -158,7 +158,7 @@ void DownloadCommands::ExecuteCommand(Command command)
+ DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(
+ download_item_->GetBrowserContext());
+ #if defined(OS_WIN) || defined(OS_LINUX) || \
+- (defined(OS_MACOSX) && !defined(OS_IOS))
++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD)
+ if (CanOpenPdfInSystemViewer()) {
+ prefs->SetShouldOpenPdfInSystemReader(!is_checked);
+ DownloadItemModel(download_item_)
+@@ -225,7 +225,7 @@ Browser* DownloadCommands::GetBrowser() const {
+ return browser_displayer.browser();
+ }
+
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ bool DownloadCommands::IsDownloadPdf() const {
+ base::FilePath path = download_item_->GetTargetFilePath();
+ return path.MatchesExtension(FILE_PATH_LITERAL(".pdf"));
+@@ -242,7 +242,7 @@ bool DownloadCommands::CanOpenPdfInSystemViewer() cons
+ return IsDownloadPdf() &&
+ (IsAdobeReaderDefaultPDFViewer() ? is_adobe_pdf_reader_up_to_date
+ : true);
+-#elif defined(OS_MACOSX) || defined(OS_LINUX)
++#elif defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ return IsDownloadPdf();
+ #endif
+ }
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_commands_h b/chromium-new/patches/patch-chrome_browser_download_download_commands_h
new file mode 100644
index 0000000..ef16075
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_commands_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_download_download_commands_h,v 1.2 2015/07/23 13:44:04 robert Exp $
+--- chrome/browser/download/download_commands.h.orig.port Wed Jul 15 22:29:57 2015
++++ chrome/browser/download/download_commands.h Wed Jul 22 08:37:29 2015
+@@ -40,7 +40,7 @@ class DownloadCommands {
+ void ExecuteCommand(Command command);
+
+ #if defined(OS_WIN) || defined(OS_LINUX) || \
+- (defined(OS_MACOSX) && !defined(OS_IOS))
++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD)
+ bool IsDownloadPdf() const;
+ bool CanOpenPdfInSystemViewer() const;
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_prefs_cc b/chromium-new/patches/patch-chrome_browser_download_download_prefs_cc
new file mode 100644
index 0000000..6862d48
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_prefs_cc
@@ -0,0 +1,66 @@
+$OpenBSD: patch-chrome_browser_download_download_prefs_cc,v 1.2 2015/07/23 13:44:04 robert Exp $
+--- chrome/browser/download/download_prefs.cc.orig.port Wed Jul 22 08:42:28 2015
++++ chrome/browser/download/download_prefs.cc Wed Jul 22 08:43:46 2015
+@@ -51,7 +51,7 @@ namespace {
+ // Consider downloads 'dangerous' if they go to the home directory on Linux and
+ // to the desktop on any platform.
+ bool DownloadPathIsDangerous(const base::FilePath& download_path) {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ base::FilePath home_dir = base::GetHomeDir();
+ if (download_path == home_dir) {
+ return true;
+@@ -131,7 +131,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profi
+ GetDefaultDownloadDirectoryForProfile()));
+ #endif // defined(OS_CHROMEOS)
+
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ should_open_pdf_in_system_reader_ =
+ prefs->GetBoolean(prefs::kOpenPdfDownloadInSystemReader);
+@@ -208,7 +208,7 @@ void DownloadPrefs::RegisterProfilePrefs(
+ default_download_path);
+ registry->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory,
+ default_download_path);
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ registry->RegisterBooleanPref(prefs::kOpenPdfDownloadInSystemReader, false);
+ #endif
+@@ -286,7 +286,7 @@ bool DownloadPrefs::IsDownloadPathManaged() const {
+ }
+
+ bool DownloadPrefs::IsAutoOpenUsed() const {
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ if (ShouldOpenPdfInSystemReader())
+ return true;
+@@ -301,7 +301,7 @@ bool DownloadPrefs::IsAutoOpenEnabledBasedOnExtension(
+ return false;
+ DCHECK(extension[0] == base::FilePath::kExtensionSeparator);
+ extension.erase(0, 1);
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ if (extension == FILE_PATH_LITERAL("pdf") && ShouldOpenPdfInSystemReader())
+ return true;
+@@ -335,7 +335,7 @@ void DownloadPrefs::DisableAutoOpenBasedOnExtension(
+ SaveAutoOpenState();
+ }
+
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ void DownloadPrefs::SetShouldOpenPdfInSystemReader(bool should_open) {
+ if (should_open_pdf_in_system_reader_ == should_open)
+@@ -357,7 +357,7 @@ bool DownloadPrefs::ShouldOpenPdfInSystemReader() cons
+ #endif
+
+ void DownloadPrefs::ResetAutoOpen() {
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ SetShouldOpenPdfInSystemReader(false);
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_prefs_h b/chromium-new/patches/patch-chrome_browser_download_download_prefs_h
new file mode 100644
index 0000000..7b022f7
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_prefs_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_download_download_prefs_h,v 1.2 2015/07/23 13:44:04 robert Exp $
+--- chrome/browser/download/download_prefs.h.orig.port Wed Jul 15 22:29:57 2015
++++ chrome/browser/download/download_prefs.h Wed Jul 22 08:37:29 2015
+@@ -77,7 +77,7 @@ class DownloadPrefs {
+ // Disables auto-open based on file extension.
+ void DisableAutoOpenBasedOnExtension(const base::FilePath& file_name);
+
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ // Store the user preference to disk. If |should_open| is true, also disable
+ // the built-in PDF plugin. If |should_open| is false, enable the PDF plugin.
+@@ -109,7 +109,7 @@ class DownloadPrefs {
+ AutoOpenCompareFunctor> AutoOpenSet;
+ AutoOpenSet auto_open_;
+
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ bool should_open_pdf_in_system_reader_;
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_shelf_context_menu_cc b/chromium-new/patches/patch-chrome_browser_download_download_shelf_context_menu_cc
new file mode 100644
index 0000000..47c37dd
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_shelf_context_menu_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_download_download_shelf_context_menu_cc,v 1.3 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/download/download_shelf_context_menu.cc.orig.port Wed May 20 10:02:47 2015
++++ chrome/browser/download/download_shelf_context_menu.cc Wed May 20 10:03:00 2015
+@@ -143,7 +143,7 @@ base::string16 DownloadShelfContextMenu::GetLabelForCo
+ : IDS_DOWNLOAD_MENU_PLATFORM_OPEN_ALWAYS;
+ break;
+ }
+-#elif defined(OS_MACOSX) || defined(OS_LINUX)
++#elif defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ if (can_open_pdf_in_system_viewer) {
+ id = IDS_DOWNLOAD_MENU_PLATFORM_OPEN_ALWAYS;
+ break;
diff --git a/chromium-new/patches/patch-chrome_browser_download_download_status_updater_cc b/chromium-new/patches/patch-chrome_browser_download_download_status_updater_cc
new file mode 100644
index 0000000..5425879
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_download_download_status_updater_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_download_download_status_updater_cc,v 1.1 2014/07/20 17:22:33 robert Exp $
+--- chrome/browser/download/download_status_updater.cc.orig.port Sat Jul 19 03:32:36 2014
++++ chrome/browser/download/download_status_updater.cc Sat Jul 19 03:33:37 2014
+@@ -9,7 +9,7 @@
+ #include "base/logging.h"
+ #include "base/stl_util.h"
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "ui/views/linux_ui/linux_ui.h"
+ #endif
+
+@@ -136,7 +136,7 @@ void DownloadStatusUpdater::OnDownloadUpdated(
+ #if defined(OS_ANDROID) || (defined(USE_AURA) && !defined(OS_WIN))
+ void DownloadStatusUpdater::UpdateAppIconDownloadProgress(
+ content::DownloadItem* download) {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ const views::LinuxUI* linux_ui = views::LinuxUI::instance();
+ if (linux_ui) {
+ float progress = 0;
diff --git a/chromium-new/patches/patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc b/chromium-new/patches/patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc
new file mode 100644
index 0000000..db2862a
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc
@@ -0,0 +1,16 @@
+$OpenBSD: patch-chrome_browser_extensions_api_image_writer_private_image_writer_private_api_cc,v 1.7 2015/09/05 16:06:50 robert Exp $
+--- chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc.orig.port Sat Aug 22 21:01:52 2015
++++ chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc Wed Sep 2 07:31:55 2015
+@@ -166,10 +166,12 @@ ImageWriterPrivateListRemovableStorageDevicesFunction:
+ }
+
+ bool ImageWriterPrivateListRemovableStorageDevicesFunction::RunAsync() {
++#if !defined(OS_BSD)
+ RemovableStorageProvider::GetAllDevices(
+ base::Bind(
+ &ImageWriterPrivateListRemovableStorageDevicesFunction::OnDeviceListReady,
+ this));
++#endif
+ return true;
+ }
+
diff --git a/chromium-new/patches/patch-chrome_browser_extensions_api_messaging_message_service_cc b/chromium-new/patches/patch-chrome_browser_extensions_api_messaging_message_service_cc
new file mode 100644
index 0000000..5bcd0bf
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_extensions_api_messaging_message_service_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_extensions_api_messaging_message_service_cc,v 1.5 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/extensions/api/messaging/message_service.cc.orig.port Fri Nov 13 12:04:14 2015
++++ chrome/browser/extensions/api/messaging/message_service.cc Wed Dec 2 08:18:32 2015
+@@ -113,7 +113,7 @@ MessageService::PolicyPermission MessageService::IsNat
+
+ const char kReceivingEndDoesntExistError[] =
+ "Could not establish connection. Receiving end does not exist.";
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ const char kMissingPermissionError[] =
+ "Access to native messaging requires nativeMessaging permission.";
+ const char kProhibitedByPoliciesError[] =
+@@ -422,7 +422,7 @@ void MessageService::OpenChannelToNativeApp(
+ if (!source)
+ return;
+
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ Profile* profile = Profile::FromBrowserContext(source->GetBrowserContext());
+ ExtensionService* extension_service =
+ ExtensionSystem::Get(profile)->extension_service();
diff --git a/chromium-new/patches/patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc b/chromium-new/patches/patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc
new file mode 100644
index 0000000..8e59720
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc
@@ -0,0 +1,67 @@
+$OpenBSD: patch-chrome_browser_extensions_api_music_manager_private_device_id_linux_cc,v 1.3 2015/01/22 11:16:40 robert Exp $
+--- chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig.port Wed Dec 3 03:13:20 2014
++++ chrome/browser/extensions/api/music_manager_private/device_id_linux.cc Sat Dec 6 11:34:25 2014
+@@ -4,6 +4,10 @@
+
+ #include "chrome/browser/extensions/api/music_manager_private/device_id.h"
+
++#if defined(OS_BSD)
++#include <sys/types.h>
++#include <net/if_dl.h>
++#endif
+ #include <sys/socket.h> // Must be included before ifaddrs.h.
+ #include <ifaddrs.h>
+ #include <net/if.h>
+@@ -102,11 +106,33 @@ class MacAddressProcessor {
+ const char* const prefixes[],
+ size_t prefixes_count) {
+ const int MAC_LENGTH = 6;
++#if defined(OS_BSD)
++ struct ifaddrs *ifap, *ifinfo;
++#else
+ struct ifreq ifinfo;
++#endif
+
+ memset(&ifinfo, 0, sizeof(ifinfo));
+- strncpy(ifinfo.ifr_name, ifaddr->ifa_name, sizeof(ifinfo.ifr_name) - 1);
+
++#if defined(OS_BSD)
++ int result = getifaddrs(&ifap);
++ if (result != 0)
++ return true;
++ result = 1; // no MAC found yet
++ for (ifinfo = ifap; ifinfo != NULL; ifinfo = ifinfo->ifa_next) {
++ struct sockaddr* sa = ifinfo->ifa_addr;
++ if (sa->sa_family == AF_LINK &&
++ !strncmp(ifinfo->ifa_name, ifaddr->ifa_name,
++ sizeof(ifinfo->ifa_name) - 1)) {
++ result = 0;
++ break;
++ }
++ }
++
++ char mac_address[6];
++ strncpy(mac_address, (const char*)LLADDR((struct sockaddr_dl*)ifinfo->ifa_addr), sizeof(mac_address));
++#else
++ strncpy(ifinfo.ifr_name, ifaddr->ifa_name, sizeof(ifinfo.ifr_name) - 1);
+ int sd = socket(AF_INET, SOCK_DGRAM, 0);
+ int result = ioctl(sd, SIOCGIFHWADDR, &ifinfo);
+ close(sd);
+@@ -116,11 +142,17 @@ class MacAddressProcessor {
+
+ const char* mac_address =
+ static_cast<const char*>(ifinfo.ifr_hwaddr.sa_data);
++#endif
+ if (!is_valid_mac_address_.Run(mac_address, MAC_LENGTH))
+ return true;
+
++#if defined(OS_BSD)
++ if (!IsValidPrefix(ifinfo->ifa_name, prefixes, prefixes_count))
++ return true;
++#else
+ if (!IsValidPrefix(ifinfo.ifr_name, prefixes, prefixes_count))
+ return true;
++#endif
+
+ // Got one!
+ found_mac_address_ =
diff --git a/chromium-new/patches/patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc b/chromium-new/patches/patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc
new file mode 100644
index 0000000..8202d98
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_extensions_api_omnibox_omnibox_api_cc,v 1.1 2014/07/20 17:22:33 robert Exp $
+--- chrome/browser/extensions/api/omnibox/omnibox_api.cc.orig.port Sat Jul 19 11:17:49 2014
++++ chrome/browser/extensions/api/omnibox/omnibox_api.cc Sat Jul 19 11:28:45 2014
+@@ -39,7 +39,7 @@ const char kBackgroundTabDisposition[] = "newBackgroun
+ // Pref key for omnibox.setDefaultSuggestion.
+ const char kOmniboxDefaultSuggestion[] = "omnibox_default_suggestion";
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ static const int kOmniboxIconPaddingLeft = 2;
+ static const int kOmniboxIconPaddingRight = 2;
+ #elif defined(OS_MACOSX)
diff --git a/chromium-new/patches/patch-chrome_browser_extensions_bookmark_app_helper_cc b/chromium-new/patches/patch-chrome_browser_extensions_bookmark_app_helper_cc
new file mode 100644
index 0000000..bf0959a
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_extensions_bookmark_app_helper_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_extensions_bookmark_app_helper_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/extensions/bookmark_app_helper.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/extensions/bookmark_app_helper.cc Fri Jan 22 19:58:58 2016
+@@ -697,7 +697,7 @@ void BookmarkAppHelper::FinishInstallation(const Exten
+ chrome::HostDesktopType desktop = browser->host_desktop_type();
+ if (desktop != chrome::HOST_DESKTOP_TYPE_ASH) {
+ web_app::ShortcutLocations creation_locations;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ creation_locations.on_desktop = true;
+ #elif defined(OS_WIN)
+ // Create the shortcut on the desktop if it's not possible to pin to the
diff --git a/chromium-new/patches/patch-chrome_browser_first_run_first_run_internal_posix_cc b/chromium-new/patches/patch-chrome_browser_first_run_first_run_internal_posix_cc
new file mode 100644
index 0000000..4b82b20
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_first_run_first_run_internal_posix_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_first_run_first_run_internal_posix_cc,v 1.1 2014/07/20 17:22:33 robert Exp $
+--- chrome/browser/first_run/first_run_internal_posix.cc.orig.port Sat Jul 19 00:27:56 2014
++++ chrome/browser/first_run/first_run_internal_posix.cc Sat Jul 19 00:28:02 2014
+@@ -22,7 +22,7 @@ namespace first_run {
+ namespace internal {
+
+ void DoPostImportPlatformSpecificTasks(Profile* profile) {
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ base::FilePath local_state_path;
+ PathService::Get(chrome::FILE_LOCAL_STATE, &local_state_path);
+ bool local_state_file_exists = base::PathExists(local_state_path);
diff --git a/chromium-new/patches/patch-chrome_browser_gpu_gl_string_manager_cc b/chromium-new/patches/patch-chrome_browser_gpu_gl_string_manager_cc
new file mode 100644
index 0000000..2edd6c8
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_gpu_gl_string_manager_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_gpu_gl_string_manager_cc,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- chrome/browser/gpu/gl_string_manager.cc.orig.port Sun Oct 20 17:01:50 2013
++++ chrome/browser/gpu/gl_string_manager.cc Sun Oct 20 17:02:02 2013
+@@ -25,7 +25,7 @@ GLStringManager::~GLStringManager() {
+
+ void GLStringManager::Initialize() {
+ // On MacOSX or Windows, preliminary GPUInfo is enough.
+-#if defined(OS_LINUX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+ // We never remove this observer from GpuDataManager.
+ content::GpuDataManager::GetInstance()->AddObserver(this);
+
diff --git a/chromium-new/patches/patch-chrome_browser_gpu_gpu_feature_checker_cc b/chromium-new/patches/patch-chrome_browser_gpu_gpu_feature_checker_cc
new file mode 100644
index 0000000..52434d7
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_gpu_gpu_feature_checker_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_gpu_gpu_feature_checker_cc,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- chrome/browser/gpu/gpu_feature_checker.cc.orig.port Sun Oct 20 17:02:12 2013
++++ chrome/browser/gpu/gpu_feature_checker.cc Sun Oct 20 17:02:21 2013
+@@ -33,7 +33,7 @@ void GPUFeatureChecker::CheckGPUFeatureAvailability()
+ CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+
+ bool finalized = true;
+-#if defined(OS_LINUX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+ // On Windows and Mac, so far we can always make the final WebGL blacklisting
+ // decision based on partial GPU info; on Linux, we need to launch the GPU
+ // process to collect full GPU info and make the final decision.
diff --git a/chromium-new/patches/patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc b/chromium-new/patches/patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc
new file mode 100644
index 0000000..51767a9
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc
@@ -0,0 +1,16 @@
+$OpenBSD: patch-chrome_browser_media_galleries_fileapi_mtp_device_map_service_cc,v 1.2 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig.port Wed May 20 10:03:54 2015
++++ chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc Wed May 20 10:04:12 2015
+@@ -37,10 +37,12 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
+ // Note that this initializes the delegate asynchronously, but since
+ // the delegate will only be used from the IO thread, it is guaranteed
+ // to be created before use of it expects it to be there.
++#if !defined(OS_BSD)
+ CreateMTPDeviceAsyncDelegate(
+ device_location, read_only,
+ base::Bind(&MTPDeviceMapService::AddAsyncDelegate,
+ base::Unretained(this), device_location, read_only));
++#endif
+ mtp_device_usage_map_[key] = 0;
+ }
+
diff --git a/chromium-new/patches/patch-chrome_browser_media_galleries_media_file_system_registry_cc b/chromium-new/patches/patch-chrome_browser_media_galleries_media_file_system_registry_cc
new file mode 100644
index 0000000..4940229
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_media_galleries_media_file_system_registry_cc
@@ -0,0 +1,17 @@
+$OpenBSD: patch-chrome_browser_media_galleries_media_file_system_registry_cc,v 1.13 2015/09/05 16:06:50 robert Exp $
+--- chrome/browser/media_galleries/media_file_system_registry.cc.orig.port Sat Aug 22 21:01:52 2015
++++ chrome/browser/media_galleries/media_file_system_registry.cc Wed Sep 2 07:31:55 2015
+@@ -764,7 +764,12 @@ class MediaFileSystemRegistry::MediaFileSystemContextI
+ // Constructor in 'private' section because depends on private class definition.
+ MediaFileSystemRegistry::MediaFileSystemRegistry()
+ : file_system_context_(new MediaFileSystemContextImpl) {
+- StorageMonitor::GetInstance()->AddObserver(this);
++ /*
++ * This conditional is needed for shutdown. Destructors
++ * try to get the media file system registry.
++ */
++ if (StorageMonitor::GetInstance())
++ StorageMonitor::GetInstance()->AddObserver(this);
+ }
+
+ MediaFileSystemRegistry::~MediaFileSystemRegistry() {
diff --git a/chromium-new/patches/patch-chrome_browser_media_galleries_media_folder_finder_cc b/chromium-new/patches/patch-chrome_browser_media_galleries_media_folder_finder_cc
new file mode 100644
index 0000000..945e02e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_media_galleries_media_folder_finder_cc
@@ -0,0 +1,16 @@
+$OpenBSD: patch-chrome_browser_media_galleries_media_folder_finder_cc,v 1.2 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/media_galleries/media_folder_finder.cc.orig.port Thu May 14 00:23:03 2015
++++ chrome/browser/media_galleries/media_folder_finder.cc Sat May 23 18:32:06 2015
+@@ -50,10 +50,10 @@ const int kPrunedPaths[] = {
+ chrome::DIR_USER_APPLICATIONS,
+ chrome::DIR_USER_LIBRARY,
+ #endif
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ base::DIR_CACHE,
+ #endif
+-#if defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ base::DIR_TEMP,
+ #endif
+ };
diff --git a/chromium-new/patches/patch-chrome_browser_memory_details_cc b/chromium-new/patches/patch-chrome_browser_memory_details_cc
new file mode 100644
index 0000000..8023df9
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_memory_details_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_browser_memory_details_cc,v 1.29 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/memory_details.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/memory_details.cc Fri Jan 22 19:58:58 2016
+@@ -31,7 +31,7 @@
+ #include "content/public/common/content_constants.h"
+ #include "ui/base/l10n/l10n_util.h"
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ #include "content/public/browser/zygote_host_linux.h"
+ #endif
+
+@@ -211,7 +211,7 @@ void MemoryDetails::CollectChildInfoOnIOThread(Collect
+ void MemoryDetails::CollectChildInfoOnUIThread() {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ const pid_t zygote_pid = content::ZygoteHost::GetInstance()->GetPid();
+ #endif
+
+@@ -365,7 +365,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
+ }
+ }
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ if (process.pid == zygote_pid) {
+ process.process_type = content::PROCESS_TYPE_ZYGOTE;
+ }
diff --git a/chromium-new/patches/patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc b/chromium-new/patches/patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc
new file mode 100644
index 0000000..6e77bb3
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc
@@ -0,0 +1,15 @@
+$OpenBSD: patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc,v 1.3 2015/07/23 13:44:04 robert Exp $
+--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig.port Wed Jul 15 22:29:58 2015
++++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc Wed Jul 22 08:37:29 2015
+@@ -30,8 +30,10 @@
+ #include <cpu-features.h>
+ #endif // defined(OS_ANDROID) && defined(__arm__)
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
++#if !defined(OS_BSD)
+ #include <gnu/libc-version.h>
++#endif
+
+ #include "base/version.h"
+ #if defined(USE_X11)
diff --git a/chromium-new/patches/patch-chrome_browser_net_async_dns_field_trial_cc b/chromium-new/patches/patch-chrome_browser_net_async_dns_field_trial_cc
new file mode 100644
index 0000000..f527368
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_net_async_dns_field_trial_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_net_async_dns_field_trial_cc,v 1.3 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/net/async_dns_field_trial.cc.orig.port Wed May 20 10:04:19 2015
++++ chrome/browser/net/async_dns_field_trial.cc Wed May 20 10:08:14 2015
+@@ -67,7 +67,7 @@ bool ConfigureAsyncDnsFieldTrial() {
+ return false;
+ #endif
+
+-#if defined(OS_CHROMEOS) || defined(OS_MACOSX)
++#if defined(OS_CHROMEOS) || defined(OS_MACOSX) || defined(OS_BSD)
+ const bool kDefault = true;
+ #else
+ const bool kDefault = false;
diff --git a/chromium-new/patches/patch-chrome_browser_notifications_message_center_notification_manager_cc b/chromium-new/patches/patch-chrome_browser_notifications_message_center_notification_manager_cc
new file mode 100644
index 0000000..bb776bc
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_notifications_message_center_notification_manager_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_notifications_message_center_notification_manager_cc,v 1.6 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/notifications/message_center_notification_manager.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/notifications/message_center_notification_manager.cc Fri Jan 22 19:58:58 2016
+@@ -62,7 +62,7 @@ MessageCenterNotificationManager::MessageCenterNotific
+ blockers_.push_back(make_scoped_ptr(
+ new FullscreenNotificationBlocker(message_center)));
+
+-#if defined(OS_WIN) || defined(OS_MACOSX) \
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD) \
+ || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+ // On Windows, Linux and Mac, the notification manager owns the tray icon and
+ // views.Other platforms have global ownership and Create will return NULL.
diff --git a/chromium-new/patches/patch-chrome_browser_platform_util_linux_cc b/chromium-new/patches/patch-chrome_browser_platform_util_linux_cc
new file mode 100644
index 0000000..a559da4
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_platform_util_linux_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-chrome_browser_platform_util_linux_cc,v 1.2 2015/04/27 16:38:25 robert Exp $
+--- chrome/browser/platform_util_linux.cc.orig.port Wed Apr 15 09:25:47 2015
++++ chrome/browser/platform_util_linux.cc Wed Apr 15 09:25:58 2015
+@@ -28,7 +28,9 @@ void XDGUtil(const std::string& util,
+
+ base::LaunchOptions options;
+ options.current_directory = working_directory;
++#if !defined(OS_BSD)
+ options.allow_new_privs = true;
++#endif
+ // xdg-open can fall back on mailcap which eventually might plumb through
+ // to a command that needs a terminal. Set the environment variable telling
+ // it that we definitely don't have a terminal available and that it should
diff --git a/chromium-new/patches/patch-chrome_browser_process_singleton_posix_cc b/chromium-new/patches/patch-chrome_browser_process_singleton_posix_cc
new file mode 100644
index 0000000..213f975
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_process_singleton_posix_cc
@@ -0,0 +1,35 @@
+$OpenBSD: patch-chrome_browser_process_singleton_posix_cc,v 1.5 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/process_singleton_posix.cc.orig.port Fri Nov 13 12:04:14 2015
++++ chrome/browser/process_singleton_posix.cc Wed Dec 2 08:18:32 2015
+@@ -84,11 +84,11 @@
+ #include "net/base/net_util.h"
+ #include "ui/base/l10n/l10n_util.h"
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "chrome/browser/ui/process_singleton_dialog_linux.h"
+ #endif
+
+-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(TOOLKIT_VIEWS) && (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "ui/views/linux_ui/linux_ui.h"
+ #endif
+
+@@ -313,7 +313,7 @@ bool DisplayProfileInUseError(const base::FilePath& lo
+ if (g_disable_prompt)
+ return false;
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ base::string16 relaunch_button_text = l10n_util::GetStringUTF16(
+ IDS_PROFILE_IN_USE_LINUX_RELAUNCH);
+ return ShowProcessSingletonDialog(error, relaunch_button_text);
+@@ -867,7 +867,7 @@ ProcessSingleton::NotifyResult ProcessSingleton::Notif
+ // The other process is shutting down, it's safe to start a new process.
+ return PROCESS_NONE;
+ } else if (strncmp(buf, kACKToken, arraysize(kACKToken) - 1) == 0) {
+-#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(TOOLKIT_VIEWS) && (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Likely NULL in unit tests.
+ views::LinuxUI* linux_ui = views::LinuxUI::instance();
+ if (linux_ui)
diff --git a/chromium-new/patches/patch-chrome_browser_renderer_preferences_util_cc b/chromium-new/patches/patch-chrome_browser_renderer_preferences_util_cc
new file mode 100644
index 0000000..f5a0fbc
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_renderer_preferences_util_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_browser_renderer_preferences_util_cc,v 1.13 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/renderer_preferences_util.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/renderer_preferences_util.cc Fri Jan 22 19:58:58 2016
+@@ -14,7 +14,7 @@
+ #include "content/public/common/webrtc_ip_handling_policy.h"
+ #include "third_party/skia/include/core/SkColor.h"
+
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ #include "ui/gfx/font_render_params.h"
+ #endif
+
+@@ -26,7 +26,7 @@
+ #include "ui/views/controls/textfield/textfield.h"
+ #endif
+
+-#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(USE_AURA) && (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "chrome/browser/themes/theme_service.h"
+ #include "chrome/browser/themes/theme_service_factory.h"
+ #include "ui/views/linux_ui/linux_ui.h"
+@@ -94,7 +94,7 @@ void UpdateFromSystemSettings(content::RendererPrefere
+ prefs->caret_blink_interval = views::Textfield::GetCaretBlinkMs() / 1000.0;
+ #endif
+
+-#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ views::LinuxUI* linux_ui = views::LinuxUI::instance();
+ if (linux_ui) {
+ if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) {
+@@ -116,7 +116,7 @@ void UpdateFromSystemSettings(content::RendererPrefere
+ }
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_WIN)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_WIN) || defined(OS_BSD)
+ CR_DEFINE_STATIC_LOCAL(const gfx::FontRenderParams, params,
+ (gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), NULL)));
+ prefs->should_antialias_text = params.antialiasing;
diff --git a/chromium-new/patches/patch-chrome_browser_resources_plugin_metadata_plugins_linux_json b/chromium-new/patches/patch-chrome_browser_resources_plugin_metadata_plugins_linux_json
new file mode 100644
index 0000000..88593cb
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_resources_plugin_metadata_plugins_linux_json
@@ -0,0 +1,32 @@
+$OpenBSD: patch-chrome_browser_resources_plugin_metadata_plugins_linux_json,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/resources/plugin_metadata/plugins_linux.json.orig.port Fri Jan 22 22:02:41 2016
++++ chrome/browser/resources/plugin_metadata/plugins_linux.json Fri Jan 22 22:02:59 2016
+@@ -70,28 +70,6 @@
+ "displayurl": true,
+ "group_name_matcher": "Java*"
+ },
+- "adobe-flash-player": {
+- "mime_types": [
+- "application/futuresplash",
+- "application/x-shockwave-flash"
+- ],
+- "matching_mime_types": [
+- "application/futuresplash"
+- ],
+- "versions": [
+- {
+- "version": "20.0.0.267",
+- "status": "up_to_date",
+- "reference": "https://helpx.adobe.com/security/products/flash-player/apsb16-01.html"
+- }
+- ],
+- "lang": "en-US",
+- "name": "Adobe Flash Player",
+- "help_url": "https://support.google.com/chrome/?p=plugin_flash",
+- "url": "https://support.google.com/chrome/answer/6258784",
+- "displayurl": true,
+- "group_name_matcher": "*Shockwave Flash*"
+- },
+ "lightspark": {
+ "mime_types": [
+ "application/x-lightspark"
diff --git a/chromium-new/patches/patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc b/chromium-new/patches/patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc
new file mode 100644
index 0000000..5c61194
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_safe_browsing_incident_reporting_incident_reporting_service_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc Fri Jan 22 19:58:58 2016
+@@ -730,7 +730,7 @@ void IncidentReportingService::OnEnvironmentDataCollec
+ environment_collection_pending_ = false;
+
+ // CurrentProcessInfo::CreationTime() is missing on some platforms.
+-#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ base::TimeDelta uptime =
+ first_incident_time_ - base::CurrentProcessInfo::CreationTime();
+ environment_data->mutable_process()->set_uptime_msec(uptime.InMilliseconds());
diff --git a/chromium-new/patches/patch-chrome_browser_speech_tts_controller_impl_cc b/chromium-new/patches/patch-chrome_browser_speech_tts_controller_impl_cc
new file mode 100644
index 0000000..3dcfb05
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_speech_tts_controller_impl_cc
@@ -0,0 +1,17 @@
+$OpenBSD: patch-chrome_browser_speech_tts_controller_impl_cc,v 1.4 2015/07/23 13:44:04 robert Exp $
+--- chrome/browser/speech/tts_controller_impl.cc.orig.port Wed Jul 15 22:29:58 2015
++++ chrome/browser/speech/tts_controller_impl.cc Wed Jul 22 08:37:29 2015
+@@ -364,9 +364,13 @@ int TtsControllerImpl::QueueSize() {
+ }
+
+ TtsPlatformImpl* TtsControllerImpl::GetPlatformImpl() {
++#if defined(OS_BSD)
++ return NULL;
++#else
+ if (!platform_impl_)
+ platform_impl_ = TtsPlatformImpl::GetInstance();
+ return platform_impl_;
++#endif
+ }
+
+ int TtsControllerImpl::GetMatchingVoice(
diff --git a/chromium-new/patches/patch-chrome_browser_ssl_bad_clock_blocking_page_cc b/chromium-new/patches/patch-chrome_browser_ssl_bad_clock_blocking_page_cc
new file mode 100644
index 0000000..b13f3cc
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ssl_bad_clock_blocking_page_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ssl_bad_clock_blocking_page_cc,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ssl/bad_clock_blocking_page.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/ssl/bad_clock_blocking_page.cc Fri Jan 22 19:58:58 2016
+@@ -95,7 +95,7 @@ void LaunchDateAndTimeSettings() {
+ // iOS does not have a way to launch the date and time settings.
+ NOTREACHED();
+
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ struct ClockCommand {
+ const char* pathname;
+ const char* argument;
diff --git a/chromium-new/patches/patch-chrome_browser_sync_profile_sync_components_factory_impl_cc b/chromium-new/patches/patch-chrome_browser_sync_profile_sync_components_factory_impl_cc
new file mode 100644
index 0000000..2cc1e4b
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_sync_profile_sync_components_factory_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_sync_profile_sync_components_factory_impl_cc,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/sync/profile_sync_components_factory_impl.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/sync/profile_sync_components_factory_impl.cc Fri Jan 22 19:58:58 2016
+@@ -360,7 +360,7 @@ void ProfileSyncComponentsFactoryImpl::RegisterDesktop
+ }
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_BSD)
+ // Dictionary sync is enabled by default.
+ if (!disabled_types.Has(syncer::DICTIONARY)) {
+ sync_service->RegisterDataTypeController(new UIDataTypeController(
diff --git a/chromium-new/patches/patch-chrome_browser_task_manager_task_manager_cc b/chromium-new/patches/patch-chrome_browser_task_manager_task_manager_cc
new file mode 100644
index 0000000..7561127
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_task_manager_task_manager_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_task_manager_task_manager_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/task_manager/task_manager.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/task_manager/task_manager.cc Fri Jan 22 19:58:58 2016
+@@ -1203,7 +1203,7 @@ void TaskManagerModel::Refresh() {
+ values.is_cpu_usage_valid = true;
+ values.cpu_usage = metrics_iter->second->GetCPUUsage();
+ }
+-#if defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ // TODO(port): Implement GetIdleWakeupsPerSecond() on other platforms,
+ // crbug.com/120488
+ if (!values.is_idle_wakeups_valid) {
diff --git a/chromium-new/patches/patch-chrome_browser_tracing_crash_service_uploader_cc b/chromium-new/patches/patch-chrome_browser_tracing_crash_service_uploader_cc
new file mode 100644
index 0000000..d909fcd
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_tracing_crash_service_uploader_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_tracing_crash_service_uploader_cc,v 1.4 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/tracing/crash_service_uploader.cc.orig.port Tue Nov 24 21:00:54 2015
++++ chrome/browser/tracing/crash_service_uploader.cc Wed Dec 2 08:18:32 2015
+@@ -147,6 +147,8 @@ void TraceCrashServiceUploader::DoUploadOnFileThread(
+ const char product[] = "Chrome_Android";
+ #elif defined(OS_CHROMEOS)
+ const char product[] = "Chrome_ChromeOS";
++#elif defined(OS_OPENBSD)
++ const char product[] = "Chrome_OpenBSD";
+ #else
+ #error Platform not supported.
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_ui_app_list_app_list_service_cc b/chromium-new/patches/patch-chrome_browser_ui_app_list_app_list_service_cc
new file mode 100644
index 0000000..9a3e54f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_app_list_app_list_service_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_app_list_app_list_service_cc,v 1.1 2015/09/25 13:08:54 robert Exp $
+--- chrome/browser/ui/app_list/app_list_service.cc.orig.port Thu Sep 24 12:59:35 2015
++++ chrome/browser/ui/app_list/app_list_service.cc Thu Sep 24 13:05:18 2015
+@@ -42,7 +42,7 @@ base::Time GetOriginalProcessStartTime(const base::Com
+
+ // base::CurrentProcessInfo::CreationTime() is only defined on some
+ // platforms.
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ return base::CurrentProcessInfo::CreationTime();
+ #else
+ return base::Time();
diff --git a/chromium-new/patches/patch-chrome_browser_ui_ash_system_tray_delegate_common_cc b/chromium-new/patches/patch-chrome_browser_ui_ash_system_tray_delegate_common_cc
new file mode 100644
index 0000000..09e2e85
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_ash_system_tray_delegate_common_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_ash_system_tray_delegate_common_cc,v 1.3 2015/04/27 16:38:25 robert Exp $
+--- chrome/browser/ui/ash/system_tray_delegate_common.cc.orig.port Wed Apr 15 00:18:50 2015
++++ chrome/browser/ui/ash/system_tray_delegate_common.cc Wed Apr 15 08:32:50 2015
+@@ -79,7 +79,7 @@ base::HourClockType SystemTrayDelegateCommon::GetHourC
+ }
+
+ void SystemTrayDelegateCommon::ShowChromeSlow() {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ chrome::ScopedTabbedBrowserDisplayer displayer(
+ ProfileManager::GetPrimaryUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH);
+ chrome::ShowSlow(displayer.browser());
diff --git a/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc b/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc
new file mode 100644
index 0000000..025a16b
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc Fri Jan 22 19:58:58 2016
+@@ -19,7 +19,7 @@
+ #include "ui/gfx/screen.h"
+ #include "ui/views/widget/native_widget_aura.h"
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "base/prefs/pref_service.h"
+ #include "chrome/browser/profiles/profile.h"
+ #include "chrome/common/pref_names.h"
+@@ -73,7 +73,7 @@ chrome::HostDesktopType GetInitialDesktop() {
+ command_line->HasSwitch(switches::kViewerLaunchViaAppId)) {
+ return chrome::HOST_DESKTOP_TYPE_ASH;
+ }
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ const base::CommandLine* command_line =
+ base::CommandLine::ForCurrentProcess();
+ if (command_line->HasSwitch(switches::kOpenAsh))
+@@ -140,7 +140,7 @@ void ChromeBrowserMainExtraPartsAura::PreCreateThreads
+ }
+
+ void ChromeBrowserMainExtraPartsAura::PreProfileInit() {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Now that we have some minimal ui initialized, check to see if we're
+ // running as root and bail if we are.
+ DetectRunningAsRoot();
+@@ -154,7 +154,7 @@ void ChromeBrowserMainExtraPartsAura::PostMainMessageL
+ // after the metrics service is deleted.
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ void ChromeBrowserMainExtraPartsAura::DetectRunningAsRoot() {
+ if (getuid() == 0) {
+ const base::CommandLine& command_line =
diff --git a/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h b/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h
new file mode 100644
index 0000000..df771b8
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_aura_chrome_browser_main_extra_parts_aura_h,v 1.2 2015/01/22 11:16:40 robert Exp $
+--- chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h.orig.port Wed Dec 3 03:13:21 2014
++++ chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h Sat Dec 6 11:34:25 2014
+@@ -25,7 +25,7 @@ class ChromeBrowserMainExtraPartsAura : public ChromeB
+ void PostMainMessageLoopRun() override;
+
+ private:
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // On the Linux desktop, we want to prevent the user from logging in as root,
+ // so that we don't destroy the profile.
+ void DetectRunningAsRoot();
diff --git a/chromium-new/patches/patch-chrome_browser_ui_browser_command_controller_cc b/chromium-new/patches/patch-chrome_browser_ui_browser_command_controller_cc
new file mode 100644
index 0000000..e19732b
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_browser_command_controller_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_browser_ui_browser_command_controller_cc,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/browser_command_controller.cc.orig.port Wed Jan 20 21:01:19 2016
++++ chrome/browser/ui/browser_command_controller.cc Fri Jan 22 19:58:58 2016
+@@ -71,7 +71,7 @@
+ #include "chrome/browser/ui/browser_commands_chromeos.h"
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h"
+ #endif
+
+@@ -283,7 +283,7 @@ bool BrowserCommandController::IsReservedCommandOrKey(
+ if (window()->IsFullscreen() && command_id == IDC_FULLSCREEN)
+ return true;
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // If this key was registered by the user as a content editing hotkey, then
+ // it is not reserved.
+ ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
+@@ -476,7 +476,7 @@ void BrowserCommandController::ExecuteCommandWithDispo
+ break;
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ case IDC_USE_SYSTEM_TITLE_BAR: {
+ PrefService* prefs = browser_->profile()->GetPrefs();
+ prefs->SetBoolean(prefs::kUseCustomChromeFrame,
+@@ -914,7 +914,7 @@ void BrowserCommandController::InitCommandState() {
+ command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_2, true);
+ command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_3, true);
+ #endif
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ command_updater_.UpdateCommandEnabled(IDC_USE_SYSTEM_TITLE_BAR, true);
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_browser_ui_browser_view_prefs_cc b/chromium-new/patches/patch-chrome_browser_ui_browser_view_prefs_cc
new file mode 100644
index 0000000..134a47b
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_browser_view_prefs_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_browser_view_prefs_cc,v 1.2 2014/09/11 19:04:52 robert Exp $
+--- chrome/browser/ui/browser_view_prefs.cc.orig.port Wed Sep 10 01:29:19 2014
++++ chrome/browser/ui/browser_view_prefs.cc Wed Sep 10 22:05:40 2014
+@@ -9,7 +9,7 @@
+ #include "chrome/common/pref_names.h"
+ #include "components/pref_registry/pref_registry_syncable.h"
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "ui/base/x/x11_util.h"
+ #endif
+
+@@ -42,7 +42,7 @@ void RegisterBrowserViewLocalPrefs(PrefRegistrySimple*
+ void RegisterBrowserViewProfilePrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
+ bool custom_frame_default = false;
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ custom_frame_default = ui::GetCustomFramePrefDefault();
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc b/chromium-new/patches/patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc
new file mode 100644
index 0000000..61d532e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_exclusive_access_exclusive_access_bubble_cc,v 1.1 2015/03/18 19:26:29 robert Exp $
+--- chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc.orig.port Wed Mar 11 07:33:06 2015
++++ chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc Wed Mar 11 07:33:16 2015
+@@ -18,7 +18,7 @@
+
+ // NOTE(koz): Linux doesn't use the thick shadowed border, so we add padding
+ // here.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ const int ExclusiveAccessBubble::kPaddingPx = 8;
+ #else
+ const int ExclusiveAccessBubble::kPaddingPx = 15;
diff --git a/chromium-new/patches/patch-chrome_browser_ui_panels_panel_manager_cc b/chromium-new/patches/patch-chrome_browser_ui_panels_panel_manager_cc
new file mode 100644
index 0000000..2a14bdf
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_panels_panel_manager_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_panels_panel_manager_cc,v 1.5 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/ui/panels/panel_manager.cc.orig.port Fri Nov 13 12:04:15 2015
++++ chrome/browser/ui/panels/panel_manager.cc Wed Dec 2 08:18:32 2015
+@@ -136,7 +136,7 @@ bool PanelManager::ShouldUsePanels(const std::string&
+ // static
+ bool PanelManager::IsPanelStackingEnabled() {
+ // Stacked panel mode is not supported in linux-aura.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ return false;
+ #else
+ return true;
diff --git a/chromium-new/patches/patch-chrome_browser_ui_startup_bad_flags_prompt_cc b/chromium-new/patches/patch-chrome_browser_ui_startup_bad_flags_prompt_cc
new file mode 100644
index 0000000..3214226
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_startup_bad_flags_prompt_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_startup_bad_flags_prompt_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/startup/bad_flags_prompt.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/startup/bad_flags_prompt.cc Fri Jan 22 19:58:58 2016
+@@ -71,7 +71,7 @@ void ShowBadFlagsPrompt(Browser* browser) {
+ // This flag gives extensions more powers.
+ extensions::switches::kExtensionsOnChromeURLs,
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // Speech dispatcher is buggy, it can crash and it can make Chrome freeze.
+ // http://crbug.com/327295
+ switches::kEnableSpeechDispatcher,
diff --git a/chromium-new/patches/patch-chrome_browser_ui_startup_startup_browser_creator_cc b/chromium-new/patches/patch-chrome_browser_ui_startup_startup_browser_creator_cc
new file mode 100644
index 0000000..abe744e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_startup_startup_browser_creator_cc
@@ -0,0 +1,14 @@
+$OpenBSD: patch-chrome_browser_ui_startup_startup_browser_creator_cc,v 1.13 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/ui/startup/startup_browser_creator.cc.orig.port Tue Nov 24 21:00:54 2015
++++ chrome/browser/ui/startup/startup_browser_creator.cc Wed Dec 2 08:18:32 2015
+@@ -657,8 +657,10 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
+ }
+ #endif // OS_CHROMEOS
+
++#if 0 /* XXX */
+ #if defined(TOOLKIT_VIEWS) && defined(USE_X11)
+ ui::TouchFactory::SetTouchDeviceListFromCommandLine();
++#endif
+ #endif
+
+ #if defined(OS_MACOSX)
diff --git a/chromium-new/patches/patch-chrome_browser_ui_toolbar_app_menu_model_cc b/chromium-new/patches/patch-chrome_browser_ui_toolbar_app_menu_model_cc
new file mode 100644
index 0000000..e31780e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_toolbar_app_menu_model_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_toolbar_app_menu_model_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/toolbar/app_menu_model.cc.orig.port Fri Jan 22 22:04:59 2016
++++ chrome/browser/ui/toolbar/app_menu_model.cc Fri Jan 22 22:05:17 2016
+@@ -779,7 +779,7 @@ bool AppMenuModel::IsCommandIdVisible(int command_id)
+ case IDC_UPGRADE_DIALOG:
+ return browser_defaults::kShowUpgradeMenuItem &&
+ UpgradeDetector::GetInstance()->notify_upgrade();
+-#if !defined(OS_LINUX) || defined(USE_AURA)
++#if (!defined(OS_BSD) && !defined(OS_LINUX)) || defined(USE_AURA)
+ case IDC_BOOKMARK_PAGE:
+ return !chrome::ShouldRemoveBookmarkThisPageUI(browser_->profile());
+ case IDC_BOOKMARK_ALL_TABS:
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_accelerator_table_cc b/chromium-new/patches/patch-chrome_browser_ui_views_accelerator_table_cc
new file mode 100644
index 0000000..f5dd80d
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_accelerator_table_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_browser_ui_views_accelerator_table_cc,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/accelerator_table.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/views/accelerator_table.cc Fri Jan 22 19:58:58 2016
+@@ -68,7 +68,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+ { ui::VKEY_S, ui::EF_CONTROL_DOWN, IDC_SAVE_PAGE },
+ { ui::VKEY_9, kPlatformModifier, IDC_SELECT_LAST_TAB },
+ { ui::VKEY_NUMPAD9, kPlatformModifier, IDC_SELECT_LAST_TAB },
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ { ui::VKEY_9, ui::EF_ALT_DOWN, IDC_SELECT_LAST_TAB },
+ { ui::VKEY_NUMPAD9, ui::EF_ALT_DOWN, IDC_SELECT_LAST_TAB },
+ { ui::VKEY_NEXT, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, IDC_MOVE_TAB_NEXT },
+@@ -96,7 +96,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+ { ui::VKEY_NUMPAD7, kPlatformModifier, IDC_SELECT_TAB_6 },
+ { ui::VKEY_8, kPlatformModifier, IDC_SELECT_TAB_7 },
+ { ui::VKEY_NUMPAD8, kPlatformModifier, IDC_SELECT_TAB_7 },
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ { ui::VKEY_1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0 },
+ { ui::VKEY_NUMPAD1, ui::EF_ALT_DOWN, IDC_SELECT_TAB_0 },
+ { ui::VKEY_2, ui::EF_ALT_DOWN, IDC_SELECT_TAB_1 },
+@@ -145,7 +145,7 @@ const AcceleratorMapping kAcceleratorMap[] = {
+ { ui::VKEY_F11, ui::EF_NONE, IDC_FULLSCREEN },
+
+ // Platform-specific key maps.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ { ui::VKEY_BROWSER_BACK, ui::EF_NONE, IDC_BACK },
+ { ui::VKEY_BROWSER_FORWARD, ui::EF_NONE, IDC_FORWARD },
+ { ui::VKEY_BROWSER_HOME, ui::EF_NONE, IDC_HOME },
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc b/chromium-new/patches/patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc
new file mode 100644
index 0000000..402149e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_app_list_linux_app_list_linux_cc,v 1.1 2015/01/22 11:16:40 robert Exp $
+--- chrome/browser/ui/views/app_list/linux/app_list_linux.cc.orig.port Sat Dec 27 12:59:28 2014
++++ chrome/browser/ui/views/app_list/linux/app_list_linux.cc Sat Dec 27 13:07:15 2014
+@@ -91,7 +91,7 @@ void AppListLinux::MoveNearCursor(app_list::AppListVie
+ view->SetBubbleArrow(views::BubbleBorder::FLOAT);
+
+ AppListPositioner::ScreenEdge edge;
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // In the Unity desktop environment, special case SCREEN_EDGE_LEFT. It is
+ // always on the left side in Unity, but ShelfLocationInDisplay will not
+ // detect this if the shelf is hidden.
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc b/chromium-new/patches/patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc
new file mode 100644
index 0000000..a3c945f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_views_apps_chrome_native_app_window_views_aura_cc,v 1.3 2015/09/05 16:06:50 robert Exp $
+--- chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc.orig.port Sat Aug 22 21:01:52 2015
++++ chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc Wed Sep 2 07:31:55 2015
+@@ -34,7 +34,7 @@
+ #include "ash/shell_window_ids.h"
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "chrome/browser/shell_integration_linux.h"
+ #endif
+
+@@ -141,7 +141,7 @@ void ChromeNativeAppWindowViewsAura::OnBeforeWidgetIni
+ const AppWindow::CreateParams& create_params,
+ views::Widget::InitParams* init_params,
+ views::Widget* widget) {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ std::string app_name = web_app::GenerateApplicationNameFromExtensionId(
+ app_window()->extension_id());
+ // Set up a custom WM_CLASS for app windows. This allows task switchers in
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc b/chromium-new/patches/patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc
new file mode 100644
index 0000000..ea4cda2
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_ash_chrome_browser_main_extra_parts_ash_cc,v 1.1 2015/01/22 11:16:40 robert Exp $
+--- chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc.orig.port Sat Dec 27 12:59:28 2014
++++ chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc Sat Dec 27 13:07:28 2014
+@@ -75,7 +75,7 @@ void ChromeBrowserMainExtraPartsAsh::PreProfileInit()
+ if (chrome::ShouldOpenAshOnStartup()) {
+ chrome::OpenAsh(gfx::kNullAcceleratedWidget);
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ ash::Shell::GetInstance()->CreateShelf();
+ ash::Shell::GetInstance()->ShowShelf();
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_cc b/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_cc
new file mode 100644
index 0000000..a6fc8a3
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_browser_ui_views_chrome_views_delegate_cc,v 1.12 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/ui/views/chrome_views_delegate.cc.orig.port Tue Nov 24 21:00:54 2015
++++ chrome/browser/ui/views/chrome_views_delegate.cc Wed Dec 2 08:18:32 2015
+@@ -48,7 +48,7 @@
+ #include "ui/views/widget/native_widget_aura.h"
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "ui/views/linux_ui/linux_ui.h"
+ #endif
+
+@@ -271,7 +271,7 @@ bool ChromeViewsDelegate::IsWindowInMetro(gfx::NativeW
+ return chrome::IsNativeViewInAsh(window);
+ }
+
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ gfx::ImageSkia* ChromeViewsDelegate::GetDefaultWindowIcon() const {
+ ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
+ return rb.GetImageSkiaNamed(IDR_PRODUCT_LOGO_64);
+@@ -410,7 +410,7 @@ void ChromeViewsDelegate::OnBeforeWidgetInit(
+ #endif
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ bool ChromeViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
+ // On Ubuntu Unity, the system always provides a title bar for maximized
+ // windows.
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_h b/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_h
new file mode 100644
index 0000000..c2b9efd
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_chrome_views_delegate_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_views_chrome_views_delegate_h,v 1.9 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/ui/views/chrome_views_delegate.h.orig.port Fri Nov 13 12:04:15 2015
++++ chrome/browser/ui/views/chrome_views_delegate.h Wed Dec 2 08:18:32 2015
+@@ -36,7 +36,7 @@ class ChromeViewsDelegate : public views::ViewsDelegat
+ HICON GetDefaultWindowIcon() const override;
+ HICON GetSmallWindowIcon() const override;
+ bool IsWindowInMetro(gfx::NativeWindow window) const override;
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ gfx::ImageSkia* GetDefaultWindowIcon() const override;
+ #endif
+
+@@ -49,7 +49,7 @@ class ChromeViewsDelegate : public views::ViewsDelegat
+ void OnBeforeWidgetInit(
+ views::Widget::InitParams* params,
+ views::internal::NativeWidgetDelegate* delegate) override;
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ bool WindowManagerProvidesTitleBar(bool maximized) override;
+ #endif
+ ui::ContextFactory* GetContextFactory() override;
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc b/chromium-new/patches/patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc
new file mode 100644
index 0000000..b7d306f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_exclusive_access_bubble_views_cc,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/exclusive_access_bubble_views.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/views/exclusive_access_bubble_views.cc Fri Jan 22 19:58:58 2016
+@@ -204,7 +204,7 @@ ExclusiveAccessBubbleViews::ExclusiveAccessView::Exclu
+ exit_instruction_(nullptr),
+ browser_fullscreen_exit_accelerator_(accelerator) {
+ views::BubbleBorder::Shadow shadow_type = views::BubbleBorder::BIG_SHADOW;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Use a smaller shadow on Linux (including ChromeOS) as the shadow assets can
+ // overlap each other in a fullscreen notification bubble.
+ // See http://crbug.com/462983.
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_first_run_dialog_cc b/chromium-new/patches/patch-chrome_browser_ui_views_first_run_dialog_cc
new file mode 100644
index 0000000..79b332f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_first_run_dialog_cc
@@ -0,0 +1,20 @@
+$OpenBSD: patch-chrome_browser_ui_views_first_run_dialog_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/first_run_dialog.cc.orig.port Thu Jan 14 02:49:22 2016
++++ chrome/browser/ui/views/first_run_dialog.cc Fri Jan 22 19:58:58 2016
+@@ -119,12 +119,16 @@ void FirstRunDialog::OnClosed() {
+ bool FirstRunDialog::Accept() {
+ GetWidget()->Hide();
+
++#if !defined(OS_BSD)
+ if (report_crashes_ && report_crashes_->checked()) {
+ if (GoogleUpdateSettings::SetCollectStatsConsent(true))
+ breakpad::InitCrashReporter(std::string());
+ } else {
+ GoogleUpdateSettings::SetCollectStatsConsent(false);
+ }
++#else
++ GoogleUpdateSettings::SetCollectStatsConsent(false);
++#endif
+
+ if (make_default_ && make_default_->checked())
+ ShellIntegration::SetAsDefaultBrowser();
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_frame_browser_frame_cc b/chromium-new/patches/patch-chrome_browser_ui_views_frame_browser_frame_cc
new file mode 100644
index 0000000..e7abb10
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_frame_browser_frame_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_views_frame_browser_frame_cc,v 1.6 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/ui/views/frame/browser_frame.cc.orig.port Sat May 23 00:59:48 2015
++++ chrome/browser/ui/views/frame/browser_frame.cc Sat May 23 01:05:57 2015
+@@ -33,7 +33,7 @@
+ #include "ash/shell.h"
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "chrome/browser/ui/views/frame/browser_command_handler_linux.h"
+ #endif
+
+@@ -82,7 +82,7 @@ void BrowserFrame::InitBrowserFrame() {
+ non_client_view()->set_context_menu_controller(this);
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ browser_command_handler_.reset(new BrowserCommandHandlerLinux(browser_view_));
+ #endif
+ }
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc
new file mode 100644
index 0000000..226c2bb
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc,v 1.16 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig.port Fri Jan 22 22:05:32 2016
++++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc Fri Jan 22 22:05:50 2016
+@@ -55,7 +55,7 @@
+ #include "chrome/browser/ui/views/profiles/supervised_user_avatar_label.h"
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "ui/views/controls/menu/menu_runner.h"
+ #endif
+
+@@ -336,7 +336,7 @@ void OpaqueBrowserFrameView::ButtonPressed(views::Butt
+
+ void OpaqueBrowserFrameView::OnMenuButtonClicked(views::View* source,
+ const gfx::Point& point) {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ views::MenuRunner menu_runner(frame()->GetSystemMenuModel(),
+ views::MenuRunner::HAS_MNEMONICS);
+ ignore_result(menu_runner.RunMenuAt(browser_view()->GetWidget(),
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc
new file mode 100644
index 0000000..c9d027e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_layout_cc,v 1.3 2015/01/22 11:16:41 robert Exp $
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc.orig.port Wed Dec 3 03:32:11 2014
++++ chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc Sat Dec 6 11:34:25 2014
+@@ -87,7 +87,7 @@ const int kTabstripTopShadowThickness = 3;
+ // is no avatar icon.
+ const int kTabStripIndent = -6;
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Default extra space between the top of the frame and the top of the window
+ // caption buttons.
+ const int kExtraCaption = 2;
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc
new file mode 100644
index 0000000..4c68bb1
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_platform_specific_cc,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc.orig.port Sat May 23 00:59:48 2015
++++ chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc Sat May 23 01:06:09 2015
+@@ -10,7 +10,7 @@ bool OpaqueBrowserFrameViewPlatformSpecific::IsUsingSy
+ return false;
+ }
+
+-#if !defined(OS_LINUX)
++#if !defined(OS_LINUX) && !defined(OS_BSD)
+
+ // static
+ OpaqueBrowserFrameViewPlatformSpecific*
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc b/chromium-new/patches/patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc
new file mode 100644
index 0000000..f1be0ee
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_ui_views_frame_system_menu_model_builder_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/views/frame/system_menu_model_builder.cc Fri Jan 22 19:58:58 2016
+@@ -86,7 +86,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForBrowser
+ model->AddSeparator(ui::NORMAL_SEPARATOR);
+ model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
+ }
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ model->AddSeparator(ui::NORMAL_SEPARATOR);
+ model->AddCheckItemWithStringId(IDC_USE_SYSTEM_TITLE_BAR,
+ IDS_SHOW_WINDOW_DECORATIONS_MENU);
+@@ -124,7 +124,7 @@ void SystemMenuModelBuilder::BuildSystemMenuForAppOrPo
+ model->AddSeparator(ui::NORMAL_SEPARATOR);
+ model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
+ }
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ model->AddSeparator(ui::NORMAL_SEPARATOR);
+ model->AddItemWithStringId(IDC_CLOSE_WINDOW, IDS_CLOSE);
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc b/chromium-new/patches/patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc
new file mode 100644
index 0000000..d0dcbee
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_message_center_message_center_frame_view_cc,v 1.3 2015/05/24 15:51:53 robert Exp $
+--- chrome/browser/ui/views/message_center/message_center_frame_view.cc.orig.port Thu May 14 00:23:04 2015
++++ chrome/browser/ui/views/message_center/message_center_frame_view.cc Wed May 20 08:34:56 2015
+@@ -14,7 +14,7 @@
+ namespace message_center {
+
+ MessageCenterFrameView::MessageCenterFrameView() {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ const int kBorderWidth = 1;
+ SetBorder(views::Border::CreateSolidBorder(
+ kBorderWidth, message_center::kMessageCenterBorderColor));
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_panels_panel_frame_view_cc b/chromium-new/patches/patch-chrome_browser_ui_views_panels_panel_frame_view_cc
new file mode 100644
index 0000000..a0abacd
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_panels_panel_frame_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_panels_panel_frame_view_cc,v 1.5 2015/09/05 16:06:50 robert Exp $
+--- chrome/browser/ui/views/panels/panel_frame_view.cc.orig.port Sat Aug 22 21:01:52 2015
++++ chrome/browser/ui/views/panels/panel_frame_view.cc Wed Sep 2 07:31:55 2015
+@@ -587,7 +587,7 @@ bool PanelFrameView::OnMousePressed(const ui::MouseEve
+ }
+
+ bool PanelFrameView::OnMouseDragged(const ui::MouseEvent& event) {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Converting the mouse location to screen coordinates returns an incorrect
+ // location while the panel is moving. See crbug.com/353393 for more details.
+ // TODO(pkotwicz): Fix conversion to screen coordinates
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc b/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc
new file mode 100644
index 0000000..2c2ca1f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc,v 1.9 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/tabs/tab_drag_controller.cc.orig.port Fri Jan 22 22:07:37 2016
++++ chrome/browser/ui/views/tabs/tab_drag_controller.cc Fri Jan 22 22:08:15 2016
+@@ -272,7 +272,7 @@ void TabDragController::Init(
+ // synchronous on desktop Linux, so use that.
+ // - Ash
+ // Releasing capture on Ash cancels gestures so avoid it.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ can_release_capture_ = false;
+ #else
+ can_release_capture_ =
+@@ -624,7 +624,7 @@ TabDragController::DragBrowserToNewTabStrip(
+ // that to effect the position of any windows.
+ SetWindowPositionManaged(browser_widget->GetNativeWindow(), false);
+
+-#if !defined(OS_LINUX) || defined(OS_CHROMEOS)
++#if (!defined(OS_BSD) && !defined(OS_LINUX)) || defined(OS_CHROMEOS)
+ // EndMoveLoop is going to snap the window back to its original location.
+ // Hide it so users don't see this. Hiding a window in Linux aura causes
+ // it to lose capture so skip it.
+@@ -1799,7 +1799,7 @@ gfx::NativeWindow TabDragController::GetLocalProcessWi
+ attached_tabstrip_->GetWidget()->GetNativeWindow();
+ if (exclude_dragged_view && dragged_window)
+ exclude.insert(dragged_window);
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // Exclude windows which are pending deletion via Browser::TabStripEmpty().
+ // These windows can be returned in the Linux Aura port because the browser
+ // window which was used for dragging is not hidden once all of its tabs are
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_strip_cc b/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_strip_cc
new file mode 100644
index 0000000..6fe7977
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_tabs_tab_strip_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_tabs_tab_strip_cc,v 1.14 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/views/tabs/tab_strip.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/views/tabs/tab_strip.cc Fri Jan 22 19:58:58 2016
+@@ -290,7 +290,7 @@ NewTabButton::NewTabButton(TabStrip* tab_strip, views:
+ : views::ImageButton(listener),
+ tab_strip_(tab_strip),
+ destroyed_(NULL) {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ set_triggerable_event_flags(triggerable_event_flags() |
+ ui::EF_MIDDLE_MOUSE_BUTTON);
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_ui_views_task_manager_view_cc b/chromium-new/patches/patch-chrome_browser_ui_views_task_manager_view_cc
new file mode 100644
index 0000000..69cf704
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_views_task_manager_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_views_task_manager_view_cc,v 1.3 2015/10/14 16:42:07 robert Exp $
+--- chrome/browser/ui/views/task_manager_view.cc.orig.port Wed Oct 7 04:42:09 2015
++++ chrome/browser/ui/views/task_manager_view.cc Wed Oct 14 07:41:13 2015
+@@ -341,7 +341,7 @@ void TaskManagerView::Init() {
+ columns_.back().sortable = true;
+ columns_.back().initial_sort_is_ascending = false;
+ // TODO(port) http://crbug.com/120488 for non-Linux.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ columns_.push_back(ui::TableColumn(IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN,
+ ui::TableColumn::RIGHT, -1, 0));
+ columns_.back().sortable = true;
diff --git a/chromium-new/patches/patch-chrome_browser_ui_webui_about_ui_cc b/chromium-new/patches/patch-chrome_browser_ui_webui_about_ui_cc
new file mode 100644
index 0000000..dd007a8
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_webui_about_ui_cc
@@ -0,0 +1,55 @@
+$OpenBSD: patch-chrome_browser_ui_webui_about_ui_cc,v 1.31 2015/12/05 16:13:32 robert Exp $
+--- chrome/browser/ui/webui/about_ui.cc.orig.port Fri Nov 13 12:04:15 2015
++++ chrome/browser/ui/webui/about_ui.cc Wed Dec 2 08:18:32 2015
+@@ -68,7 +68,7 @@
+ #include "chrome/browser/ui/webui/theme_source.h"
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_OPENBSD)
++#if defined(OS_LINUX)
+ #include "content/public/browser/zygote_host_linux.h"
+ #include "content/public/common/sandbox_linux.h"
+ #endif
+@@ -701,7 +701,7 @@ void FinishMemoryDataRequest(
+ }
+ }
+
+-#if defined(OS_LINUX) || defined(OS_OPENBSD)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ std::string AboutLinuxProxyConfig() {
+ std::string data;
+ AppendHeader(&data, 0,
+@@ -717,6 +717,7 @@ std::string AboutLinuxProxyConfig() {
+ return data;
+ }
+
++#if !defined(OS_BSD)
+ void AboutSandboxRow(std::string* data, int name_id, bool good) {
+ data->append("<tr><td>");
+ data->append(l10n_util::GetStringUTF8(name_id));
+@@ -784,6 +785,7 @@ std::string AboutSandbox() {
+ return data;
+ }
+ #endif
++#endif
+
+ // AboutMemoryHandler ----------------------------------------------------------
+
+@@ -956,7 +958,7 @@ void AboutUIHTMLSource::StartDataRequest(
+ } else if (source_name_ == chrome::kChromeUIDNSHost) {
+ AboutDnsHandler::Start(profile(), callback);
+ return;
+-#if defined(OS_LINUX) || defined(OS_OPENBSD)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ } else if (source_name_ == chrome::kChromeUILinuxProxyConfigHost) {
+ response = AboutLinuxProxyConfig();
+ #endif
+@@ -970,7 +972,7 @@ void AboutUIHTMLSource::StartDataRequest(
+ ChromeOSCreditsHandler::Start(path, callback);
+ return;
+ #endif
+-#if defined(OS_LINUX) || defined(OS_OPENBSD)
++#if defined(OS_LINUX)
+ } else if (source_name_ == chrome::kChromeUISandboxHost) {
+ response = AboutSandbox();
+ #endif
diff --git a/chromium-new/patches/patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc b/chromium-new/patches/patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc
new file mode 100644
index 0000000..921004d
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc,v 1.9 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc Fri Jan 22 19:58:58 2016
+@@ -527,7 +527,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
+ if (url.host() == chrome::kChromeUINaClHost)
+ return &NewWebUI<NaClUI>;
+ #endif
+-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
++#if ((defined(OS_LINUX) || defined(OS_BSD)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+ if (url.host() == chrome::kChromeUITabModalConfirmDialogHost) {
+ return &NewWebUI<ConstrainedWebDialogUI>;
+ }
diff --git a/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_cc b/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_cc
new file mode 100644
index 0000000..37da631
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_browser_ui_webui_options_browser_options_handler_cc,v 1.19 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/webui/options/browser_options_handler.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/webui/options/browser_options_handler.cc Fri Jan 22 19:58:58 2016
+@@ -478,7 +478,7 @@ void BrowserOptionsHandler::GetLocalizedValues(base::D
+ { "syncButtonTextStart", IDS_SYNC_SETUP_BUTTON_LABEL },
+ #endif // defined(OS_CHROMEOS)
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
+ { "showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS },
+ { "themesNativeButton", IDS_THEMES_GTK_BUTTON },
+ { "themesSetClassic", IDS_THEMES_SET_CLASSIC },
+@@ -725,7 +725,7 @@ void BrowserOptionsHandler::RegisterMessages() {
+ "requestProfilesInfo",
+ base::Bind(&BrowserOptionsHandler::HandleRequestProfilesInfo,
+ base::Unretained(this)));
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
+ web_ui()->RegisterMessageCallback(
+ "themesSetNative",
+ base::Bind(&BrowserOptionsHandler::ThemesSetNative,
+@@ -1348,7 +1348,7 @@ void BrowserOptionsHandler::ObserveThemeChanged() {
+ ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile);
+ bool is_system_theme = false;
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
+ bool profile_is_supervised = profile->IsSupervised();
+ is_system_theme = theme_service->UsingSystemTheme();
+ base::FundamentalValue native_theme_enabled(!is_system_theme &&
+@@ -1370,7 +1370,7 @@ void BrowserOptionsHandler::ThemesReset(const base::Li
+ ThemeServiceFactory::GetForProfile(profile)->UseDefaultTheme();
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
+ void BrowserOptionsHandler::ThemesSetNative(const base::ListValue* args) {
+ content::RecordAction(UserMetricsAction("Options_GtkThemeSet"));
+ Profile* profile = Profile::FromWebUI(web_ui());
diff --git a/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_h b/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_h
new file mode 100644
index 0000000..681b0bc
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_ui_webui_options_browser_options_handler_h
@@ -0,0 +1,13 @@
+$OpenBSD: patch-chrome_browser_ui_webui_options_browser_options_handler_h,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/ui/webui/options/browser_options_handler.h.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/ui/webui/options/browser_options_handler.h Fri Jan 22 19:58:58 2016
+@@ -204,7 +204,8 @@ class BrowserOptionsHandler
+
+ void ObserveThemeChanged();
+ void ThemesReset(const base::ListValue* args);
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(OS_POSIX) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX) && \
++ !defined(OS_ANDROID)
+ void ThemesSetNative(const base::ListValue* args);
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_browser_web_applications_web_app_cc b/chromium-new/patches/patch-chrome_browser_web_applications_web_app_cc
new file mode 100644
index 0000000..52e8e94
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_web_applications_web_app_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_browser_web_applications_web_app_cc,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- chrome/browser/web_applications/web_app.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/browser/web_applications/web_app.cc Fri Jan 22 19:58:58 2016
+@@ -53,7 +53,7 @@ namespace {
+ #if defined(OS_MACOSX)
+ const int kDesiredSizes[] = {16, 32, 128, 256, 512};
+ const size_t kNumDesiredSizes = arraysize(kDesiredSizes);
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ // Linux supports icons of any size. FreeDesktop Icon Theme Specification states
+ // that "Minimally you should install a 48x48 icon in the hicolor theme."
+ const int kDesiredSizes[] = {16, 32, 48, 128, 256, 512};
+@@ -491,7 +491,7 @@ void GetIconsInfo(const WebApplicationInfo& app_info,
+ }
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ std::string GetWMClassFromAppName(std::string app_name) {
+ base::i18n::ReplaceIllegalCharactersInPath(&app_name, '_');
+ base::TrimString(app_name, "_", &app_name);
diff --git a/chromium-new/patches/patch-chrome_browser_web_applications_web_app_h b/chromium-new/patches/patch-chrome_browser_web_applications_web_app_h
new file mode 100644
index 0000000..b738b65
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_browser_web_applications_web_app_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_browser_web_applications_web_app_h,v 1.9 2015/10/14 16:42:07 robert Exp $
+--- chrome/browser/web_applications/web_app.h.orig.port Wed Oct 7 04:42:09 2015
++++ chrome/browser/web_applications/web_app.h Wed Oct 14 07:41:13 2015
+@@ -223,7 +223,7 @@ typedef std::vector<WebApplicationInfo::IconInfo> Icon
+ void GetIconsInfo(const WebApplicationInfo& app_info, IconInfoList* icons);
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Windows that correspond to web apps need to have a deterministic (and
+ // different) WMClass than normal chrome windows so the window manager groups
+ // them as a separate application.
diff --git a/chromium-new/patches/patch-chrome_chrome_browser_extensions_gypi b/chromium-new/patches/patch-chrome_chrome_browser_extensions_gypi
new file mode 100644
index 0000000..a7d2895
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_browser_extensions_gypi
@@ -0,0 +1,24 @@
+$OpenBSD: patch-chrome_chrome_browser_extensions_gypi,v 1.25 2016/01/23 18:49:31 robert Exp $
+--- chrome/chrome_browser_extensions.gypi.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/chrome_browser_extensions.gypi Fri Jan 22 19:58:58 2016
+@@ -1016,6 +1016,11 @@
+ '<@(chrome_browser_extensions_enabled_sources)',
+ ],
+ 'conditions': [
++ ['os_bsd==1', {
++ 'sources/': [
++ ['exclude', '^browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc'],
++ ],
++ }],
+ ['chromeos==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus',
+@@ -1054,7 +1059,7 @@
+ '../ui/views/views.gyp:views',
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
diff --git a/chromium-new/patches/patch-chrome_chrome_browser_gypi b/chromium-new/patches/patch-chrome_chrome_browser_gypi
new file mode 100644
index 0000000..5942c37
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_browser_gypi
@@ -0,0 +1,43 @@
+$OpenBSD: patch-chrome_chrome_browser_gypi,v 1.43 2016/01/29 16:56:10 robert Exp $
+--- chrome/chrome_browser.gypi.orig.port Wed Jan 27 18:00:46 2016
++++ chrome/chrome_browser.gypi Fri Jan 29 17:31:14 2016
+@@ -3529,7 +3529,7 @@
+ '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
+ ],
+ }],
+- ['OS=="linux" and chromeos==0', {
++ ['OS=="linux" and chromeos==0 or os_bsd==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:libspeechd',
+ ],
+@@ -3584,7 +3584,7 @@
+ ['use_x11==1', {
+ 'sources': [ '<@(chrome_browser_x11_sources)' ],
+ }],
+- ['os_posix == 1 and OS != "mac" and OS != "ios"', {
++ ['os_posix == 1 and OS != "mac" and OS != "ios" and os_bsd != 1', {
+ 'sources': [
+ 'app/chrome_crash_reporter_client.cc',
+ 'app/chrome_crash_reporter_client.h',
+@@ -3706,6 +3706,12 @@
+ }],
+ ],
+ }],
++ ['os_bsd==1', {
++ 'sources/': [
++ ['exclude', '^browser/media_galleries/linux/'],
++ ['exclude', '^browser/memory/system_memory_stats_recorder_linux.cc'],
++ ],
++ }],
+ ['OS=="mac"', {
+ 'dependencies': [
+ '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
+@@ -3826,7 +3832,7 @@
+ }],
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
diff --git a/chromium-new/patches/patch-chrome_chrome_browser_ui_gypi b/chromium-new/patches/patch-chrome_chrome_browser_ui_gypi
new file mode 100644
index 0000000..0f73c4f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_browser_ui_gypi
@@ -0,0 +1,34 @@
+$OpenBSD: patch-chrome_chrome_browser_ui_gypi,v 1.18 2016/01/23 18:49:31 robert Exp $
+--- chrome/chrome_browser_ui.gypi.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/chrome_browser_ui.gypi Fri Jan 22 19:58:58 2016
+@@ -2992,7 +2992,7 @@
+ }],
+ ],
+ }],
+- ['use_aura==1 and chromeos==0 and use_ozone==0 and OS=="linux"', {
++ ['use_aura==1 and chromeos==0 and use_ozone==0 and (OS=="linux" or OS=="openbsd")', {
+ 'dependencies': [
+ # gtk2 is the only component that can interact with gtk2 in our new
+ # world.
+@@ -3000,7 +3000,7 @@
+ '../build/linux/system.gyp:gio',
+ ],
+ }],
+- ['OS=="win" or OS=="mac" or desktop_linux==1', {
++ ['OS=="win" or OS=="mac" or desktop_linux==1 or os_bsd==1', {
+ # A temporary define to make it easier to remove CrOS dependencies on
+ # avatar button code. TODO(estade): remove.
+ 'defines': [ 'FRAME_AVATAR_BUTTON=1', ],
+@@ -3167,10 +3167,10 @@
+ }],
+ ],
+ }],
+- ['desktop_linux==1', {
++ ['desktop_linux==1 or os_bsd==1', {
+ 'sources': [ '<@(chrome_browser_ui_desktop_linux_sources)' ],
+ }],
+- ['OS=="linux"', { # Both desktop Linux and ChromeOS.
++ ['OS=="linux" or os_bsd==1', { # Both desktop Linux and ChromeOS.
+ 'sources': [ '<@(chrome_browser_ui_linux_sources)' ],
+ 'conditions': [
+ ['use_aura==1', {
diff --git a/chromium-new/patches/patch-chrome_chrome_common_gypi b/chromium-new/patches/patch-chrome_chrome_common_gypi
new file mode 100644
index 0000000..b57aeb1
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_common_gypi
@@ -0,0 +1,23 @@
+$OpenBSD: patch-chrome_chrome_common_gypi,v 1.6 2016/01/23 18:49:31 robert Exp $
+--- chrome/chrome_common.gypi.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/chrome_common.gypi Fri Jan 22 19:58:58 2016
+@@ -392,6 +392,11 @@
+ 'sources': [ '<@(chrome_common_mac_sources)' ],
+ 'dependencies': [ 'app_mode_app_support' ],
+ }],
++ ['OS=="openbsd"', {
++ 'sources/': [
++ ['exclude', '^common/component_flash_hint_file_linux.cc'],
++ ],
++ }],
+ ['OS != "ios"', {
+ 'dependencies': [
+ 'common_mojo_bindings',
+@@ -533,6 +538,7 @@
+ }],
+ ['safe_browsing==1', {
+ 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
++ 'dependencies': [ 'safe_browsing_proto' ],
+ }],
+ ],
+ 'target_conditions': [
diff --git a/chromium-new/patches/patch-chrome_chrome_exe_gypi b/chromium-new/patches/patch-chrome_chrome_exe_gypi
new file mode 100644
index 0000000..7af8a2b
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_exe_gypi
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_chrome_exe_gypi,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- chrome/chrome_exe.gypi.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/chrome_exe.gypi Fri Jan 22 19:58:58 2016
+@@ -184,7 +184,7 @@
+ '../build/linux/system.gyp:xext',
+ ],
+ }],
+- ['OS=="linux" and enable_plugins==1', {
++ ['(OS=="openbsd" or OS=="linux") and enable_plugins==1', {
+ 'dependencies': [
+ '../pdf/pdf.gyp:pdf',
+ ],
diff --git a/chromium-new/patches/patch-chrome_chrome_utility_gypi b/chromium-new/patches/patch-chrome_chrome_utility_gypi
new file mode 100644
index 0000000..3498f33
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_chrome_utility_gypi
@@ -0,0 +1,11 @@
+$OpenBSD: patch-chrome_chrome_utility_gypi,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- chrome/chrome_utility.gypi.orig.port Wed Oct 7 04:42:09 2015
++++ chrome/chrome_utility.gypi Wed Oct 14 07:41:13 2015
+@@ -115,6 +115,7 @@
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ 'dependencies': [
+ '../base/base.gyp:base',
++ '../chrome/chrome.gyp:safe_browsing_proto',
+ '../components/components_strings.gyp:components_strings',
+ '../components/components.gyp:safe_json_parser_message_filter',
+ '../components/components.gyp:search_engines',
diff --git a/chromium-new/patches/patch-chrome_common_chrome_paths_cc b/chromium-new/patches/patch-chrome_common_chrome_paths_cc
new file mode 100644
index 0000000..d0efe3f
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_chrome_paths_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chrome_common_chrome_paths_cc,v 1.31 2015/12/12 20:20:01 robert Exp $
+--- chrome/common/chrome_paths.cc.orig.port Tue Dec 8 21:02:52 2015
++++ chrome/common/chrome_paths.cc Sat Dec 12 11:26:09 2015
+@@ -177,7 +177,7 @@ bool PathProvider(int key, base::FilePath* result) {
+ return false;
+ break;
+ case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
+-#if defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ if (!GetUserDownloadsDirectorySafe(&cur))
+ return false;
+ break;
+@@ -419,7 +419,7 @@ bool PathProvider(int key, base::FilePath* result) {
+ break;
+ #endif
+ #if defined(ENABLE_SUPERVISED_USERS)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ case chrome::DIR_SUPERVISED_USERS_DEFAULT_APPS:
+ if (!PathService::Get(chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS, &cur))
+ return false;
+@@ -467,7 +467,7 @@ bool PathProvider(int key, base::FilePath* result) {
+ if (!base::PathExists(cur)) // We don't want to create this
+ return false;
+ break;
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
++#if defined(OS_POSIX) && !defined(OS_MACOSX)
+ case chrome::DIR_POLICY_FILES: {
+ #if defined(GOOGLE_CHROME_BUILD)
+ cur = base::FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
diff --git a/chromium-new/patches/patch-chrome_common_chrome_paths_h b/chromium-new/patches/patch-chrome_common_chrome_paths_h
new file mode 100644
index 0000000..5f01388
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_chrome_paths_h
@@ -0,0 +1,39 @@
+$OpenBSD: patch-chrome_common_chrome_paths_h,v 1.12 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/chrome_paths.h.orig.port Thu Jan 14 02:49:22 2016
++++ chrome/common/chrome_paths.h Fri Jan 22 19:58:58 2016
+@@ -51,7 +51,7 @@ enum {
+ DIR_USER_LIBRARY, // ~/Library
+ #endif
+ #if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \
+- (defined(OS_MACOSX) && !defined(OS_IOS))
++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD)
+ DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
+ // on Chrome Mac and Chromium Linux.
+ // On Chrome OS, this path is used for OEM
+@@ -59,7 +59,7 @@ enum {
+ // create it.
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
+ // definition manifest files that
+ // describe extensions which are to be
+@@ -117,7 +117,7 @@ enum {
+ DIR_SUPERVISED_USER_INSTALLED_WHITELISTS, // Directory where sanitized
+ // supervised user whitelists are
+ // installed.
+-#if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS))
++#if defined(OS_LINUX) || (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD)
+ DIR_NATIVE_MESSAGING, // System directory where native messaging host
+ // manifest files are stored.
+ DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts
+@@ -132,7 +132,7 @@ enum {
+ DIR_GEN_TEST_DATA, // Directory where generated test data resides.
+ DIR_TEST_DATA, // Directory where unit test data resides.
+ DIR_TEST_TOOLS, // Directory where unit test tools reside.
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ FILE_COMPONENT_FLASH_HINT, // A file in a known location that points to
+ // the component updated flash plugin.
+ #endif // defined(OS_LINUX)
diff --git a/chromium-new/patches/patch-chrome_common_chrome_paths_internal_h b/chromium-new/patches/patch-chrome_common_chrome_paths_internal_h
new file mode 100644
index 0000000..46812cb
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_chrome_paths_internal_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_common_chrome_paths_internal_h,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- chrome/common/chrome_paths_internal.h.orig.port Sat May 23 00:59:48 2015
++++ chrome/common/chrome_paths_internal.h Sat May 23 01:07:58 2015
+@@ -39,7 +39,7 @@ void GetUserCacheDirectory(const base::FilePath& profi
+ // Get the path to the user's documents directory.
+ bool GetUserDocumentsDirectory(base::FilePath* result);
+
+-#if defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ // Gets the path to a safe default download directory for a user.
+ bool GetUserDownloadsDirectorySafe(base::FilePath* result);
+ #endif
diff --git a/chromium-new/patches/patch-chrome_common_chrome_switches_cc b/chromium-new/patches/patch-chrome_common_chrome_switches_cc
new file mode 100644
index 0000000..4744d5a
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_chrome_switches_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_common_chrome_switches_cc,v 1.18 2016/01/29 16:56:10 robert Exp $
+--- chrome/common/chrome_switches.cc.orig.port Wed Jan 27 18:00:46 2016
++++ chrome/common/chrome_switches.cc Thu Jan 28 07:31:23 2016
+@@ -1168,7 +1168,7 @@ const char kHelpShort[] = "h";
+ const char kPasswordStore[] = "password-store";
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Triggers migration of user data directory to another directory
+ // specified as a parameter. The migration is done under singleton lock,
+ // and sanity checks are made to avoid corrupting the profile.
diff --git a/chromium-new/patches/patch-chrome_common_chrome_switches_h b/chromium-new/patches/patch-chrome_common_chrome_switches_h
new file mode 100644
index 0000000..673a373
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_chrome_switches_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_common_chrome_switches_h,v 1.24 2016/01/29 16:56:10 robert Exp $
+--- chrome/common/chrome_switches.h.orig.port Wed Jan 27 18:00:46 2016
++++ chrome/common/chrome_switches.h Thu Jan 28 07:31:23 2016
+@@ -329,7 +329,7 @@ extern const char kHelpShort[];
+ extern const char kPasswordStore[];
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ extern const char kMigrateDataDirForSxS[];
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_common_extensions_api_schemas_gypi b/chromium-new/patches/patch-chrome_common_extensions_api_schemas_gypi
new file mode 100644
index 0000000..fe2c434
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_extensions_api_schemas_gypi
@@ -0,0 +1,15 @@
+$OpenBSD: patch-chrome_common_extensions_api_schemas_gypi,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/extensions/api/schemas.gypi.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/common/extensions/api/schemas.gypi Fri Jan 22 19:58:58 2016
+@@ -173,6 +173,11 @@
+ '<@(webrtc_schema_files)',
+ ],
+ }],
++ ['enable_webrtc==0', {
++ 'schema_files': [
++ 'webrtc_logging_private.idl',
++ ],
++ }],
+ ],
+ 'cc_dir': 'chrome/common/extensions/api',
+ 'root_namespace': 'extensions::api::%(namespace)s',
diff --git a/chromium-new/patches/patch-chrome_common_extensions_command_cc b/chromium-new/patches/patch-chrome_common_extensions_command_cc
new file mode 100644
index 0000000..a195715
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_extensions_command_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_common_extensions_command_cc,v 1.2 2015/03/18 19:26:29 robert Exp $
+--- chrome/common/extensions/command.cc.orig.port Tue Mar 10 23:29:08 2015
++++ chrome/common/extensions/command.cc Wed Mar 11 07:22:50 2015
+@@ -301,7 +301,7 @@ std::string Command::CommandPlatform() {
+ return values::kKeybindingPlatformMac;
+ #elif defined(OS_CHROMEOS)
+ return values::kKeybindingPlatformChromeOs;
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ return values::kKeybindingPlatformLinux;
+ #else
+ return "";
diff --git a/chromium-new/patches/patch-chrome_common_pref_names_cc b/chromium-new/patches/patch-chrome_common_pref_names_cc
new file mode 100644
index 0000000..76b0084
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_pref_names_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_common_pref_names_cc,v 1.21 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/pref_names.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/common/pref_names.cc Fri Jan 22 19:58:58 2016
+@@ -883,7 +883,7 @@ const char kForceYouTubeSafetyMode[] = "settings.force
+ // supervised users.
+ const char kRecordHistory[] = "settings.history_recorded";
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ // Linux specific preference on whether we should match the system theme.
+ const char kUsesSystemTheme[] = "extensions.theme.use_system";
+ #endif
+@@ -1354,7 +1354,7 @@ const char kDownloadDefaultDirectory[] = "download.def
+ // upgrade a unsafe location to a safe location.
+ const char kDownloadDirUpgraded[] = "download.directory_upgrade";
+
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ const char kOpenPdfDownloadInSystemReader[] =
+ "download.open_pdf_in_system_reader";
diff --git a/chromium-new/patches/patch-chrome_common_pref_names_h b/chromium-new/patches/patch-chrome_common_pref_names_h
new file mode 100644
index 0000000..f7abe97
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_pref_names_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_common_pref_names_h,v 1.21 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/pref_names.h.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/common/pref_names.h Fri Jan 22 19:58:58 2016
+@@ -291,7 +291,7 @@ extern const char kForceYouTubeSafetyMode[];
+ extern const char kRecordHistory[];
+ extern const char kDeleteTimePeriod[];
+ extern const char kLastClearBrowsingDataTime[];
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ extern const char kUsesSystemTheme[];
+ #endif
+ extern const char kCurrentThemePackFilename[];
+@@ -462,7 +462,7 @@ extern const char kAppWindowPlacement[];
+ extern const char kDownloadDefaultDirectory[];
+ extern const char kDownloadExtensionsToOpen[];
+ extern const char kDownloadDirUpgraded[];
+-#if defined(OS_WIN) || defined(OS_LINUX) || \
++#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
+ (defined(OS_MACOSX) && !defined(OS_IOS))
+ extern const char kOpenPdfDownloadInSystemReader[];
+ #endif
diff --git a/chromium-new/patches/patch-chrome_common_url_constants_cc b/chromium-new/patches/patch-chrome_common_url_constants_cc
new file mode 100644
index 0000000..b103540
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_url_constants_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_common_url_constants_cc,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/url_constants.cc.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/common/url_constants.cc Fri Jan 22 19:58:58 2016
+@@ -130,7 +130,7 @@ const char kChromeUIGestureConfigURL[] = "chrome://ges
+ const char kChromeUIGestureConfigHost[] = "gesture";
+ #endif
+
+-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
++#if ((defined(OS_BSD) || defined(OS_LINUX)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+ const char kChromeUITabModalConfirmDialogURL[] =
+ "chrome://tab-modal-confirm-dialog/";
+ #endif
+@@ -317,7 +317,7 @@ const char kChromeOSAssetPath[] = "/usr/share/chromeos
+ const char kChromeUIMetroFlowHost[] = "make-metro";
+ #endif
+
+-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
++#if ((defined(OS_BSD) || defined(OS_LINUX)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+ const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog";
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_common_url_constants_h b/chromium-new/patches/patch-chrome_common_url_constants_h
new file mode 100644
index 0000000..671536e
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_url_constants_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-chrome_common_url_constants_h,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- chrome/common/url_constants.h.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/common/url_constants.h Fri Jan 22 19:58:58 2016
+@@ -123,7 +123,7 @@ extern const char kChromeUIGestureConfigURL[];
+ extern const char kChromeUIGestureConfigHost[];
+ #endif
+
+-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
++#if ((defined(OS_BSD) || defined(OS_LINUX)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+ extern const char kChromeUITabModalConfirmDialogURL[];
+ #endif
+
+@@ -300,7 +300,7 @@ extern const char kChromeOSAssetPath[];
+ extern const char kChromeUIMetroFlowHost[];
+ #endif
+
+-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
++#if ((defined(OS_BSD) || defined(OS_LINUX)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+ extern const char kChromeUITabModalConfirmDialogHost[];
+ #endif
+
diff --git a/chromium-new/patches/patch-chrome_common_variations_fieldtrial_testing_config_gyp b/chromium-new/patches/patch-chrome_common_variations_fieldtrial_testing_config_gyp
new file mode 100644
index 0000000..4b49c65
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_common_variations_fieldtrial_testing_config_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_common_variations_fieldtrial_testing_config_gyp,v 1.1 2015/10/14 16:42:07 robert Exp $
+--- chrome/common/variations/fieldtrial_testing_config.gyp.orig.port Wed Oct 14 17:21:45 2015
++++ chrome/common/variations/fieldtrial_testing_config.gyp Wed Oct 14 17:21:57 2015
+@@ -19,7 +19,7 @@
+ 'conditions': [
+ ['OS!="android"', {'sources/': [['exclude', '_android\\.json$']]}],
+ ['OS!="win"', {'sources/': [['exclude', '_win\\.json$']]}],
+- ['OS!="linux" or chromeos==1', {'sources/': [['exclude', '_linux\\.json$']]}],
++ ['(OS!="linux" and OS!="openbsd") or chromeos==1', {'sources/': [['exclude', '_linux\\.json$']]}],
+ ['OS!="mac"', {'sources/': [['exclude', '_mac\\.json$']]}],
+ ['chromeos!=1', {'sources/': [['exclude', '_chromeos\\.json$']]}],
+ ['OS!="ios"', {'sources/': [['exclude', '_ios\\.json$']]}],
diff --git a/chromium-new/patches/patch-chrome_policy_templates_gypi b/chromium-new/patches/patch-chrome_policy_templates_gypi
new file mode 100644
index 0000000..5dcaebb
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_policy_templates_gypi
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_policy_templates_gypi,v 1.1 2015/12/12 20:20:01 robert Exp $
+--- chrome/policy_templates.gypi.orig.port Sat Dec 12 13:56:36 2015
++++ chrome/policy_templates.gypi Sat Dec 12 14:04:08 2015
+@@ -8,7 +8,7 @@
+ 'target_name': 'pack_policy_templates',
+ 'type': 'none',
+ 'conditions': [
+- ['OS=="win" or OS=="mac" or OS=="linux"', {
++ ['OS=="win" or OS=="mac" or OS=="linux" or os_bsd==1', {
+ 'dependencies': [
+ '../components/components.gyp:policy_templates',
+ ],
diff --git a/chromium-new/patches/patch-chrome_renderer_resources_neterror_js b/chromium-new/patches/patch-chrome_renderer_resources_neterror_js
new file mode 100644
index 0000000..478cbc9
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_renderer_resources_neterror_js
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_renderer_resources_neterror_js,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- chrome/renderer/resources/neterror.js.orig.port Wed Jan 20 21:01:20 2016
++++ chrome/renderer/resources/neterror.js Fri Jan 22 19:58:58 2016
+@@ -153,7 +153,7 @@ function setUpCachedButton(buttonStrings) {
+ }
+
+ var primaryControlOnLeft = true;
+-<if expr="is_macosx or is_ios or is_linux or is_android">
++<if expr="is_macosx or is_ios or is_linux or is_android or is_bsd">
+ primaryControlOnLeft = false;
+ </if>
+
diff --git a/chromium-new/patches/patch-chrome_utility_media_galleries_image_metadata_extractor_cc b/chromium-new/patches/patch-chrome_utility_media_galleries_image_metadata_extractor_cc
new file mode 100644
index 0000000..cbf4019
--- /dev/null
+++ b/chromium-new/patches/patch-chrome_utility_media_galleries_image_metadata_extractor_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-chrome_utility_media_galleries_image_metadata_extractor_cc,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- chrome/utility/media_galleries/image_metadata_extractor.cc.orig.port Fri Nov 13 12:04:16 2015
++++ chrome/utility/media_galleries/image_metadata_extractor.cc Wed Dec 2 08:18:32 2015
+@@ -103,7 +103,7 @@ class ExifFunctions {
+ base::FilePath module_path = module_dir.AppendASCII("libexif.so");
+ #else
+ // On Linux-like systems, we use the system libexif.
+- base::FilePath module_path = base::FilePath().AppendASCII("libexif.so.12");
++ base::FilePath module_path = base::FilePath().AppendASCII("libexif.so");
+ #endif
+
+ base::NativeLibraryLoadError error;
diff --git a/chromium-new/patches/patch-chromecast_browser_cast_browser_main_parts_cc b/chromium-new/patches/patch-chromecast_browser_cast_browser_main_parts_cc
new file mode 100644
index 0000000..147674e
--- /dev/null
+++ b/chromium-new/patches/patch-chromecast_browser_cast_browser_main_parts_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-chromecast_browser_cast_browser_main_parts_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- chromecast/browser/cast_browser_main_parts.cc.orig.port Fri Jan 22 22:20:14 2016
++++ chromecast/browser/cast_browser_main_parts.cc Fri Jan 22 22:20:28 2016
+@@ -9,7 +9,7 @@
+ #include <signal.h>
+ #include <sys/prctl.h>
+ #endif
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include <fontconfig/fontconfig.h>
+ #endif
+
+@@ -179,7 +179,7 @@ DefaultCommandLineSwitch g_default_switches[] = {
+ #if defined(DISABLE_DISPLAY)
+ { switches::kDisableGpu, "" },
+ #endif
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #if defined(ARCH_CPU_X86_FAMILY)
+ // This is needed for now to enable the egltest Ozone platform to work with
+ // current Linux/NVidia OpenGL drivers.
+@@ -259,7 +259,7 @@ void CastBrowserMainParts::PostMainMessageLoopStart()
+ }
+
+ void CastBrowserMainParts::ToolkitInitialized() {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Without this call, the FontConfig library gets implicitly initialized
+ // on the first call to FontConfig. Since it's not safe to initialize it
+ // concurrently from multiple threads, we explicitly initialize it here
diff --git a/chromium-new/patches/patch-components_audio_modem_modem_impl_cc b/chromium-new/patches/patch-components_audio_modem_modem_impl_cc
new file mode 100644
index 0000000..49b10be
--- /dev/null
+++ b/chromium-new/patches/patch-components_audio_modem_modem_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-components_audio_modem_modem_impl_cc,v 1.1 2015/04/27 16:38:25 robert Exp $
+--- components/audio_modem/modem_impl.cc.orig.port Wed Apr 15 15:37:11 2015
++++ components/audio_modem/modem_impl.cc Wed Apr 15 15:41:00 2015
+@@ -8,6 +8,8 @@
+ #include <limits>
+ #include <vector>
+
++#include <math.h>
++
+ #include "base/bind.h"
+ #include "base/bind_helpers.h"
+ #include "base/command_line.h"
diff --git a/chromium-new/patches/patch-components_cookie_config_cookie_store_util_cc b/chromium-new/patches/patch-components_cookie_config_cookie_store_util_cc
new file mode 100644
index 0000000..05ec49b
--- /dev/null
+++ b/chromium-new/patches/patch-components_cookie_config_cookie_store_util_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-components_cookie_config_cookie_store_util_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- components/cookie_config/cookie_store_util.cc.orig.port Fri Jan 22 22:02:29 2016
++++ components/cookie_config/cookie_store_util.cc Fri Jan 22 22:02:35 2016
+@@ -10,7 +10,7 @@
+
+ namespace cookie_config {
+
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ namespace {
+
+ // Use the operating system's mechanisms to encrypt cookies before writing
diff --git a/chromium-new/patches/patch-components_html_viewer_blink_settings_impl_cc b/chromium-new/patches/patch-components_html_viewer_blink_settings_impl_cc
new file mode 100644
index 0000000..c0c1070
--- /dev/null
+++ b/chromium-new/patches/patch-components_html_viewer_blink_settings_impl_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-components_html_viewer_blink_settings_impl_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- components/html_viewer/blink_settings_impl.cc.orig.port Fri Jan 22 22:21:05 2016
++++ components/html_viewer/blink_settings_impl.cc Fri Jan 22 22:21:13 2016
+@@ -21,7 +21,7 @@
+ #include "url/gurl.h"
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "third_party/WebKit/public/web/linux/WebFontRendering.h"
+ #endif
+
+@@ -384,7 +384,7 @@ void BlinkSettingsImpl::ApplySettings(blink::WebView*
+ #endif
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // TODO(rjkroege): Some of this information needs to be plumbed out of
+ // mus into the html_viewer. Most of this information needs to be
+ // dynamically adjustable (e.g. if I move a mandoline PlatformWindow from
diff --git a/chromium-new/patches/patch-components_metrics_drive_metrics_provider_linux_cc b/chromium-new/patches/patch-components_metrics_drive_metrics_provider_linux_cc
new file mode 100644
index 0000000..f91fffa
--- /dev/null
+++ b/chromium-new/patches/patch-components_metrics_drive_metrics_provider_linux_cc
@@ -0,0 +1,17 @@
+$OpenBSD: patch-components_metrics_drive_metrics_provider_linux_cc,v 1.1 2015/10/14 16:42:07 robert Exp $
+--- components/metrics/drive_metrics_provider_linux.cc.orig.port Wed Oct 14 07:45:52 2015
++++ components/metrics/drive_metrics_provider_linux.cc Wed Oct 14 07:46:06 2015
+@@ -4,7 +4,13 @@
+
+ #include "components/metrics/drive_metrics_provider.h"
+
++#if defined(OS_BSD)
++#include <sys/types.h>
++#define MAJOR(dev) major(dev)
++#define MINOR(dev) minor(dev)
++#else
+ #include <linux/kdev_t.h> // For MAJOR()/MINOR().
++#endif
+ #include <sys/stat.h>
+ #include <string>
+
diff --git a/chromium-new/patches/patch-components_metrics_gypi b/chromium-new/patches/patch-components_metrics_gypi
new file mode 100644
index 0000000..8d540f3
--- /dev/null
+++ b/chromium-new/patches/patch-components_metrics_gypi
@@ -0,0 +1,11 @@
+$OpenBSD: patch-components_metrics_gypi,v 1.1 2015/12/05 16:13:32 robert Exp $
+--- components/metrics.gypi.orig.port Thu Dec 3 08:23:07 2015
++++ components/metrics.gypi Thu Dec 3 09:53:48 2015
+@@ -74,7 +74,6 @@
+ 'metrics/stability_metrics_helper.cc',
+ 'metrics/stability_metrics_helper.h',
+ 'metrics/system_memory_stats_recorder.h',
+- 'metrics/system_memory_stats_recorder_linux.cc',
+ 'metrics/system_memory_stats_recorder_win.cc',
+ 'metrics/url_constants.cc',
+ 'metrics/url_constants.h',
diff --git a/chromium-new/patches/patch-components_omnibox_browser_omnibox_field_trial_cc b/chromium-new/patches/patch-components_omnibox_browser_omnibox_field_trial_cc
new file mode 100644
index 0000000..d5f2331
--- /dev/null
+++ b/chromium-new/patches/patch-components_omnibox_browser_omnibox_field_trial_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-components_omnibox_browser_omnibox_field_trial_cc,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- components/omnibox/browser/omnibox_field_trial.cc.orig.port Tue Nov 24 21:00:54 2015
++++ components/omnibox/browser/omnibox_field_trial.cc Wed Dec 2 08:18:32 2015
+@@ -170,7 +170,7 @@ bool OmniboxFieldTrial::InZeroSuggestFieldTrial() {
+ if (variations::GetVariationParamValue(
+ kBundledExperimentFieldTrialName, kZeroSuggestRule) == "false")
+ return false;
+-#if defined(OS_IOS)
++#if defined(OS_IOS) || defined(OS_BSD)
+ return false;
+ #else
+ return true;
diff --git a/chromium-new/patches/patch-components_policy_resources_policy_templates_json b/chromium-new/patches/patch-components_policy_resources_policy_templates_json
new file mode 100644
index 0000000..20c4e3c
--- /dev/null
+++ b/chromium-new/patches/patch-components_policy_resources_policy_templates_json
@@ -0,0 +1,30 @@
+$OpenBSD: patch-components_policy_resources_policy_templates_json,v 1.14 2016/01/23 18:49:31 robert Exp $
+--- components/policy/resources/policy_templates.json.orig.port Wed Jan 20 21:01:20 2016
++++ components/policy/resources/policy_templates.json Fri Jan 22 19:58:58 2016
+@@ -1892,7 +1892,7 @@
+ 'name': 'GSSAPILibraryName',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+- 'supported_on': ['chrome.linux:9-'],
++ 'supported_on': ['chrome.linux:9-', 'chrome.openbsd:9-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': False,
+@@ -4447,7 +4447,7 @@
+ 'name': 'RequireOnlineRevocationChecksForLocalAnchors',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+- 'supported_on': ['chrome_os:30-', 'chrome.linux:30-', 'chrome.win:30-'],
++ 'supported_on': ['chrome_os:30-', 'chrome.linux:30-', 'chrome.win:30-', 'chrome.openbsd:30-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+@@ -5276,7 +5276,7 @@
+ 'name': 'BackgroundModeEnabled',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+- 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
++ 'supported_on': ['chrome.win:19-', 'chrome.linux:19-', 'chrome.openbsd:19-'],
+ 'features': {
+ 'can_be_recommended': True,
+ 'dynamic_refresh': True,
diff --git a/chromium-new/patches/patch-components_policy_tools_generate_policy_source_py b/chromium-new/patches/patch-components_policy_tools_generate_policy_source_py
new file mode 100644
index 0000000..99edb8f
--- /dev/null
+++ b/chromium-new/patches/patch-components_policy_tools_generate_policy_source_py
@@ -0,0 +1,12 @@
+$OpenBSD: patch-components_policy_tools_generate_policy_source_py,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- components/policy/tools/generate_policy_source.py.orig.port Wed Jan 20 21:01:21 2016
++++ components/policy/tools/generate_policy_source.py Fri Jan 22 19:58:58 2016
+@@ -98,7 +98,7 @@ class PolicyDetails:
+ if platform.startswith('chrome.'):
+ platform_sub = platform[7:]
+ if platform_sub == '*':
+- self.platforms.extend(['win', 'mac', 'linux'])
++ self.platforms.extend(['win', 'mac', 'linux', 'openbsd'])
+ else:
+ self.platforms.append(platform_sub)
+ else:
diff --git a/chromium-new/patches/patch-components_printing_renderer_print_web_view_helper_h b/chromium-new/patches/patch-components_printing_renderer_print_web_view_helper_h
new file mode 100644
index 0000000..dc12d2d
--- /dev/null
+++ b/chromium-new/patches/patch-components_printing_renderer_print_web_view_helper_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-components_printing_renderer_print_web_view_helper_h,v 1.2 2015/07/23 13:44:04 robert Exp $
+--- components/printing/renderer/print_web_view_helper.h.orig.port Wed Jul 15 22:30:02 2015
++++ components/printing/renderer/print_web_view_helper.h Wed Jul 22 08:37:29 2015
+@@ -254,7 +254,7 @@ class PrintWebViewHelper
+ void FinishFramePrinting();
+
+ // Prints the page listed in |params|.
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
+ blink::WebFrame* frame,
+ PdfMetafileSkia* metafile);
diff --git a/chromium-new/patches/patch-components_storage_monitor_gypi b/chromium-new/patches/patch-components_storage_monitor_gypi
new file mode 100644
index 0000000..54af697
--- /dev/null
+++ b/chromium-new/patches/patch-components_storage_monitor_gypi
@@ -0,0 +1,26 @@
+$OpenBSD: patch-components_storage_monitor_gypi,v 1.2 2014/10/13 06:49:19 robert Exp $
+--- components/storage_monitor.gypi.orig.port Thu Oct 2 19:18:56 2014
++++ components/storage_monitor.gypi Fri Oct 10 16:10:30 2014
+@@ -50,6 +50,22 @@
+ 'storage_monitor/volume_mount_watcher_win.h',
+ ],
+ 'conditions': [
++ ['os_bsd == 1', {
++ 'sources!': [
++ 'storage_monitor/media_transfer_protocol_device_observer_linux.cc',
++ 'storage_monitor/media_transfer_protocol_device_observer_linux.h',
++ 'storage_monitor/mtab_watcher_linux.cc',
++ 'storage_monitor/mtab_watcher_linux.h',
++ 'storage_monitor/storage_monitor_linux.cc',
++ 'storage_monitor/storage_monitor_linux.h',
++ 'storage_monitor/udev_util_linux.cc',
++ 'storage_monitor/udev_util_linux.h',
++ ],
++ 'sources': [
++ 'storage_monitor/storage_monitor_openbsd.cc',
++ 'storage_monitor/storage_monitor_openbsd.h',
++ ],
++ }],
+ ['OS == "mac"', {
+ 'link_settings': {
+ 'libraries': [
diff --git a/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_cc b/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_cc
new file mode 100644
index 0000000..d4b6361
--- /dev/null
+++ b/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_cc
@@ -0,0 +1,59 @@
+$OpenBSD: patch-components_storage_monitor_storage_monitor_openbsd_cc,v 1.2 2014/05/24 15:27:34 robert Exp $
+--- components/storage_monitor/storage_monitor_openbsd.cc.orig.port Thu May 22 21:43:56 2014
++++ components/storage_monitor/storage_monitor_openbsd.cc Fri May 23 19:18:08 2014
+@@ -0,0 +1,55 @@
++// Copyright 2014 The Chromium Authors. All rights reserved.
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++// StorageMonitorOpenBSD implementation.
++
++#include "components/storage_monitor/storage_monitor_openbsd.h"
++
++#include <stdio.h>
++
++#include <list>
++
++#include "base/basictypes.h"
++#include "base/bind.h"
++#include "base/metrics/histogram.h"
++#include "base/process/kill.h"
++#include "base/process/launch.h"
++#include "base/stl_util.h"
++#include "base/strings/string_number_conversions.h"
++#include "base/strings/string_util.h"
++#include "base/strings/utf_string_conversions.h"
++#include "components/storage_monitor/media_storage_util.h"
++#include "components/storage_monitor/removable_device_constants.h"
++#include "components/storage_monitor/storage_info.h"
++
++using content::BrowserThread;
++
++namespace storage_monitor {
++
++namespace {
++
++} // namespace
++
++StorageMonitorOpenBSD::StorageMonitorOpenBSD() {
++ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
++}
++
++StorageMonitorOpenBSD::~StorageMonitorOpenBSD() {
++ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
++}
++
++void StorageMonitorOpenBSD::Init() {
++}
++
++bool StorageMonitorOpenBSD::GetStorageInfoForPath(
++ const base::FilePath& path,
++ StorageInfo* device_info) const {
++ return false; // TODO
++}
++
++StorageMonitor* StorageMonitor::CreateInternal() {
++ return new StorageMonitorOpenBSD();
++}
++
++} // namespace storage_monitor
diff --git a/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_h b/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_h
new file mode 100644
index 0000000..f1785d4
--- /dev/null
+++ b/chromium-new/patches/patch-components_storage_monitor_storage_monitor_openbsd_h
@@ -0,0 +1,51 @@
+$OpenBSD: patch-components_storage_monitor_storage_monitor_openbsd_h,v 1.3 2015/01/22 11:16:41 robert Exp $
+--- components/storage_monitor/storage_monitor_openbsd.h.orig.port Sat Dec 6 11:34:26 2014
++++ components/storage_monitor/storage_monitor_openbsd.h Sat Dec 6 12:56:39 2014
+@@ -0,0 +1,47 @@
++// Copyright 2014 The Chromium Authors. All rights reserved.
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++// StorageMonitorOpenBSD processes mount point change events, notifies listeners
++// about the addition and deletion of media devices, and answers queries about
++// mounted devices.
++// StorageMonitorOpenBSD lives on the UI thread, and uses ???
++// the FILE thread to get mount point change events.
++
++#ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_OPENBSD_H_
++#define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_OPENBSD_H_
++
++#include <map>
++#include <string>
++
++#include "base/basictypes.h"
++#include "base/compiler_specific.h"
++#include "base/files/file_path.h"
++#include "base/files/file_path_watcher.h"
++#include "base/memory/scoped_ptr.h"
++#include "base/memory/weak_ptr.h"
++#include "components/storage_monitor/storage_monitor.h"
++#include "content/public/browser/browser_thread.h"
++
++namespace storage_monitor {
++
++class StorageMonitorOpenBSD : public StorageMonitor {
++ public:
++ // Should only be called by browser start up code.
++ // Use StorageMonitor::GetInstance() instead.
++ explicit StorageMonitorOpenBSD();
++ virtual ~StorageMonitorOpenBSD();
++
++ // Must be called for StorageMonitorOpenBSD to work.
++ void Init() override;
++ private:
++ // StorageMonitor implementation.
++ virtual bool GetStorageInfoForPath(const base::FilePath& path,
++ StorageInfo* device_info) const override;
++
++ DISALLOW_COPY_AND_ASSIGN(StorageMonitorOpenBSD);
++};
++
++} // namespace storage_monitor
++
++#endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_OPENBSD_H_
diff --git a/chromium-new/patches/patch-content_app_content_main_runner_cc b/chromium-new/patches/patch-content_app_content_main_runner_cc
new file mode 100644
index 0000000..3efd079
--- /dev/null
+++ b/chromium-new/patches/patch-content_app_content_main_runner_cc
@@ -0,0 +1,47 @@
+$OpenBSD: patch-content_app_content_main_runner_cc,v 1.28 2016/01/23 18:49:31 robert Exp $
+--- content/app/content_main_runner.cc.orig.port Fri Jan 22 22:08:21 2016
++++ content/app/content_main_runner.cc Fri Jan 22 22:09:10 2016
+@@ -98,10 +98,10 @@
+ #include "base/posix/global_descriptors.h"
+ #include "content/public/common/content_descriptors.h"
+
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ #include "content/public/common/zygote_fork_delegate_linux.h"
+ #endif
+-#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ #include "content/zygote/zygote_main.h"
+ #endif
+
+@@ -259,7 +259,7 @@ struct MainFunction {
+ int (*function)(const MainFunctionParams&);
+ };
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ // On platforms that use the zygote, we have a special subset of
+ // subprocesses that are launched via the zygote. This function
+ // fills in some process-launching bits around ZygoteMain().
+@@ -379,7 +379,7 @@ int RunNamedProcessTypeMain(
+ }
+ }
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ // Zygote startup is special -- see RunZygote comments above
+ // for why we don't use ZygoteMain directly.
+ if (process_type == switches::kZygoteProcess)
+@@ -509,10 +509,10 @@ class ContentMainRunnerImpl : public ContentMainRunner
+ kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor);
+ #endif // !OS_ANDROID && !OS_IOS
+
+-#if defined(OS_LINUX) || defined(OS_OPENBSD)
++#if defined(OS_LINUX)
+ g_fds->Set(kCrashDumpSignal,
+ kCrashDumpSignal + base::GlobalDescriptors::kBaseDescriptor);
+-#endif // OS_LINUX || OS_OPENBSD
++#endif // OS_LINUX
+
+
+ #endif // !OS_WIN
diff --git a/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_h b/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_h
new file mode 100644
index 0000000..9ce5f75
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_h
@@ -0,0 +1,30 @@
+$OpenBSD: patch-content_browser_accessibility_browser_accessibility_h,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- content/browser/accessibility/browser_accessibility.h.orig.port Fri Jan 22 22:10:21 2016
++++ content/browser/accessibility/browser_accessibility.h Fri Jan 22 22:11:10 2016
+@@ -36,7 +36,7 @@
+ #define PLATFORM_HAS_NATIVE_ACCESSIBILITY_IMPL 1
+ #endif
+
+-#if defined(OS_LINUX) && defined(USE_X11) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11) && !defined(OS_CHROMEOS)
+ #define PLATFORM_HAS_NATIVE_ACCESSIBILITY_IMPL 1
+ #endif
+
+@@ -48,7 +48,7 @@ namespace content {
+ class BrowserAccessibilityManager;
+ #if defined(OS_WIN)
+ class BrowserAccessibilityWin;
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && defined(USE_X11)
+ class BrowserAccessibilityAuraLinux;
+ #endif
+
+@@ -210,7 +210,7 @@ class CONTENT_EXPORT BrowserAccessibility {
+ #elif defined(OS_WIN)
+ const BrowserAccessibilityWin* ToBrowserAccessibilityWin() const;
+ BrowserAccessibilityWin* ToBrowserAccessibilityWin();
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && defined(USE_X11)
+ const BrowserAccessibilityAuraLinux* ToBrowserAccessibilityAuraLinux() const;
+ BrowserAccessibilityAuraLinux* ToBrowserAccessibilityAuraLinux();
+ #endif
diff --git a/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_manager_h b/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_manager_h
new file mode 100644
index 0000000..e6404ec
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_accessibility_browser_accessibility_manager_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-content_browser_accessibility_browser_accessibility_manager_h,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- content/browser/accessibility/browser_accessibility_manager.h.orig.port Wed Jan 20 21:01:21 2016
++++ content/browser/accessibility/browser_accessibility_manager.h Fri Jan 22 19:58:58 2016
+@@ -28,7 +28,7 @@ class BrowserAccessibilityManager;
+ class BrowserAccessibilityManagerAndroid;
+ #elif defined(OS_WIN)
+ class BrowserAccessibilityManagerWin;
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && defined(USE_X11)
+ class BrowserAccessibilityManagerAuraLinux;
+ #endif
+
+@@ -237,7 +237,7 @@ class CONTENT_EXPORT BrowserAccessibilityManager : pub
+ BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid();
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && defined(USE_X11)
+ BrowserAccessibilityManagerAuraLinux*
+ ToBrowserAccessibilityManagerAuraLinux();
+ #endif
diff --git a/chromium-new/patches/patch-content_browser_browser_main_loop_cc b/chromium-new/patches/patch-content_browser_browser_main_loop_cc
new file mode 100644
index 0000000..a2b861d
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_browser_main_loop_cc
@@ -0,0 +1,49 @@
+$OpenBSD: patch-content_browser_browser_main_loop_cc,v 1.34 2016/01/31 20:45:29 robert Exp $
+--- content/browser/browser_main_loop.cc.orig.port Wed Jan 27 18:00:48 2016
++++ content/browser/browser_main_loop.cc Sun Jan 31 21:39:34 2016
+@@ -170,6 +170,10 @@
+ #include "crypto/nss_util.h"
+ #endif
+
++#if defined(OS_BSD)
++#include "content/common/child_process_sandbox_support_impl_linux.h"
++#endif
++
+ // One of the linux specific headers defines this as a macro.
+ #ifdef DestroyAll
+ #undef DestroyAll
+@@ -178,7 +182,7 @@
+ namespace content {
+ namespace {
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ void SetupSandbox(const base::CommandLine& parsed_command_line) {
+ TRACE_EVENT0("startup", "SetupSandbox");
+ base::FilePath sandbox_binary;
+@@ -429,10 +433,15 @@ void BrowserMainLoop::EarlyInitialization() {
+ TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization");
+ TRACK_SCOPED_REGION("Startup", "BrowserMainLoop::EarlyInitialization");
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ // No thread should be created before this call, as SetupSandbox()
+ // will end-up using fork().
+ SetupSandbox(parsed_command_line_);
++#elif defined(OS_BSD)
++ RenderSandboxHostLinux::GetInstance()->Init();
++ base::FileHandleMappingVector fds_to_map;
++ const int sfd = RenderSandboxHostLinux::GetInstance()->GetRendererSocket();
++ fds_to_map.push_back(std::make_pair(sfd, GetSandboxFD()));
+ #endif
+
+ #if defined(USE_X11)
+@@ -1022,7 +1031,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
+ }
+ #endif
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ ZygoteHostImpl::GetInstance()->TearDownAfterLastChild();
+ #endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+
diff --git a/chromium-new/patches/patch-content_browser_child_process_launcher_cc b/chromium-new/patches/patch-content_browser_child_process_launcher_cc
new file mode 100644
index 0000000..f4ac845
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_child_process_launcher_cc
@@ -0,0 +1,51 @@
+$OpenBSD: patch-content_browser_child_process_launcher_cc,v 1.25 2016/01/23 20:43:27 robert Exp $
+--- content/browser/child_process_launcher.cc.orig.port Wed Jan 20 21:01:21 2016
++++ content/browser/child_process_launcher.cc Sat Jan 23 20:10:57 2016
+@@ -114,7 +114,11 @@ void LaunchOnLauncherThread(const NotifyCallback& call
+ base::EnvironmentMap env = delegate->GetEnvironment();
+ base::ScopedFD ipcfd = delegate->TakeIpcFd();
+ #elif defined(OS_POSIX) && !defined(OS_ANDROID)
++#if !defined(OS_BSD)
+ bool use_zygote = delegate->ShouldUseZygote();
++#else
++ bool use_zygote = false;
++#endif
+ base::EnvironmentMap env = delegate->GetEnvironment();
+ base::ScopedFD ipcfd = delegate->TakeIpcFd();
+ #endif
+@@ -196,7 +200,7 @@ void LaunchOnLauncherThread(const NotifyCallback& call
+ // We need to close the client end of the IPC channel to reliably detect
+ // child termination.
+
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ if (use_zygote) {
+ base::ProcessHandle handle = ZygoteHostImpl::GetInstance()->ForkRequest(
+ cmd_line->argv(), files_to_register.Pass(), process_type);
+@@ -298,7 +302,7 @@ void TerminateOnLauncherThread(bool zygote, base::Proc
+ process.Terminate(RESULT_CODE_NORMAL_EXIT, false);
+ // On POSIX, we must additionally reap the child.
+ #if defined(OS_POSIX)
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ if (zygote) {
+ // If the renderer was created via a zygote, we have to proxy the reaping
+ // through the zygote process.
+@@ -400,7 +404,7 @@ void ChildProcessLauncher::Launch(
+
+ void ChildProcessLauncher::UpdateTerminationStatus(bool known_dead) {
+ DCHECK(CalledOnValidThread());
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ if (zygote_) {
+ termination_status_ = ZygoteHostImpl::GetInstance()->
+ GetTerminationStatus(process_.Handle(), known_dead, &exit_code_);
+@@ -482,7 +486,7 @@ void ChildProcessLauncher::Notify(
+ starting_ = false;
+ process_ = process.Pass();
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ zygote_ = zygote;
+ #endif
+ if (process_.IsValid()) {
diff --git a/chromium-new/patches/patch-content_browser_devtools_protocol_color_picker_cc b/chromium-new/patches/patch-content_browser_devtools_protocol_color_picker_cc
new file mode 100644
index 0000000..1239848
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_devtools_protocol_color_picker_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_devtools_protocol_color_picker_cc,v 1.2 2015/10/14 16:42:07 robert Exp $
+--- content/browser/devtools/protocol/color_picker.cc.orig.port Wed Oct 7 04:42:11 2015
++++ content/browser/devtools/protocol/color_picker.cc Wed Oct 14 07:41:13 2015
+@@ -150,7 +150,7 @@ void ColorPicker::UpdateCursor() {
+ // magnified projection only with centered hotspot.
+ // Mac Retina requires cursor to be > 120px in order to render smoothly.
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ const float kCursorSize = 63;
+ const float kDiameter = 63;
+ const float kHotspotOffset = 32;
diff --git a/chromium-new/patches/patch-content_browser_download_base_file_cc b/chromium-new/patches/patch-content_browser_download_base_file_cc
new file mode 100644
index 0000000..4efceea
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_download_base_file_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_download_base_file_cc,v 1.5 2015/09/05 16:06:50 robert Exp $
+--- content/browser/download/base_file.cc.orig.port Sat Aug 22 21:01:54 2015
++++ content/browser/download/base_file.cc Wed Sep 2 07:31:55 2015
+@@ -209,7 +209,7 @@ void BaseFile::SetClientGuid(const std::string& guid)
+ }
+
+ // OS_WIN, OS_MACOSX and OS_LINUX have specialized implementations.
+-#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX)
++#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) && !defined(OS_BSD)
+ DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() {
+ return DOWNLOAD_INTERRUPT_REASON_NONE;
+ }
diff --git a/chromium-new/patches/patch-content_browser_download_base_file_linux_cc b/chromium-new/patches/patch-content_browser_download_base_file_linux_cc
new file mode 100644
index 0000000..bf0a558
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_download_base_file_linux_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-content_browser_download_base_file_linux_cc,v 1.2 2015/05/24 15:51:53 robert Exp $
+--- content/browser/download/base_file_linux.cc.orig.port Thu May 14 00:23:06 2015
++++ content/browser/download/base_file_linux.cc Wed May 20 08:34:56 2015
+@@ -13,7 +13,9 @@ DownloadInterruptReason BaseFile::AnnotateWithSourceIn
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE);
+ DCHECK(!detached_);
+
++#if !defined(OS_BSD)
+ AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
++#endif
+ return DOWNLOAD_INTERRUPT_REASON_NONE;
+ }
+
diff --git a/chromium-new/patches/patch-content_browser_gamepad_gamepad_provider_cc b/chromium-new/patches/patch-content_browser_gamepad_gamepad_provider_cc
new file mode 100644
index 0000000..b2c00dd
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_gamepad_gamepad_provider_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_gamepad_gamepad_provider_cc,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- content/browser/gamepad/gamepad_provider.cc.orig.port Sat May 23 00:59:48 2015
++++ content/browser/gamepad/gamepad_provider.cc Sat May 23 01:10:34 2015
+@@ -128,7 +128,7 @@ void GamepadProvider::Initialize(scoped_ptr<GamepadDat
+ pad_states_.reset(new PadState[WebGamepads::itemsLengthCap]);
+
+ polling_thread_.reset(new base::Thread("Gamepad polling thread"));
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // On Linux, the data fetcher needs to watch file descriptors, so the message
+ // loop needs to be a libevent loop.
+ const base::MessageLoop::Type kMessageLoopType = base::MessageLoop::TYPE_IO;
diff --git a/chromium-new/patches/patch-content_browser_geolocation_location_arbitrator_impl_cc b/chromium-new/patches/patch-content_browser_geolocation_location_arbitrator_impl_cc
new file mode 100644
index 0000000..42d1745
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_geolocation_location_arbitrator_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_geolocation_location_arbitrator_impl_cc,v 1.3 2015/04/27 16:38:25 robert Exp $
+--- content/browser/geolocation/location_arbitrator_impl.cc.orig.port Wed Apr 15 00:18:53 2015
++++ content/browser/geolocation/location_arbitrator_impl.cc Wed Apr 15 08:32:50 2015
+@@ -170,7 +170,7 @@ LocationProvider* LocationArbitratorImpl::NewNetworkLo
+ }
+
+ LocationProvider* LocationArbitratorImpl::NewSystemLocationProvider() {
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ return NULL;
+ #else
+ return content::NewSystemLocationProvider();
diff --git a/chromium-new/patches/patch-content_browser_gpu_gpu_data_manager_impl_private_cc b/chromium-new/patches/patch-content_browser_gpu_gpu_data_manager_impl_private_cc
new file mode 100644
index 0000000..5c4642b
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_gpu_gpu_data_manager_impl_private_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_gpu_gpu_data_manager_impl_private_cc,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig.port Tue Oct 13 21:04:32 2015
++++ content/browser/gpu/gpu_data_manager_impl_private.cc Wed Oct 14 07:41:13 2015
+@@ -360,7 +360,7 @@ bool GpuDataManagerImplPrivate::GpuAccessAllowed(
+ // strings even if all features are blacklisted. If all GPU features are
+ // disabled, the GPU process will only initialize GL bindings, create a GL
+ // context, and collect full GPU info.
+-#if !defined(OS_LINUX)
++#if !defined(OS_LINUX) && !defined(OS_BSD)
+ if (reason) {
+ *reason = "All GPU features are blacklisted.";
+ }
diff --git a/chromium-new/patches/patch-content_browser_gpu_gpu_internals_ui_cc b/chromium-new/patches/patch-content_browser_gpu_gpu_internals_ui_cc
new file mode 100644
index 0000000..6b77f61
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_gpu_gpu_internals_ui_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-content_browser_gpu_gpu_internals_ui_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- content/browser/gpu/gpu_internals_ui.cc.orig.port Wed Jan 20 21:01:21 2016
++++ content/browser/gpu/gpu_internals_ui.cc Fri Jan 22 19:58:58 2016
+@@ -4,7 +4,7 @@
+
+ #include "content/browser/gpu/gpu_internals_ui.h"
+
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ #include <X11/Xlib.h>
+ #endif
+
+@@ -41,7 +41,7 @@
+ #include "ui/base/win/shell.h"
+ #endif
+
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ #include "ui/base/x/x11_util.h"
+ #include "ui/gfx/x/x11_atom_cache.h"
+ #endif
+@@ -183,7 +183,7 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
+ gpu_info.gl_ws_version));
+ basic_info->Append(NewDescriptionValuePair("Window system binding extensions",
+ gpu_info.gl_ws_extensions));
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ basic_info->Append(NewDescriptionValuePair("Window manager",
+ ui::GuessWindowManagerName()));
+ {
diff --git a/chromium-new/patches/patch-content_browser_power_usage_monitor_impl_cc b/chromium-new/patches/patch-content_browser_power_usage_monitor_impl_cc
new file mode 100644
index 0000000..66e83bf
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_power_usage_monitor_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_power_usage_monitor_impl_cc,v 1.1 2015/03/18 19:26:29 robert Exp $
+--- content/browser/power_usage_monitor_impl.cc.orig.port Wed Mar 11 22:02:40 2015
++++ content/browser/power_usage_monitor_impl.cc Wed Mar 11 22:02:54 2015
+@@ -18,6 +18,8 @@
+ #include "content/public/browser/power_usage_monitor.h"
+ #include "content/public/browser/render_process_host.h"
+
++#include <math.h>
++
+ namespace content {
+
+ namespace {
diff --git a/chromium-new/patches/patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h b/chromium-new/patches/patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h
new file mode 100644
index 0000000..2e96950
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h
@@ -0,0 +1,24 @@
+$OpenBSD: patch-content_browser_renderer_host_p2p_socket_dispatcher_host_h,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- content/browser/renderer_host/p2p/socket_dispatcher_host.h.orig.port Wed Jan 20 21:01:21 2016
++++ content/browser/renderer_host/p2p/socket_dispatcher_host.h Fri Jan 22 19:58:58 2016
+@@ -46,12 +46,6 @@ class P2PSocketDispatcherHost
+ // net::NetworkChangeNotifier::IPAddressObserver interface.
+ void OnIPAddressChanged() override;
+
+- // Starts the RTP packet header dumping. Must be called on the IO thread.
+- void StartRtpDump(
+- bool incoming,
+- bool outgoing,
+- const RenderProcessHost::WebRtcRtpPacketCallback& packet_callback);
+-
+ // Stops the RTP packet header dumping. Must be Called on the UI thread.
+ void StopRtpDumpOnUIThread(bool incoming, bool outgoing);
+
+@@ -119,7 +113,6 @@ class P2PSocketDispatcherHost
+
+ bool dump_incoming_rtp_packet_;
+ bool dump_outgoing_rtp_packet_;
+- RenderProcessHost::WebRtcRtpPacketCallback packet_callback_;
+
+ DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost);
+ };
diff --git a/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_impl_cc b/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_impl_cc
new file mode 100644
index 0000000..cad52c3
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_renderer_host_render_widget_host_impl_cc,v 1.1 2015/12/12 20:20:01 robert Exp $
+--- content/browser/renderer_host/render_widget_host_impl.cc.orig.port Sat Dec 12 11:16:43 2015
++++ content/browser/renderer_host/render_widget_host_impl.cc Sat Dec 12 11:33:30 2015
+@@ -657,7 +657,7 @@ void RenderWidgetHostImpl::WasResized() {
+ }
+
+ void RenderWidgetHostImpl::DispatchColorProfile() {
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ static bool image_profiles = base::CommandLine::ForCurrentProcess()->
+ HasSwitch(switches::kEnableImageColorProfiles);
+ if (!image_profiles)
diff --git a/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_view_aura_cc b/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_view_aura_cc
new file mode 100644
index 0000000..aab9956
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_renderer_host_render_widget_host_view_aura_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-content_browser_renderer_host_render_widget_host_view_aura_cc,v 1.14 2016/01/23 18:49:31 robert Exp $
+--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig.port Fri Jan 22 22:11:24 2016
++++ content/browser/renderer_host/render_widget_host_view_aura.cc Fri Jan 22 22:12:03 2016
+@@ -102,7 +102,7 @@
+ #include "ui/gfx/win/dpi.h"
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "content/common/input_messages.h"
+ #include "ui/events/linux/text_edit_command_auralinux.h"
+ #include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h"
+@@ -2543,7 +2543,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
+ }
+
+ bool RenderWidgetHostViewAura::NeedsMouseCapture() {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ return NeedsInputGrab();
+ #endif
+ return false;
+@@ -2774,7 +2774,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEvent(
+ if (host_->delegate())
+ target_host = host_->delegate()->GetFocusedRenderWidgetHost(host_);
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ ui::TextEditKeyBindingsDelegateAuraLinux* keybinding_delegate =
+ ui::GetTextEditKeyBindingsDelegate();
+ std::vector<ui::TextEditCommandAuraLinux> commands;
diff --git a/chromium-new/patches/patch-content_browser_time_zone_monitor_cc b/chromium-new/patches/patch-content_browser_time_zone_monitor_cc
new file mode 100644
index 0000000..10a55ae
--- /dev/null
+++ b/chromium-new/patches/patch-content_browser_time_zone_monitor_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_browser_time_zone_monitor_cc,v 1.1 2015/07/25 12:59:15 robert Exp $
+--- content/browser/time_zone_monitor.cc.orig.port Fri Jul 24 10:34:08 2015
++++ content/browser/time_zone_monitor.cc Fri Jul 24 10:34:17 2015
+@@ -28,7 +28,7 @@ void TimeZoneMonitor::NotifyRenderers() {
+ scoped_ptr<icu::TimeZone> new_zone(icu::TimeZone::createDefault());
+ #else
+ icu::TimeZone* new_zone = icu::TimeZone::detectHostTimeZone();
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // We get here multiple times on Linux per a single tz change, but
+ // want to update the ICU default zone and notify renderer only once.
+ scoped_ptr<icu::TimeZone> current_zone(icu::TimeZone::createDefault());
diff --git a/chromium-new/patches/patch-content_common_gpu_gpu_memory_manager_h b/chromium-new/patches/patch-content_common_gpu_gpu_memory_manager_h
new file mode 100644
index 0000000..94349b3
--- /dev/null
+++ b/chromium-new/patches/patch-content_common_gpu_gpu_memory_manager_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_common_gpu_gpu_memory_manager_h,v 1.1 2014/07/20 17:22:34 robert Exp $
+--- content/common/gpu/gpu_memory_manager.h.orig.port Sat Jul 19 05:41:40 2014
++++ content/common/gpu/gpu_memory_manager.h Sat Jul 19 05:44:26 2014
+@@ -28,7 +28,7 @@ class GpuMemoryTrackingGroup;
+ class CONTENT_EXPORT GpuMemoryManager :
+ public base::SupportsWeakPtr<GpuMemoryManager> {
+ public:
+-#if defined(OS_ANDROID) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if defined(OS_ANDROID) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 1 };
+ #else
+ enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 8 };
diff --git a/chromium-new/patches/patch-content_common_sandbox_init_openbsd_cc b/chromium-new/patches/patch-content_common_sandbox_init_openbsd_cc
new file mode 100644
index 0000000..5df8f21
--- /dev/null
+++ b/chromium-new/patches/patch-content_common_sandbox_init_openbsd_cc
@@ -0,0 +1,80 @@
+$OpenBSD: patch-content_common_sandbox_init_openbsd_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- content/common/sandbox_init_openbsd.cc.orig.port Fri Jan 22 20:01:50 2016
++++ content/common/sandbox_init_openbsd.cc Sat Jan 23 13:18:46 2016
+@@ -0,0 +1,76 @@
++/*
++ * Copyright (c) 2016 Robert Nagy <robert%openbsd.org@localhost>
++ *
++ * Permission to use, copy, modify, and distribute this software for any
++ * purpose with or without fee is hereby granted, provided that the above
++ * copyright notice and this permission notice appear in all copies.
++ *
++ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
++ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
++ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
++ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
++ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
++ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
++ */
++
++#include "content/common/sandbox_init_openbsd.h"
++
++#include "base/command_line.h"
++#include "base/logging.h"
++#include "base/rand_util.h"
++#include "base/sys_info.h"
++#include "content/public/common/content_switches.h"
++#include "content/public/common/sandbox_init.h"
++
++namespace content {
++
++bool InitializeSandbox() {
++ const base::CommandLine& command_line =
++ *base::CommandLine::ForCurrentProcess();
++ if (command_line.HasSwitch(switches::kNoSandbox))
++ return false;
++
++ std::string process_type =
++ command_line.GetSwitchValueASCII(switches::kProcessType);
++ VLOG(1) << "InitializeSandbox() process_type=" << process_type;
++ if (process_type.empty()) {
++ // Browser process isn't sandboxed.
++ return false;
++ } else if (process_type == switches::kRendererProcess) {
++ // prot_exec needed by v8
++ // flock needed by sqlite3 locking
++ if (pledge("stdio rpath flock prot_exec sendfd", NULL) == -1) {
++ LOG(ERROR) << "pledge() failed, errno: " << errno;
++ _exit(1);
++ }
++ } else if (process_type == switches::kGpuProcess) {
++ if (pledge("stdio drm prot_exec sendfd", NULL) == -1) {
++ LOG(ERROR) << "pledge() failed, errno: " << errno;
++ _exit(1);
++ }
++ } else if ((process_type == switches::kPluginProcess) ||
++ (process_type == switches::kPpapiPluginProcess)) {
++ // "cache" the amount of physical memory before pledge(2)
++ {
++ base::SysInfo::AmountOfPhysicalMemoryMB();
++ base::GetUrandomFD();
++ }
++ // prot_exec needed by v8
++ if (pledge("stdio prot_exec sendfd", NULL) == -1) {
++ LOG(ERROR) << "pledge() failed, errno: " << errno;
++ _exit(1);
++ }
++ } else if (process_type == switches::kUtilityProcess) {
++ if (pledge("stdio rpath cpath wpath fattr", NULL) == -1) {
++ LOG(ERROR) << "pledge() failed, errno: " << errno;
++ _exit(1);
++ }
++ } else {
++ return false;
++ }
++
++ return true;
++}
++
++} // namespace content
diff --git a/chromium-new/patches/patch-content_common_sandbox_init_openbsd_h b/chromium-new/patches/patch-content_common_sandbox_init_openbsd_h
new file mode 100644
index 0000000..39f15d7
--- /dev/null
+++ b/chromium-new/patches/patch-content_common_sandbox_init_openbsd_h
@@ -0,0 +1,32 @@
+$OpenBSD: patch-content_common_sandbox_init_openbsd_h,v 1.1 2016/01/06 21:46:44 robert Exp $
+--- content/common/sandbox_init_openbsd.h.orig.port Sun Jan 3 21:05:04 2016
++++ content/common/sandbox_init_openbsd.h Mon Jan 4 08:17:09 2016
+@@ -0,0 +1,28 @@
++/*
++ * Copyright (c) 2016 Robert Nagy <robert%openbsd.org@localhost>
++ *
++ * Permission to use, copy, modify, and distribute this software for any
++ * purpose with or without fee is hereby granted, provided that the above
++ * copyright notice and this permission notice appear in all copies.
++ *
++ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
++ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
++ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
++ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
++ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
++ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
++ */
++
++#ifndef CONTENT_COMMON_SANDBOX_INIT_OPENBSD_H_
++#define CONTENT_COMMON_SANDBOX_INIT_OPENBSD_H_
++
++namespace content {
++
++// Initialize the sandbox for renderer, gpu, utility, worker, and plugin
++// processes, depending on the command line flags.
++bool InitializeSandbox();
++
++} // namespace content
++
++#endif // CONTENT_COMMON_SANDBOX_INIT_OPENBSD_H_
diff --git a/chromium-new/patches/patch-content_common_set_process_title_linux_cc b/chromium-new/patches/patch-content_common_set_process_title_linux_cc
new file mode 100644
index 0000000..6675d07
--- /dev/null
+++ b/chromium-new/patches/patch-content_common_set_process_title_linux_cc
@@ -0,0 +1,20 @@
+$OpenBSD: patch-content_common_set_process_title_linux_cc,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- content/common/set_process_title_linux.cc.orig.port Sun Oct 20 18:59:28 2013
++++ content/common/set_process_title_linux.cc Sun Oct 20 18:59:54 2013
+@@ -48,6 +48,8 @@
+ extern char** environ;
+
+ static char** g_main_argv = NULL;
++
++#if !defined(OS_BSD)
+ static char* g_orig_argv0 = NULL;
+
+ void setproctitle(const char* fmt, ...) {
+@@ -100,6 +102,7 @@ void setproctitle(const char* fmt, ...) {
+ va_end(ap);
+ g_main_argv[1] = NULL;
+ }
++#endif
+
+ // A version of this built into glibc would not need this function, since
+ // it could stash the argv pointer in __libc_start_main(). But we need it.
diff --git a/chromium-new/patches/patch-content_common_set_process_title_linux_h b/chromium-new/patches/patch-content_common_set_process_title_linux_h
new file mode 100644
index 0000000..66fcfc2
--- /dev/null
+++ b/chromium-new/patches/patch-content_common_set_process_title_linux_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-content_common_set_process_title_linux_h,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- content/common/set_process_title_linux.h.orig.port Sun Oct 20 19:00:29 2013
++++ content/common/set_process_title_linux.h Sun Oct 20 19:00:48 2013
+@@ -5,6 +5,9 @@
+ #ifndef CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_
+ #define CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_
+
++#include "build/build_config.h"
++
++#if !defined(OS_BSD)
+ // Set the process title that will show in "ps" and similar tools. Takes
+ // printf-style format string and arguments. After calling setproctitle()
+ // the original main() argv[] array should not be used. By default, the
+@@ -14,6 +17,7 @@
+ // This signature and naming is to be compatible with most other Unix
+ // implementations of setproctitle().
+ void setproctitle(const char* fmt, ...);
++#endif
+
+ // Initialize state needed for setproctitle() on Linux. Pass the argv pointer
+ // from main() to setproctitle_init() before calling setproctitle().
diff --git a/chromium-new/patches/patch-content_content_browser_gypi b/chromium-new/patches/patch-content_content_browser_gypi
new file mode 100644
index 0000000..66e2c6c
--- /dev/null
+++ b/chromium-new/patches/patch-content_content_browser_gypi
@@ -0,0 +1,67 @@
+$OpenBSD: patch-content_content_browser_gypi,v 1.39 2016/01/23 20:43:27 robert Exp $
+--- content/content_browser.gypi.orig.port Wed Jan 20 21:01:21 2016
++++ content/content_browser.gypi Sat Jan 23 20:16:30 2016
+@@ -1963,7 +1963,7 @@
+ },
+ },
+ }],
+- ['OS=="linux" and chromeos==0 and use_x11==1', {
++ ['(os_bsd==1 or OS=="linux") and chromeos==0 and use_x11==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:atk',
+ '../build/linux/system.gyp:gconf',
+@@ -1992,7 +1992,7 @@
+ 'browser/udev_linux.h',
+ ],
+ }],
+- ['OS=="linux" and use_aura==1', {
++ ['(os_bsd==1 or OS=="linux") and use_aura==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:fontconfig',
+ ],
+@@ -2090,9 +2090,22 @@
+ ],
+ }],
+ ['os_bsd==1', {
+- 'sources/': [
+- ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'],
++ 'sources!': [
++ 'public/browser/zygote_host_linux.h',
++ 'browser/zygote_host/zygote_host_impl_linux.cc',
++ 'browser/zygote_host/zygote_host_impl_linux.h',
++ 'zygote/zygote_linux.cc',
++ 'zygote/zygote_linux.h',
++ 'zygote/zygote_main_linux.cc',
++ 'browser/device_monitor_linux.cc',
++ 'browser/download/file_metadata_linux.cc',
++ 'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
++ 'browser/geolocation/wifi_data_provider_linux.cc',
++ 'browser/udev_linux.cc',
+ ],
++ 'dependencies': [
++ '../build/linux/system.gyp:dbus',
++ ],
+ }],
+ ['use_aura==1', {
+ 'dependencies': [
+@@ -2140,10 +2153,7 @@
+ 'browser/geolocation/empty_wifi_data_provider.cc',
+ ],
+ }],
+- ['OS == "linux" and use_dbus==1', {
+- 'sources!': [
+- 'browser/geolocation/empty_wifi_data_provider.cc',
+- ],
++ ['(OS == "linux" or os_bsd==1) and use_dbus==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus',
+ '../dbus/dbus.gyp:dbus',
+@@ -2162,7 +2172,7 @@
+ 'browser/media/media_web_contents_observer.h',
+ ],
+ }],
+- ['OS == "linux"', {
++ ['(os_bsd==1 or OS == "linux")', {
+ 'dependencies': [
+ '../third_party/boringssl/boringssl.gyp:boringssl',
+ ],
diff --git a/chromium-new/patches/patch-content_content_common_gypi b/chromium-new/patches/patch-content_content_common_gypi
new file mode 100644
index 0000000..edfa33e
--- /dev/null
+++ b/chromium-new/patches/patch-content_content_common_gypi
@@ -0,0 +1,47 @@
+$OpenBSD: patch-content_content_common_gypi,v 1.27 2016/01/23 18:49:31 robert Exp $
+--- content/content_common.gypi.orig.port Wed Jan 20 21:01:21 2016
++++ content/content_common.gypi Fri Jan 22 19:58:58 2016
+@@ -487,6 +487,8 @@
+ 'common/resource_request_body.h',
+ 'common/sandbox_init_mac.cc',
+ 'common/sandbox_init_mac.h',
++ 'common/sandbox_init_openbsd.cc',
++ 'common/sandbox_init_openbsd.h',
+ 'common/sandbox_init_win.cc',
+ 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
+ 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
+@@ -741,6 +743,34 @@
+ 'dependencies': [
+ 'content.gyp:content_jni_headers',
+ 'content.gyp:common_aidl',
++ ],
++ }],
++ ['os_bsd==1', {
++ 'sources!': [
++ 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
++ 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
++ 'common/sandbox_linux/bpf_gpu_policy_linux.cc',
++ 'common/sandbox_linux/bpf_gpu_policy_linux.h',
++ 'common/sandbox_linux/bpf_ppapi_policy_linux.cc',
++ 'common/sandbox_linux/bpf_ppapi_policy_linux.h',
++ 'common/sandbox_linux/bpf_renderer_policy_linux.cc',
++ 'common/sandbox_linux/bpf_renderer_policy_linux.h',
++ 'common/sandbox_linux/bpf_utility_policy_linux.cc',
++ 'common/sandbox_linux/bpf_utility_policy_linux.h',
++ 'common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
++ 'common/sandbox_linux/sandbox_bpf_base_policy_linux.h',
++ 'common/sandbox_linux/sandbox_debug_handling_linux.cc',
++ 'common/sandbox_linux/sandbox_debug_handling_linux.h',
++ 'common/sandbox_linux/sandbox_init_linux.cc',
++ 'common/sandbox_linux/sandbox_linux.cc',
++ 'common/sandbox_linux/sandbox_linux.h',
++ 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
++ 'common/sandbox_linux/sandbox_seccomp_bpf_linux.h',
++ 'common/sandbox_linux.cc',
++ 'common/sandbox_linux.h',
++ 'common/sandbox_init_linux.cc',
++ 'common/sandbox_seccomp_bpf_linux.cc',
++ 'common/sandbox_seccomp_bpf_linux.h',
+ ],
+ }],
+ ['use_pango == 1', {
diff --git a/chromium-new/patches/patch-content_content_renderer_gypi b/chromium-new/patches/patch-content_content_renderer_gypi
new file mode 100644
index 0000000..b875a7b
--- /dev/null
+++ b/chromium-new/patches/patch-content_content_renderer_gypi
@@ -0,0 +1,11 @@
+$OpenBSD: patch-content_content_renderer_gypi,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- content/content_renderer.gypi.orig.port Wed Jan 20 21:01:21 2016
++++ content/content_renderer.gypi Fri Jan 22 19:58:58 2016
+@@ -34,6 +34,7 @@
+ '../third_party/libjingle/libjingle.gyp:libjingle',
+ '../third_party/libyuv/libyuv.gyp:libyuv',
+ '../third_party/mojo/mojo_edk.gyp:mojo_js_lib',
++ '../third_party/libyuv/libyuv.gyp:libyuv',
+ '../third_party/npapi/npapi.gyp:npapi',
+ '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
+ '../ui/accessibility/accessibility.gyp:accessibility',
diff --git a/chromium-new/patches/patch-content_gpu_gpu_main_cc b/chromium-new/patches/patch-content_gpu_gpu_main_cc
new file mode 100644
index 0000000..78b3687
--- /dev/null
+++ b/chromium-new/patches/patch-content_gpu_gpu_main_cc
@@ -0,0 +1,114 @@
+$OpenBSD: patch-content_gpu_gpu_main_cc,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- content/gpu/gpu_main.cc.orig.port Wed Jan 20 21:01:21 2016
++++ content/gpu/gpu_main.cc Fri Jan 22 19:58:58 2016
+@@ -72,6 +72,10 @@
+ #include "content/common/sandbox_mac.h"
+ #endif
+
++#if defined(OS_BSD)
++#include "content/common/sandbox_init_openbsd.h"
++#endif
++
+ #if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY)
+ #include "content/common/gpu/media/vaapi_wrapper.h"
+ #endif
+@@ -99,8 +103,8 @@ bool WarmUpSandbox(const base::CommandLine& command_li
+ bool CollectGraphicsInfo(gpu::GPUInfo& gpu_info);
+ #endif
+
+-#if defined(OS_LINUX)
+-#if !defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_BSD)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ bool CanAccessNvidiaDeviceFile();
+ #endif
+ bool StartSandboxLinux(const gpu::GPUInfo&, GpuWatchdogThread*, bool);
+@@ -177,13 +181,13 @@ int GpuMain(const MainFunctionParams& parameters) {
+ // Use a UI message loop because ANGLE and the desktop GL platform can
+ // create child windows to render to.
+ base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI);
+-#elif defined(OS_LINUX) && defined(USE_X11)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ // We need a UI loop so that we can grab the Expose events. See GLSurfaceGLX
+ // and https://crbug.com/326995.
+ base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI);
+ scoped_ptr<ui::PlatformEventSource> event_source =
+ ui::PlatformEventSource::CreateDefault();
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ base::MessageLoop main_message_loop(base::MessageLoop::TYPE_DEFAULT);
+ #elif defined(OS_MACOSX)
+ // This is necessary for CoreAnimation layers hosted in the GPU process to be
+@@ -243,7 +247,7 @@ int GpuMain(const MainFunctionParams& parameters) {
+
+ // Warm up resources that don't need access to GPUInfo.
+ if (WarmUpSandbox(command_line)) {
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ bool initialized_sandbox = false;
+ bool initialized_gl_context = false;
+ bool should_initialize_gl_context = false;
+@@ -304,9 +308,9 @@ int GpuMain(const MainFunctionParams& parameters) {
+ }
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ initialized_gl_context = true;
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ if (gpu_info.gpu.vendor_id == 0x10de && // NVIDIA
+ gpu_info.driver_vendor == "NVIDIA" &&
+ !CanAccessNvidiaDeviceFile())
+@@ -343,7 +347,7 @@ int GpuMain(const MainFunctionParams& parameters) {
+ watchdog_thread = NULL;
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ should_initialize_gl_context = !initialized_gl_context &&
+ !dead_on_arrival;
+
+@@ -351,6 +355,7 @@ int GpuMain(const MainFunctionParams& parameters) {
+ gpu_info.sandboxed = StartSandboxLinux(gpu_info, watchdog_thread.get(),
+ should_initialize_gl_context);
+ }
++
+ #elif defined(OS_WIN)
+ gpu_info.sandboxed = StartSandboxWindows(parameters.sandbox_info);
+ #elif defined(OS_MACOSX)
+@@ -468,8 +473,8 @@ bool CollectGraphicsInfo(gpu::GPUInfo& gpu_info) {
+ }
+ #endif
+
+-#if defined(OS_LINUX)
+-#if !defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_BSD)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ bool CanAccessNvidiaDeviceFile() {
+ bool res = true;
+ base::ThreadRestrictions::AssertIOAllowed();
+@@ -527,6 +532,7 @@ bool StartSandboxLinux(const gpu::GPUInfo& gpu_info,
+
+ WarmUpSandboxNvidia(gpu_info, should_initialize_gl_context);
+
++#if !defined(OS_BSD)
+ if (watchdog_thread) {
+ // LinuxSandbox needs to be able to ensure that the thread
+ // has really been stopped.
+@@ -546,11 +552,15 @@ bool StartSandboxLinux(const gpu::GPUInfo& gpu_info,
+ // LinuxSandbox::InitializeSandbox() must always be called
+ // with only one thread.
+ res = LinuxSandbox::InitializeSandbox();
++
+ if (watchdog_thread) {
+ base::Thread::Options options;
+ options.timer_slack = base::TIMER_SLACK_MAXIMUM;
+ watchdog_thread->StartWithOptions(options);
+ }
++#else
++ res = InitializeSandbox();
++#endif
+
+ return res;
+ }
diff --git a/chromium-new/patches/patch-content_ppapi_plugin_ppapi_plugin_main_cc b/chromium-new/patches/patch-content_ppapi_plugin_ppapi_plugin_main_cc
new file mode 100644
index 0000000..adadf9e
--- /dev/null
+++ b/chromium-new/patches/patch-content_ppapi_plugin_ppapi_plugin_main_cc
@@ -0,0 +1,23 @@
+$OpenBSD: patch-content_ppapi_plugin_ppapi_plugin_main_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- content/ppapi_plugin/ppapi_plugin_main.cc.orig.port Sat Jan 23 15:05:28 2016
++++ content/ppapi_plugin/ppapi_plugin_main.cc Sat Jan 23 17:28:47 2016
+@@ -42,6 +42,10 @@
+ #include "content/public/common/sandbox_init.h"
+ #endif
+
++#if defined(OS_OPENBSD)
++#include "content/common/sandbox_init_openbsd.h"
++#endif
++
+ #if defined(OS_POSIX) && !defined(OS_ANDROID)
+ #include <stdlib.h>
+ #endif
+@@ -127,6 +131,8 @@ int PpapiPluginMain(const MainFunctionParams& paramete
+
+ #if defined(OS_LINUX)
+ LinuxSandbox::InitializeSandbox();
++#elif defined(OS_BSD)
++ InitializeSandbox();
+ #endif
+
+ ChildProcess ppapi_process;
diff --git a/chromium-new/patches/patch-content_public_common_content_switches_cc b/chromium-new/patches/patch-content_public_common_content_switches_cc
new file mode 100644
index 0000000..56cedef
--- /dev/null
+++ b/chromium-new/patches/patch-content_public_common_content_switches_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_public_common_content_switches_cc,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- content/public/common/content_switches.cc.orig.port Wed Jan 20 21:01:21 2016
++++ content/public/common/content_switches.cc Fri Jan 22 19:58:58 2016
+@@ -937,7 +937,7 @@ const char kDisableVaapiAcceleratedVideoEncode[] =
+ "disable-vaapi-accelerated-video-encode";
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // Allows sending text-to-speech requests to speech-dispatcher, a common
+ // Linux speech service. Because it's buggy, the user must explicitly
+ // enable it so that visiting a random webpage can't cause instability.
diff --git a/chromium-new/patches/patch-content_public_common_content_switches_h b/chromium-new/patches/patch-content_public_common_content_switches_h
new file mode 100644
index 0000000..9ea2f3e
--- /dev/null
+++ b/chromium-new/patches/patch-content_public_common_content_switches_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_public_common_content_switches_h,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- content/public/common/content_switches.h.orig.port Wed Jan 20 21:01:21 2016
++++ content/public/common/content_switches.h Fri Jan 22 19:58:58 2016
+@@ -278,7 +278,7 @@ CONTENT_EXPORT extern const char kDisablePanelFitting[
+ CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[];
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ CONTENT_EXPORT extern const char kEnableSpeechDispatcher[];
+ #endif
+
diff --git a/chromium-new/patches/patch-content_renderer_devtools_v8_sampling_profiler_cc b/chromium-new/patches/patch-content_renderer_devtools_v8_sampling_profiler_cc
new file mode 100644
index 0000000..1b605a3
--- /dev/null
+++ b/chromium-new/patches/patch-content_renderer_devtools_v8_sampling_profiler_cc
@@ -0,0 +1,39 @@
+$OpenBSD: patch-content_renderer_devtools_v8_sampling_profiler_cc,v 1.2 2015/09/05 16:06:50 robert Exp $
+--- content/renderer/devtools/v8_sampling_profiler.cc.orig.port Sat Aug 22 21:01:55 2015
++++ content/renderer/devtools/v8_sampling_profiler.cc Wed Sep 2 07:31:55 2015
+@@ -4,7 +4,7 @@
+
+ #include "content/renderer/devtools/v8_sampling_profiler.h"
+
+-#if defined(OS_POSIX)
++#if defined(OS_POSIX) && !defined(OS_BSD)
+ #include <signal.h>
+ #define USE_SIGNALS
+ #endif
+@@ -199,7 +199,10 @@ class Sampler {
+ static const unsigned kNumberOfSamples = 10;
+ typedef LockFreeCircularQueue<SampleRecord, kNumberOfSamples> SamplingQueue;
+
++#ifdef USE_SIGNALS
+ PlatformData platform_data_;
++#endif
++
+ Isolate* isolate_;
+ scoped_ptr<SamplingQueue> samples_data_;
+ base::subtle::Atomic32 code_added_events_count_;
+@@ -293,6 +296,7 @@ void Sampler::DoSample(const v8::RegisterState& state)
+ }
+
+ void Sampler::InjectPendingEvents() {
++#ifdef USE_SIGNALS
+ SampleRecord* record = samples_data_->Peek();
+ while (record) {
+ TRACE_EVENT_SAMPLE_WITH_TID_AND_TIMESTAMP1(
+@@ -304,6 +308,7 @@ void Sampler::InjectPendingEvents() {
+ record = samples_data_->Peek();
+ base::subtle::NoBarrier_AtomicIncrement(&samples_count_, 1);
+ }
++#endif
+ }
+
+ // static
diff --git a/chromium-new/patches/patch-content_renderer_render_thread_impl_cc b/chromium-new/patches/patch-content_renderer_render_thread_impl_cc
new file mode 100644
index 0000000..319a450
--- /dev/null
+++ b/chromium-new/patches/patch-content_renderer_render_thread_impl_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-content_renderer_render_thread_impl_cc,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- content/renderer/render_thread_impl.cc.orig.port Wed Jan 20 21:01:21 2016
++++ content/renderer/render_thread_impl.cc Fri Jan 22 19:58:58 2016
+@@ -788,7 +788,7 @@ void RenderThreadImpl::Init() {
+ are_image_decode_tasks_enabled_ = num_raster_threads > 1;
+
+ base::SimpleThread::Options thread_options;
+-#if defined(OS_ANDROID) || defined(OS_LINUX)
++#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
+ if (!command_line.HasSwitch(
+ switches::kUseNormalPriorityForTileTaskWorkerThreads)) {
+ thread_options.set_priority(base::ThreadPriority::BACKGROUND);
diff --git a/chromium-new/patches/patch-content_renderer_renderer_main_cc b/chromium-new/patches/patch-content_renderer_renderer_main_cc
new file mode 100644
index 0000000..003edb8
--- /dev/null
+++ b/chromium-new/patches/patch-content_renderer_renderer_main_cc
@@ -0,0 +1,47 @@
+$OpenBSD: patch-content_renderer_renderer_main_cc,v 1.5 2016/01/31 20:45:29 robert Exp $
+--- content/renderer/renderer_main.cc.orig.port Wed Jan 27 18:00:49 2016
++++ content/renderer/renderer_main.cc Sun Jan 31 21:40:09 2016
+@@ -28,6 +28,7 @@
+ #include "content/renderer/render_thread_impl.h"
+ #include "content/renderer/renderer_main_platform_delegate.h"
+ #include "third_party/skia/include/core/SkGraphics.h"
++#include "third_party/skia/include/ports/SkFontConfigInterface.h"
+ #include "ui/base/ui_base_switches.h"
+
+ #if defined(OS_ANDROID)
+@@ -56,6 +57,11 @@
+ #include "ui/ozone/public/client_native_pixmap_factory.h"
+ #endif
+
++#if defined(OS_BSD)
++#include "content/common/child_process_sandbox_support_impl_linux.h"
++#include "content/common/font_config_ipc_linux.h"
++#endif
++
+ namespace content {
+ namespace {
+ // This function provides some ways to test crash and assertion handling
+@@ -183,9 +189,13 @@ int RendererMain(const MainFunctionParams& parameters)
+ // is OK.
+ InitializeWebRtcModule();
+ #endif
++#if defined(OS_BSD)
++ SkFontConfigInterface::SetGlobal(
++ new FontConfigIPC(GetSandboxFD()))->unref();
++#endif
+
+ {
+-#if defined(OS_WIN) || defined(OS_MACOSX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD)
+ // TODO(markus): Check if it is OK to unconditionally move this
+ // instruction down.
+ RenderProcessImpl render_process;
+@@ -195,7 +205,7 @@ int RendererMain(const MainFunctionParams& parameters)
+ bool run_loop = true;
+ if (!no_sandbox)
+ run_loop = platform.EnableSandbox();
+-#if defined(OS_POSIX) && !defined(OS_MACOSX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_BSD)
+ RenderProcessImpl render_process;
+ RenderThreadImpl::Create(main_message_loop.Pass(),
+ renderer_scheduler.Pass());
diff --git a/chromium-new/patches/patch-content_renderer_renderer_main_platform_delegate_linux_cc b/chromium-new/patches/patch-content_renderer_renderer_main_platform_delegate_linux_cc
new file mode 100644
index 0000000..730f91d
--- /dev/null
+++ b/chromium-new/patches/patch-content_renderer_renderer_main_platform_delegate_linux_cc
@@ -0,0 +1,33 @@
+$OpenBSD: patch-content_renderer_renderer_main_platform_delegate_linux_cc,v 1.12 2016/01/06 21:46:44 robert Exp $
+--- content/renderer/renderer_main_platform_delegate_linux.cc.orig.port Fri Nov 13 12:04:18 2015
++++ content/renderer/renderer_main_platform_delegate_linux.cc Sun Jan 3 18:46:20 2016
+@@ -10,7 +10,11 @@
+ #include "base/command_line.h"
+ #include "base/files/file_util.h"
+ #include "base/logging.h"
++#if defined(OS_OPENBSD)
++#include "content/common/sandbox_init_openbsd.h"
++#else
+ #include "content/common/sandbox_linux/sandbox_linux.h"
++#endif
+ #include "content/public/common/content_switches.h"
+ #include "content/public/common/sandbox_init.h"
+
+@@ -35,6 +39,9 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
+ // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
+ //
+ // Anything else is started in InitializeSandbox().
++#if defined(OS_BSD)
++ InitializeSandbox();
++#else
+ LinuxSandbox::InitializeSandbox();
+ // about:sandbox uses a value returned from LinuxSandbox::GetStatus() before
+ // any renderer has been started.
+@@ -61,6 +68,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
+ CHECK_EQ(errno, EPERM);
+ }
+ #endif // __x86_64__
++#endif
+
+ return true;
+ }
diff --git a/chromium-new/patches/patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc b/chromium-new/patches/patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc
new file mode 100644
index 0000000..6974825
--- /dev/null
+++ b/chromium-new/patches/patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-content_renderer_webscrollbarbehavior_impl_gtkoraura_cc,v 1.2 2015/03/18 19:26:29 robert Exp $
+--- content/renderer/webscrollbarbehavior_impl_gtkoraura.cc.orig.port Tue Mar 10 23:29:11 2015
++++ content/renderer/webscrollbarbehavior_impl_gtkoraura.cc Wed Mar 18 20:01:29 2015
+@@ -13,7 +13,7 @@ bool WebScrollbarBehaviorImpl::shouldCenterOnThumb(
+ blink::WebScrollbarBehavior::Button mouseButton,
+ bool shiftKeyPressed,
+ bool altKeyPressed) {
+-#if (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ if (mouseButton == blink::WebScrollbarBehavior::ButtonMiddle)
+ return true;
+ #endif
+@@ -49,7 +49,7 @@ bool WebScrollbarBehaviorImpl::shouldSnapBackToDragOri
+ // On most platforms, we should snap iff the event is outside our calculated
+ // rect. On Linux, however, we should not snap for events off the ends, but
+ // not the sides, of the rect.
+-#if (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ return isHorizontal ?
+ (eventPoint.y < noSnapRect.y() || eventPoint.y >= noSnapRect.bottom()) :
+ (eventPoint.x < noSnapRect.x() || eventPoint.x >= noSnapRect.right());
diff --git a/chromium-new/patches/patch-content_utility_utility_main_cc b/chromium-new/patches/patch-content_utility_utility_main_cc
new file mode 100644
index 0000000..1ec3c10
--- /dev/null
+++ b/chromium-new/patches/patch-content_utility_utility_main_cc
@@ -0,0 +1,20 @@
+$OpenBSD: patch-content_utility_utility_main_cc,v 1.1 2016/01/06 21:46:44 robert Exp $
+--- content/utility/utility_main.cc.orig.port Sun Jan 3 19:17:08 2016
++++ content/utility/utility_main.cc Sun Jan 3 21:03:30 2016
+@@ -9,6 +9,7 @@
+ #include "base/timer/hi_res_timer_manager.h"
+ #include "content/child/child_process.h"
+ #include "content/common/sandbox_linux/sandbox_linux.h"
++#include "content/common/sandbox_init_openbsd.h"
+ #include "content/public/common/content_switches.h"
+ #include "content/public/common/main_function_params.h"
+ #include "content/public/common/sandbox_init.h"
+@@ -33,6 +34,8 @@ int UtilityMain(const MainFunctionParams& parameters)
+ // Seccomp-BPF policy.
+ if (parameters.zygote_child)
+ LinuxSandbox::InitializeSandbox();
++#elif defined(OS_BSD)
++ InitializeSandbox();
+ #endif
+
+ ChildProcess utility_process;
diff --git a/chromium-new/patches/patch-dbus_property_cc b/chromium-new/patches/patch-dbus_property_cc
new file mode 100644
index 0000000..6126073
--- /dev/null
+++ b/chromium-new/patches/patch-dbus_property_cc
@@ -0,0 +1,29 @@
+$OpenBSD: patch-dbus_property_cc,v 1.4 2015/12/05 16:13:32 robert Exp $
+--- dbus/property.cc.orig.port Fri Nov 13 12:04:18 2015
++++ dbus/property.cc Wed Dec 2 08:18:32 2015
+@@ -563,6 +563,7 @@ void Property<std::vector<uint8> >::AppendSetValueToWr
+ writer->CloseContainer(&variant_writer);
+ }
+
++#if !defined(OS_BSD)
+ //
+ // Property<std::map<std::string, std::string>> specialization.
+ //
+@@ -659,6 +660,7 @@ void Property<std::vector<std::pair<std::vector<uint8_
+ variant_writer.CloseContainer(&array_writer);
+ writer->CloseContainer(&variant_writer);
+ }
++#endif
+
+ template class Property<uint8>;
+ template class Property<bool>;
+@@ -674,7 +676,9 @@ template class Property<ObjectPath>;
+ template class Property<std::vector<std::string> >;
+ template class Property<std::vector<ObjectPath> >;
+ template class Property<std::vector<uint8> >;
++#if !defined(OS_BSD)
+ template class Property<std::map<std::string, std::string>>;
+ template class Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>;
++#endif
+
+ } // namespace dbus
diff --git a/chromium-new/patches/patch-device_battery_battery_gyp b/chromium-new/patches/patch-device_battery_battery_gyp
new file mode 100644
index 0000000..eb79edb
--- /dev/null
+++ b/chromium-new/patches/patch-device_battery_battery_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-device_battery_battery_gyp,v 1.1 2016/01/06 21:46:44 robert Exp $
+--- device/battery/battery.gyp.orig.port Mon Jan 4 19:37:57 2016
++++ device/battery/battery.gyp Mon Jan 4 19:38:13 2016
+@@ -123,7 +123,7 @@
+ 'battery_status_manager_linux.cc',
+ ],
+ }],
+- ['OS == "linux" and use_dbus==1', {
++ ['(os_bsd==1 or OS == "linux") and use_dbus==1', {
+ 'sources!': [
+ 'battery_status_manager_default.cc',
+ ],
diff --git a/chromium-new/patches/patch-device_hid_hid_gyp b/chromium-new/patches/patch-device_hid_hid_gyp
new file mode 100644
index 0000000..34dafc1
--- /dev/null
+++ b/chromium-new/patches/patch-device_hid_hid_gyp
@@ -0,0 +1,22 @@
+$OpenBSD: patch-device_hid_hid_gyp,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- device/hid/hid.gyp.orig.port Wed Jan 20 21:01:21 2016
++++ device/hid/hid.gyp Fri Jan 22 19:58:58 2016
+@@ -64,6 +64,18 @@
+ 'input_service_linux.h',
+ ],
+ }],
++ ['OS=="openbsd"', {
++ 'sources!': [
++ 'device_monitor_linux.cc',
++ 'device_monitor_linux.h',
++ 'hid_connection_linux.cc',
++ 'hid_connection_linux.h',
++ 'hid_service_linux.cc',
++ 'hid_service_linux.h',
++ 'input_service_linux.cc',
++ 'input_service_linux.h',
++ ],
++ }],
+ ],
+ },
+ ],
diff --git a/chromium-new/patches/patch-device_serial_serial_gyp b/chromium-new/patches/patch-device_serial_serial_gyp
new file mode 100644
index 0000000..016f7ae
--- /dev/null
+++ b/chromium-new/patches/patch-device_serial_serial_gyp
@@ -0,0 +1,16 @@
+$OpenBSD: patch-device_serial_serial_gyp,v 1.5 2015/01/22 11:16:41 robert Exp $
+--- device/serial/serial.gyp.orig.port Wed Dec 3 03:32:12 2014
++++ device/serial/serial.gyp Sat Dec 6 11:34:27 2014
+@@ -39,6 +39,12 @@
+ 'serial_device_enumerator_linux.h',
+ ],
+ }],
++ ['os_bsd==1', {
++ 'sources!': [
++ 'serial_device_enumerator_linux.cc',
++ 'serial_device_enumerator_linux.h',
++ ],
++ }],
+ ],
+ 'dependencies': [
+ 'device_serial_mojo',
diff --git a/chromium-new/patches/patch-device_serial_serial_io_handler_posix_cc b/chromium-new/patches/patch-device_serial_serial_io_handler_posix_cc
new file mode 100644
index 0000000..51c1ff1
--- /dev/null
+++ b/chromium-new/patches/patch-device_serial_serial_io_handler_posix_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-device_serial_serial_io_handler_posix_cc,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- device/serial/serial_io_handler_posix.cc.orig.port Wed Oct 14 07:49:26 2015
++++ device/serial/serial_io_handler_posix.cc Wed Oct 14 07:49:43 2015
+@@ -59,7 +59,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee
+ BITRATE_TO_SPEED_CASE(9600)
+ BITRATE_TO_SPEED_CASE(19200)
+ BITRATE_TO_SPEED_CASE(38400)
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ BITRATE_TO_SPEED_CASE(57600)
+ BITRATE_TO_SPEED_CASE(115200)
+ BITRATE_TO_SPEED_CASE(230400)
diff --git a/chromium-new/patches/patch-device_serial_serial_service_impl_cc b/chromium-new/patches/patch-device_serial_serial_service_impl_cc
new file mode 100644
index 0000000..8175acf
--- /dev/null
+++ b/chromium-new/patches/patch-device_serial_serial_service_impl_cc
@@ -0,0 +1,18 @@
+$OpenBSD: patch-device_serial_serial_service_impl_cc,v 1.4 2015/09/05 16:06:50 robert Exp $
+--- device/serial/serial_service_impl.cc.orig.port Sat Aug 22 21:01:55 2015
++++ device/serial/serial_service_impl.cc Wed Sep 2 07:31:55 2015
+@@ -72,9 +72,14 @@ void SerialServiceImpl::Connect(
+ }
+
+ SerialDeviceEnumerator* SerialServiceImpl::GetDeviceEnumerator() {
++#if defined(OS_BSD)
++ NOTIMPLEMENTED();
++ return NULL;
++#else
+ if (!device_enumerator_)
+ device_enumerator_ = SerialDeviceEnumerator::Create();
+ return device_enumerator_.get();
++#endif
+ }
+
+ bool SerialServiceImpl::IsValidPath(const mojo::String& path) {
diff --git a/chromium-new/patches/patch-extensions_browser_api_serial_serial_api_cc b/chromium-new/patches/patch-extensions_browser_api_serial_serial_api_cc
new file mode 100644
index 0000000..cba7dce
--- /dev/null
+++ b/chromium-new/patches/patch-extensions_browser_api_serial_serial_api_cc
@@ -0,0 +1,17 @@
+$OpenBSD: patch-extensions_browser_api_serial_serial_api_cc,v 1.1 2014/10/13 06:49:19 robert Exp $
+--- extensions/browser/api/serial/serial_api.cc.orig.port Fri Oct 10 16:15:30 2014
++++ extensions/browser/api/serial/serial_api.cc Fri Oct 10 16:15:52 2014
+@@ -85,11 +85,13 @@ bool SerialGetDevicesFunction::Prepare() {
+ void SerialGetDevicesFunction::Work() {
+ DCHECK_CURRENTLY_ON(BrowserThread::FILE);
+
++#if !defined(OS_BSD)
+ scoped_ptr<device::SerialDeviceEnumerator> enumerator =
+ device::SerialDeviceEnumerator::Create();
+ mojo::Array<device::serial::DeviceInfoPtr> devices = enumerator->GetDevices();
+ results_ = serial::GetDevices::Results::Create(
+ devices.To<std::vector<linked_ptr<serial::DeviceInfo> > >());
++#endif
+ }
+
+ SerialConnectFunction::SerialConnectFunction() {
diff --git a/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_cc b/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_cc
new file mode 100644
index 0000000..a21b35d
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_cc
@@ -0,0 +1,14 @@
+$OpenBSD: patch-gpu_config_gpu_info_collector_linux_cc,v 1.4 2015/10/14 16:42:07 robert Exp $
+--- gpu/config/gpu_info_collector_linux.cc.orig.port Wed Oct 7 04:42:12 2015
++++ gpu/config/gpu_info_collector_linux.cc Wed Oct 14 07:41:13 2015
+@@ -78,6 +78,10 @@ const uint32 kVendorIDAMD = 0x1002;
+ CollectInfoResult CollectPCIVideoCardInfo(GPUInfo* gpu_info) {
+ DCHECK(gpu_info);
+
++#if defined(OS_BSD)
++ return (CollectMesaCardInfo(gpu_info));
++#endif
++
+ #if !defined(USE_LIBPCI)
+ return kCollectInfoNonFatalFailure;
+ #else
diff --git a/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_h b/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_h
new file mode 100644
index 0000000..e8454b1
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_config_gpu_info_collector_linux_h
@@ -0,0 +1,18 @@
+$OpenBSD: patch-gpu_config_gpu_info_collector_linux_h,v 1.1 2015/02/22 11:33:57 robert Exp $
+--- gpu/config/gpu_info_collector_linux.h.orig.port Wed Feb 18 17:58:41 2015
++++ gpu/config/gpu_info_collector_linux.h Wed Feb 18 17:59:22 2015
+@@ -6,11 +6,14 @@
+ #define GPU_CONFIG_GPU_INFO_COLLECTOR_LINUX_H_
+
+ #include <string>
++#include "gpu/config/gpu_info_collector.h"
+
+ namespace gpu {
+
+ // Queries for the driver version. Returns an empty string on failure.
+ std::string CollectDriverVersionNVidia();
++
++CollectInfoResult CollectMesaCardInfo(GPUInfo *);
+
+ } // namespace gpu
+
diff --git a/chromium-new/patches/patch-gpu_config_gpu_info_collector_x11_cc b/chromium-new/patches/patch-gpu_config_gpu_info_collector_x11_cc
new file mode 100644
index 0000000..487119e
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_config_gpu_info_collector_x11_cc
@@ -0,0 +1,64 @@
+$OpenBSD: patch-gpu_config_gpu_info_collector_x11_cc,v 1.2 2015/04/27 16:38:25 robert Exp $
+--- gpu/config/gpu_info_collector_x11.cc.orig.port Wed Apr 15 00:18:55 2015
++++ gpu/config/gpu_info_collector_x11.cc Wed Apr 15 15:34:00 2015
+@@ -8,8 +8,17 @@
+ #include "gpu/config/gpu_info_collector_linux.h"
+ #include "third_party/libXNVCtrl/NVCtrl.h"
+ #include "third_party/libXNVCtrl/NVCtrlLib.h"
++#include "ui/gl/gl_bindings.h"
++#include "ui/gl/gl_context.h"
++#include "ui/gl/gl_implementation.h"
++#include "ui/gl/gl_surface.h"
+ #include "ui/gfx/x/x11_types.h"
+
++typedef bool (*PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value);
++
++#define GLX_RENDERER_VENDOR_ID_MESA 0x8183
++#define GLX_RENDERER_DEVICE_ID_MESA 0x8184
++
+ namespace gpu {
+
+ // Use NVCtrl extention to query NV driver version.
+@@ -39,5 +48,42 @@ std::string CollectDriverVersionNVidia() {
+ }
+ return std::string();
+ }
++
++CollectInfoResult CollectMesaCardInfo(GPUInfo* gpu_info) {
++ unsigned int vid[3], did[3];
++
++ Display* display = gfx::GetXDisplay();
++ if (!display) {
++ LOG(ERROR) << "XOpenDisplay failed.";
++ return kCollectInfoNonFatalFailure;
++ }
++
++ bool initialized =
++ gfx::InitializeStaticGLBindings(gfx::kGLImplementationDesktopGL);
++
++ if (!initialized)
++ return kCollectInfoNonFatalFailure;
++
++ PFNGLXQUERYRENDERERINTEGERMESAPROC queryInteger =
++ (PFNGLXQUERYRENDERERINTEGERMESAPROC) glXGetProcAddressARB((const GLubyte *)
++ "glXQueryRendererIntegerMESA");
++
++ bool vendor_ret =
++ queryInteger(display, 0, 0, GLX_RENDERER_VENDOR_ID_MESA, vid);
++ bool device_ret =
++ queryInteger(display, 0, 0, GLX_RENDERER_DEVICE_ID_MESA, did);
++
++ if (vendor_ret && device_ret) {
++ GPUInfo::GPUDevice gpu;
++ gpu.vendor_id = vid[0];
++ gpu.device_id = did[0];
++ gpu_info->gpu = gpu;
++ }
++
++ if (initialized)
++ gfx::ClearGLBindings();
++
++ return kCollectInfoSuccess;
++ }
+
+ } // namespace gpu
diff --git a/chromium-new/patches/patch-gpu_gles2_conform_support_gles2_conform_support_gyp b/chromium-new/patches/patch-gpu_gles2_conform_support_gles2_conform_support_gyp
new file mode 100644
index 0000000..4594f7f
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_gles2_conform_support_gles2_conform_support_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-gpu_gles2_conform_support_gles2_conform_support_gyp,v 1.1 2015/12/12 20:20:01 robert Exp $
+--- gpu/gles2_conform_support/gles2_conform_support.gyp.orig.port Sat Dec 12 13:56:36 2015
++++ gpu/gles2_conform_support/gles2_conform_support.gyp Sat Dec 12 14:05:08 2015
+@@ -12,7 +12,7 @@
+ 'native/main.cc',
+ ],
+ 'conditions': [
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'bootstrap_sources_native': [
+ 'native/egl_native.cc',
+ 'native/egl_native_aura.cc',
diff --git a/chromium-new/patches/patch-gpu_gpu_config_gypi b/chromium-new/patches/patch-gpu_gpu_config_gypi
new file mode 100644
index 0000000..4bcf020
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_gpu_config_gypi
@@ -0,0 +1,18 @@
+$OpenBSD: patch-gpu_gpu_config_gypi,v 1.7 2015/07/23 13:44:04 robert Exp $
+--- gpu/gpu_config.gypi.orig.port Wed Jul 15 22:30:04 2015
++++ gpu/gpu_config.gypi Wed Jul 22 08:37:30 2015
+@@ -66,12 +66,12 @@
+ '../third_party/amd/amd_videocard_info_win.cc',
+ ],
+ }],
+- ['OS=="linux" and use_libpci==1 and (use_x11==1 or use_ozone==1)', {
++ ['(OS=="linux" or os_bsd==1) and use_libpci==1 and (use_x11==1 or use_ozone==1)', {
+ 'dependencies': [
+ '../build/linux/system.gyp:libpci',
+ ],
+ }],
+- ['OS=="linux" and use_x11==1', {
++ ['(OS=="linux" or os_bsd==1) and use_x11==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:x11',
+ '../build/linux/system.gyp:xext',
diff --git a/chromium-new/patches/patch-gpu_tools_tools_gyp b/chromium-new/patches/patch-gpu_tools_tools_gyp
new file mode 100644
index 0000000..cb23a94
--- /dev/null
+++ b/chromium-new/patches/patch-gpu_tools_tools_gyp
@@ -0,0 +1,20 @@
+$OpenBSD: patch-gpu_tools_tools_gyp,v 1.2 2015/05/24 15:51:53 robert Exp $
+--- gpu/tools/tools.gyp.orig.port Thu May 14 00:23:07 2015
++++ gpu/tools/tools.gyp Wed May 20 08:34:56 2015
+@@ -9,7 +9,7 @@
+ 'targets': [
+ ],
+ 'conditions': [
+- ['OS == "linux" and target_arch != "arm" and use_x11==1', {
++ ['(OS == "linux" or os_bsd==1) and target_arch != "arm" and use_x11==1', {
+ 'targets': [
+ {
+ # GN version: //gpu/tools/compositor_model_bench
+@@ -22,7 +22,6 @@
+ ],
+ 'libraries': [
+ '-lGL',
+- '-ldl',
+ ],
+ 'sources': [
+ 'compositor_model_bench/compositor_model_bench.cc',
diff --git a/chromium-new/patches/patch-media_audio_audio_input_controller_cc b/chromium-new/patches/patch-media_audio_audio_input_controller_cc
new file mode 100644
index 0000000..08be91a
--- /dev/null
+++ b/chromium-new/patches/patch-media_audio_audio_input_controller_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-media_audio_audio_input_controller_cc,v 1.4 2015/12/05 16:13:32 robert Exp $
+--- media/audio/audio_input_controller.cc.orig.port Fri Nov 13 12:04:18 2015
++++ media/audio/audio_input_controller.cc Wed Dec 2 08:18:32 2015
+@@ -15,6 +15,8 @@
+ #include "media/audio/audio_input_writer.h"
+ #include "media/base/user_input_monitor.h"
+
++#include <math.h>
++
+ using base::TimeDelta;
+
+ namespace {
diff --git a/chromium-new/patches/patch-media_audio_audio_manager_cc b/chromium-new/patches/patch-media_audio_audio_manager_cc
new file mode 100644
index 0000000..ec2599c
--- /dev/null
+++ b/chromium-new/patches/patch-media_audio_audio_manager_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-media_audio_audio_manager_cc,v 1.1 2016/01/29 16:56:10 robert Exp $
+--- media/audio/audio_manager.cc.orig.port Fri Jan 29 17:33:20 2016
++++ media/audio/audio_manager.cc Fri Jan 29 17:33:42 2016
+@@ -157,7 +157,7 @@ class AudioManagerHelper : public base::PowerObserver
+ }
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ void set_app_name(const std::string& app_name) {
+ app_name_ = app_name;
+ }
+@@ -184,7 +184,7 @@ class AudioManagerHelper : public base::PowerObserver
+ scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_for_testing_;
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ std::string app_name_;
+ #endif
+
+@@ -267,7 +267,7 @@ void AudioManager::EnableHangMonitor() {
+ #endif
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // static
+ void AudioManager::SetGlobalAppName(const std::string& app_name) {
+ g_helper.Pointer()->set_app_name(app_name);
diff --git a/chromium-new/patches/patch-media_audio_audio_manager_h b/chromium-new/patches/patch-media_audio_audio_manager_h
new file mode 100644
index 0000000..427c656
--- /dev/null
+++ b/chromium-new/patches/patch-media_audio_audio_manager_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-media_audio_audio_manager_h,v 1.1 2016/01/29 16:56:10 robert Exp $
+--- media/audio/audio_manager.h.orig.port Fri Jan 29 17:33:59 2016
++++ media/audio/audio_manager.h Fri Jan 29 17:34:14 2016
+@@ -61,7 +61,7 @@ class MEDIA_EXPORT AudioManager {
+ // called previously to start the hang monitor. Does nothing on OSX.
+ static void EnableHangMonitor();
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Sets the name of the audio source as seen by external apps. Only actually
+ // used with PulseAudio as of this writing.
+ static void SetGlobalAppName(const std::string& app_name);
diff --git a/chromium-new/patches/patch-media_capture_video_fake_video_capture_device_factory_cc b/chromium-new/patches/patch-media_capture_video_fake_video_capture_device_factory_cc
new file mode 100644
index 0000000..0f3bcff
--- /dev/null
+++ b/chromium-new/patches/patch-media_capture_video_fake_video_capture_device_factory_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-media_capture_video_fake_video_capture_device_factory_cc,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- media/capture/video/fake_video_capture_device_factory.cc.orig.port Wed Jan 20 21:01:22 2016
++++ media/capture/video/fake_video_capture_device_factory.cc Fri Jan 22 19:58:58 2016
+@@ -49,7 +49,7 @@ void FakeVideoCaptureDeviceFactory::GetDeviceNames(
+ for (int n = 0; n < number_of_devices_; ++n) {
+ VideoCaptureDevice::Name name(base::StringPrintf("fake_device_%d", n),
+ base::StringPrintf("/dev/video%d", n)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ ,
+ VideoCaptureDevice::Name::V4L2_SINGLE_PLANE
+ #elif defined(OS_MACOSX)
diff --git a/chromium-new/patches/patch-media_capture_video_file_video_capture_device_factory_cc b/chromium-new/patches/patch-media_capture_video_file_video_capture_device_factory_cc
new file mode 100644
index 0000000..1af1e35
--- /dev/null
+++ b/chromium-new/patches/patch-media_capture_video_file_video_capture_device_factory_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-media_capture_video_file_video_capture_device_factory_cc,v 1.1 2015/10/14 16:42:07 robert Exp $
+--- media/capture/video/file_video_capture_device_factory.cc.orig.port Wed Oct 14 07:53:18 2015
++++ media/capture/video/file_video_capture_device_factory.cc Wed Oct 14 07:53:23 2015
+@@ -49,7 +49,7 @@ void FileVideoCaptureDeviceFactory::GetDeviceNames(
+ device_names->push_back(VideoCaptureDevice::Name(
+ command_line_file_path.value(), kFileVideoCaptureDeviceName,
+ VideoCaptureDevice::Name::AVFOUNDATION));
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ device_names->push_back(VideoCaptureDevice::Name(
+ command_line_file_path.value(), kFileVideoCaptureDeviceName,
+ VideoCaptureDevice::Name::V4L2_SINGLE_PLANE));
diff --git a/chromium-new/patches/patch-media_capture_video_video_capture_device_cc b/chromium-new/patches/patch-media_capture_video_video_capture_device_cc
new file mode 100644
index 0000000..b4f4006
--- /dev/null
+++ b/chromium-new/patches/patch-media_capture_video_video_capture_device_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-media_capture_video_video_capture_device_cc,v 1.2 2015/12/05 16:13:32 robert Exp $
+--- media/capture/video/video_capture_device.cc.orig.port Wed Dec 2 13:48:28 2015
++++ media/capture/video/video_capture_device.cc Thu Dec 3 08:22:15 2015
+@@ -14,16 +14,7 @@ namespace media {
+ // TODO(msu.koo): http://crbug.com/532272, remove checking the switch in favour
+ // of deferring GetModel() call to the actual VideoCaptureDevice object.
+ const std::string VideoCaptureDevice::Name::GetNameAndModel() const {
+- const std::string model_id = GetModel();
+- if (model_id.empty())
+- return device_name_;
+- const std::string suffix = " (" + model_id + ")";
+- if (base::EndsWith(device_name_, suffix, base::CompareCase::SENSITIVE) ||
+- base::CommandLine::ForCurrentProcess()->HasSwitch(
+- switches::kUseFakeDeviceForMediaStream))
+- // Ignore |model_id| if |kUseFakeDeviceForMediaStream| flag is present.
+- return device_name_;
+- return device_name_ + suffix;
++ return "";
+ }
+
+ VideoCaptureDevice::Name::Name() {
+@@ -33,7 +24,7 @@ VideoCaptureDevice::Name::Name(const std::string& name
+ : device_name_(name), unique_id_(id) {
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ VideoCaptureDevice::Name::Name(const std::string& name,
+ const std::string& id,
+ const CaptureApiType api_type)
diff --git a/chromium-new/patches/patch-media_capture_video_video_capture_device_factory_cc b/chromium-new/patches/patch-media_capture_video_video_capture_device_factory_cc
new file mode 100644
index 0000000..beefb91
--- /dev/null
+++ b/chromium-new/patches/patch-media_capture_video_video_capture_device_factory_cc
@@ -0,0 +1,22 @@
+$OpenBSD: patch-media_capture_video_video_capture_device_factory_cc,v 1.1 2015/10/14 16:42:07 robert Exp $
+--- media/capture/video/video_capture_device_factory.cc.orig.port Wed Oct 14 07:53:56 2015
++++ media/capture/video/video_capture_device_factory.cc Wed Oct 14 07:54:20 2015
+@@ -14,6 +14,10 @@ namespace media {
+ // static
+ scoped_ptr<VideoCaptureDeviceFactory> VideoCaptureDeviceFactory::CreateFactory(
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
++#if defined(OS_BSD)
++ return scoped_ptr<VideoCaptureDeviceFactory>(new
++ media::FakeVideoCaptureDeviceFactory());
++#else
+ const base::CommandLine* command_line =
+ base::CommandLine::ForCurrentProcess();
+ // Use a Fake or File Video Device Factory if the command line flags are
+@@ -32,6 +36,7 @@ scoped_ptr<VideoCaptureDeviceFactory> VideoCaptureDevi
+ return scoped_ptr<VideoCaptureDeviceFactory>(
+ CreateVideoCaptureDeviceFactory(ui_task_runner));
+ }
++#endif
+ }
+
+ VideoCaptureDeviceFactory::VideoCaptureDeviceFactory() {
diff --git a/chromium-new/patches/patch-media_capture_video_video_capture_device_h b/chromium-new/patches/patch-media_capture_video_video_capture_device_h
new file mode 100644
index 0000000..4543e04
--- /dev/null
+++ b/chromium-new/patches/patch-media_capture_video_video_capture_device_h
@@ -0,0 +1,39 @@
+$OpenBSD: patch-media_capture_video_video_capture_device_h,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- media/capture/video/video_capture_device.h.orig.port Wed Jan 20 21:01:22 2016
++++ media/capture/video/video_capture_device.h Fri Jan 22 19:58:58 2016
+@@ -47,7 +47,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
+ Name();
+ Name(const std::string& name, const std::string& id);
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Linux/CrOS targets Capture Api type: it can only be set on construction.
+ enum CaptureApiType {
+ V4L2_SINGLE_PLANE,
+@@ -79,7 +79,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
+ #endif
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
+- defined(OS_ANDROID)
++ defined(OS_ANDROID) || defined(OS_BSD)
+ Name(const std::string& name,
+ const std::string& id,
+ const CaptureApiType api_type);
+@@ -116,7 +116,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
+ bool operator<(const Name& other) const { return unique_id_ < other.id(); }
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
+- defined(OS_ANDROID)
++ defined(OS_ANDROID) || defined(OS_BSD)
+ CaptureApiType capture_api_type() const {
+ return capture_api_class_.capture_api_type();
+ }
+@@ -140,7 +140,7 @@ class MEDIA_EXPORT VideoCaptureDevice {
+ std::string device_name_;
+ std::string unique_id_;
+ #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
+- defined(OS_ANDROID)
++ defined(OS_ANDROID) || defined(OS_BSD)
+ // This class wraps the CaptureApiType to give it a by default value if not
+ // initialized.
+ class CaptureApiClass {
diff --git a/chromium-new/patches/patch-media_media_gyp b/chromium-new/patches/patch-media_media_gyp
new file mode 100644
index 0000000..04bca97
--- /dev/null
+++ b/chromium-new/patches/patch-media_media_gyp
@@ -0,0 +1,71 @@
+$OpenBSD: patch-media_media_gyp,v 1.41 2016/01/23 18:49:31 robert Exp $
+--- media/media.gyp.orig.port Wed Jan 20 21:01:22 2016
++++ media/media.gyp Fri Jan 22 19:58:58 2016
+@@ -13,7 +13,7 @@
+ 'linux_link_pulseaudio%': 0,
+ 'conditions': [
+ # Enable ALSA and Pulse for runtime selection.
+- ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (embedded!=1 or (chromecast==1 and target_arch!="arm"))', {
++ ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (embedded!=1 or (chromecast==1 and target_arch!="arm")) and os_bsd != 1', {
+ # ALSA is always needed for Web MIDI even if the cras is enabled.
+ 'use_alsa%': 1,
+ 'conditions': [
+@@ -161,6 +165,8 @@
+ 'audio/mac/audio_manager_mac.h',
+ 'audio/null_audio_sink.cc',
+ 'audio/null_audio_sink.h',
++ 'audio/openbsd/audio_manager_openbsd.cc',
++ 'audio/openbsd/audio_manager_openbsd.h',
+ 'audio/pulse/audio_manager_pulse.cc',
+ 'audio/pulse/audio_manager_pulse.h',
+ 'audio/pulse/pulse_input.cc',
+@@ -787,11 +813,21 @@
+ }],
+ ['OS=="openbsd"', {
+ 'sources!': [
++ 'capture/video/linux/v4l2_capture_delegate.cc',
++ 'capture/video/linux/v4l2_capture_delegate.h',
+ 'capture/video/linux/v4l2_capture_delegate_multi_plane.cc',
+ 'capture/video/linux/v4l2_capture_delegate_multi_plane.h',
++ 'capture/video/linux/v4l2_capture_delegate_single_plane.cc',
++ 'capture/video/linux/v4l2_capture_delegate_single_plane.h',
++ 'capture/video/linux/video_capture_device_chromeos.cc',
++ 'capture/video/linux/video_capture_device_chromeos.h',
++ 'capture/video/linux/video_capture_device_factory_linux.cc',
++ 'capture/video/linux/video_capture_device_factory_linux.h',
++ 'capture/video/linux/video_capture_device_linux.cc',
++ 'capture/video/linux/video_capture_device_linux.h',
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_x11==1', {
+ 'dependencies': [
+@@ -885,7 +921,7 @@
+ 'ozone/media_ozone_platform.h',
+ ]
+ }],
+- ['OS!="linux"', {
++ ['OS!="linux" and os_bsd!=1', {
+ 'sources!': [
+ 'audio/cras/audio_manager_cras.cc',
+ 'audio/cras/audio_manager_cras.h',
+@@ -1127,7 +1163,7 @@
+ 'base/simd/filter_yuv_sse2.cc',
+ ],
+ }],
+- ['OS!="linux" and OS!="win"', {
++ ['(OS!="linux" and os_bsd!=1) and OS!="win"', {
+ 'sources!': [
+ 'base/keyboard_event_counter.cc',
+ 'base/keyboard_event_counter.h',
+@@ -1992,7 +2028,7 @@
+ 'test/pipeline_integration_test_base.cc',
+ ],
+ 'conditions': [
+- ['os_posix==1 and OS!="mac"', {
++ ['os_posix==1 and OS!="mac" and os_bsd!=1', {
+ 'conditions': [
+ ['use_allocator!="none"', {
+ 'dependencies': [
diff --git a/chromium-new/patches/patch-native_client_build_compiler_version_py b/chromium-new/patches/patch-native_client_build_compiler_version_py
new file mode 100644
index 0000000..c70d5fb
--- /dev/null
+++ b/chromium-new/patches/patch-native_client_build_compiler_version_py
@@ -0,0 +1,12 @@
+$OpenBSD: patch-native_client_build_compiler_version_py,v 1.1 2014/10/13 06:49:19 robert Exp $
+--- native_client/build/compiler_version.py.orig.port Sat Oct 11 11:50:40 2014
++++ native_client/build/compiler_version.py Sat Oct 11 11:50:50 2014
+@@ -62,7 +62,7 @@ def GetVersion(compiler, tool):
+ # Unmodified: GNU assembler (GNU Binutils) 2.24
+ # Ubuntu: GNU assembler (GNU Binutils for Ubuntu) 2.22
+ # Fedora: GNU assembler version 2.23.2
+- version_re = re.compile(r"^GNU [^ ]+ .* (\d+).(\d+).*?$", re.M)
++ version_re = re.compile(r"^GNU assembler (\d+).(\d+)")
+ elif tool == "linker":
+ compiler = compiler + " -Xlinker --version"
+ # Using BFD linker
diff --git a/chromium-new/patches/patch-net_base_address_tracker_linux_h b/chromium-new/patches/patch-net_base_address_tracker_linux_h
new file mode 100644
index 0000000..de0128a
--- /dev/null
+++ b/chromium-new/patches/patch-net_base_address_tracker_linux_h
@@ -0,0 +1,13 @@
+$OpenBSD: patch-net_base_address_tracker_linux_h,v 1.1 2015/01/22 11:16:41 robert Exp $
+--- net/base/address_tracker_linux.h.orig.port Sat Dec 6 13:01:29 2014
++++ net/base/address_tracker_linux.h Sat Dec 6 13:01:41 2014
+@@ -7,9 +7,6 @@
+
+ #include <sys/socket.h> // Needed to include netlink.
+ // Mask superfluous definition of |struct net|. This is fixed in Linux 2.6.38.
+-#define net net_kernel
+-#include <linux/rtnetlink.h>
+-#undef net
+
+ #include <map>
+
diff --git a/chromium-new/patches/patch-net_base_net_util_cc b/chromium-new/patches/patch-net_base_net_util_cc
new file mode 100644
index 0000000..c8809e1
--- /dev/null
+++ b/chromium-new/patches/patch-net_base_net_util_cc
@@ -0,0 +1,11 @@
+$OpenBSD: patch-net_base_net_util_cc,v 1.11 2015/10/14 16:42:07 robert Exp $
+--- net/base/net_util.cc.orig.port Tue Oct 13 21:04:33 2015
++++ net/base/net_util.cc Wed Oct 14 07:41:13 2015
+@@ -23,6 +23,7 @@
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <unistd.h>
++#include <sys/socket.h>
+ #if !defined(OS_NACL)
+ #include <net/if.h>
+ #if !defined(OS_ANDROID)
diff --git a/chromium-new/patches/patch-net_base_network_change_notifier_cc b/chromium-new/patches/patch-net_base_network_change_notifier_cc
new file mode 100644
index 0000000..0f606c4
--- /dev/null
+++ b/chromium-new/patches/patch-net_base_network_change_notifier_cc
@@ -0,0 +1,11 @@
+$OpenBSD: patch-net_base_network_change_notifier_cc,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- net/base/network_change_notifier.cc.orig.port Wed Jan 20 21:01:22 2016
++++ net/base/network_change_notifier.cc Fri Jan 22 19:58:58 2016
+@@ -531,7 +531,6 @@ NetworkChangeNotifier* NetworkChangeNotifier::Create()
+ #elif defined(OS_MACOSX)
+ return new NetworkChangeNotifierMac();
+ #else
+- NOTIMPLEMENTED();
+ return NULL;
+ #endif
+ }
diff --git a/chromium-new/patches/patch-net_base_network_interfaces_posix_cc b/chromium-new/patches/patch-net_base_network_interfaces_posix_cc
new file mode 100644
index 0000000..c365103
--- /dev/null
+++ b/chromium-new/patches/patch-net_base_network_interfaces_posix_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-net_base_network_interfaces_posix_cc,v 1.1 2015/09/05 16:06:50 robert Exp $
+--- net/base/network_interfaces_posix.cc.orig.port Fri Sep 4 09:33:24 2015
++++ net/base/network_interfaces_posix.cc Fri Sep 4 09:33:09 2015
+@@ -9,7 +9,7 @@
+
+ #include "base/memory/scoped_ptr.h"
+
+-#if !defined(OS_NACL)
++#if !defined(OS_NACL) && !defined(OS_BSD)
+ #include "net/base/network_interfaces_posix.h"
+ #include <net/if.h>
+ #include <netinet/in.h>
+@@ -17,7 +17,7 @@
+
+ namespace net {
+
+-#if !defined(OS_NACL)
++#if !defined(OS_NACL) && !defined(OS_BSD)
+ namespace internal {
+
+ // The application layer can pass |policy| defined in net_util.h to
diff --git a/chromium-new/patches/patch-net_disk_cache_blockfile_disk_format_h b/chromium-new/patches/patch-net_disk_cache_blockfile_disk_format_h
new file mode 100644
index 0000000..52a398b
--- /dev/null
+++ b/chromium-new/patches/patch-net_disk_cache_blockfile_disk_format_h
@@ -0,0 +1,13 @@
+$OpenBSD: patch-net_disk_cache_blockfile_disk_format_h,v 1.2 2015/04/27 16:38:25 robert Exp $
+--- net/disk_cache/blockfile/disk_format.h.orig.port Wed Apr 15 09:37:17 2015
++++ net/disk_cache/blockfile/disk_format.h Wed Apr 15 09:37:35 2015
+@@ -146,7 +146,9 @@ struct RankingsNode {
+ };
+ #pragma pack(pop)
+
++#if !defined(OS_BSD)
+ static_assert(sizeof(RankingsNode) == 36, "bad RankingsNode");
++#endif
+
+ } // namespace disk_cache
+
diff --git a/chromium-new/patches/patch-net_dns_address_sorter_posix_cc b/chromium-new/patches/patch-net_dns_address_sorter_posix_cc
new file mode 100644
index 0000000..25cab4d
--- /dev/null
+++ b/chromium-new/patches/patch-net_dns_address_sorter_posix_cc
@@ -0,0 +1,11 @@
+$OpenBSD: patch-net_dns_address_sorter_posix_cc,v 1.2 2013/10/29 06:51:34 robert Exp $
+--- net/dns/address_sorter_posix.cc.orig.port Fri Oct 11 19:29:01 2013
++++ net/dns/address_sorter_posix.cc Fri Oct 18 20:47:20 2013
+@@ -11,6 +11,7 @@
+ #include <ifaddrs.h>
+ #include <net/if.h>
+ #include <netinet/in_var.h>
++#include <netinet6/in6_var.h>
+ #include <string.h>
+ #include <sys/ioctl.h>
+ #endif
diff --git a/chromium-new/patches/patch-net_dns_host_resolver_proc_cc b/chromium-new/patches/patch-net_dns_host_resolver_proc_cc
new file mode 100644
index 0000000..355a7ac
--- /dev/null
+++ b/chromium-new/patches/patch-net_dns_host_resolver_proc_cc
@@ -0,0 +1,14 @@
+$OpenBSD: patch-net_dns_host_resolver_proc_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- net/dns/host_resolver_proc.cc.orig.port Thu Jan 14 02:49:24 2016
++++ net/dns/host_resolver_proc.cc Fri Jan 22 19:58:58 2016
+@@ -14,10 +14,6 @@
+ #include "net/dns/dns_reloader.h"
+ #include "net/dns/dns_util.h"
+
+-#if defined(OS_OPENBSD)
+-#define AI_ADDRCONFIG 0
+-#endif
+-
+ namespace net {
+
+ namespace {
diff --git a/chromium-new/patches/patch-net_http_http_network_session_cc b/chromium-new/patches/patch-net_http_http_network_session_cc
new file mode 100644
index 0000000..453109b
--- /dev/null
+++ b/chromium-new/patches/patch-net_http_http_network_session_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-net_http_http_network_session_cc,v 1.5 2015/04/27 16:38:25 robert Exp $
+--- net/http/http_network_session.cc.orig.port Wed Apr 15 00:31:22 2015
++++ net/http/http_network_session.cc Wed Apr 15 08:32:50 2015
+@@ -13,7 +13,9 @@
+ #include "base/stl_util.h"
+ #include "base/strings/string_util.h"
+ #include "base/values.h"
++#if defined(USE_KERBEROS)
+ #include "net/http/http_auth_handler_factory.h"
++#endif
+ #include "net/http/http_response_body_drainer.h"
+ #include "net/http/http_stream_factory_impl.h"
+ #include "net/http/url_security_manager.h"
diff --git a/chromium-new/patches/patch-net_net_common_gypi b/chromium-new/patches/patch-net_net_common_gypi
new file mode 100644
index 0000000..d103afa
--- /dev/null
+++ b/chromium-new/patches/patch-net_net_common_gypi
@@ -0,0 +1,11 @@
+$OpenBSD: patch-net_net_common_gypi,v 1.1 2015/12/15 10:59:50 robert Exp $
+--- net/net_common.gypi.orig.port Tue Dec 15 11:50:08 2015
++++ net/net_common.gypi Tue Dec 15 11:50:29 2015
+@@ -219,7 +219,6 @@
+ 'sources!': [
+ 'base/network_change_notifier_linux.cc',
+ 'base/network_change_notifier_netlink_linux.cc',
+- 'proxy/proxy_config_service_linux.cc',
+ ],
+ },{
+ 'dependencies': [
diff --git a/chromium-new/patches/patch-net_net_gypi b/chromium-new/patches/patch-net_net_gypi
new file mode 100644
index 0000000..81d6157
--- /dev/null
+++ b/chromium-new/patches/patch-net_net_gypi
@@ -0,0 +1,20 @@
+$OpenBSD: patch-net_net_gypi,v 1.13 2016/01/23 18:49:31 robert Exp $
+--- net/net.gypi.orig.port Wed Jan 20 21:01:22 2016
++++ net/net.gypi Fri Jan 22 19:58:58 2016
+@@ -417,8 +417,6 @@
+ 'android/network_library.h',
+ 'android/traffic_stats.cc',
+ 'android/traffic_stats.h',
+- 'base/address_tracker_linux.cc',
+- 'base/address_tracker_linux.h',
+ 'base/backoff_entry.cc',
+ 'base/backoff_entry.h',
+ 'base/backoff_entry_serializer.cc',
+@@ -491,7 +489,6 @@
+ 'base/network_delegate.h',
+ 'base/network_delegate_impl.cc',
+ 'base/network_delegate_impl.h',
+- 'base/network_interfaces_linux.cc',
+ 'base/network_interfaces_mac.cc',
+ 'base/network_interfaces_win.cc',
+ 'base/network_quality_estimator.cc',
diff --git a/chromium-new/patches/patch-net_proxy_proxy_config_service_linux_cc b/chromium-new/patches/patch-net_proxy_proxy_config_service_linux_cc
new file mode 100644
index 0000000..555404f
--- /dev/null
+++ b/chromium-new/patches/patch-net_proxy_proxy_config_service_linux_cc
@@ -0,0 +1,40 @@
+$OpenBSD: patch-net_proxy_proxy_config_service_linux_cc,v 1.6 2015/12/12 20:20:01 robert Exp $
+--- net/proxy/proxy_config_service_linux.cc.orig.port Sat Dec 12 13:37:06 2015
++++ net/proxy/proxy_config_service_linux.cc Sat Dec 12 13:45:47 2015
+@@ -12,7 +12,9 @@
+ #include <limits.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#if !defined(OS_BSD)
+ #include <sys/inotify.h>
++#endif
+ #include <unistd.h>
+
+ #include <map>
+@@ -851,6 +853,7 @@ bool SettingGetterImplGSettings::LoadAndCheckVersion(
+ }
+ #endif // defined(USE_GIO)
+
++#if !defined(OS_BSD)
+ // This is the KDE version that reads kioslaverc and simulates gconf.
+ // Doing this allows the main Delegate code, as well as the unit tests
+ // for it, to stay the same - and the settings map fairly well besides.
+@@ -1356,6 +1359,7 @@ class SettingGetterImplKDE : public ProxyConfigService
+
+ DISALLOW_COPY_AND_ASSIGN(SettingGetterImplKDE);
+ };
++#endif
+
+ } // namespace
+
+@@ -1556,8 +1560,10 @@ ProxyConfigServiceLinux::Delegate::Delegate(base::Envi
+ case base::nix::DESKTOP_ENVIRONMENT_KDE3:
+ case base::nix::DESKTOP_ENVIRONMENT_KDE4:
+ case base::nix::DESKTOP_ENVIRONMENT_KDE5:
++#if !defined(OS_BSD)
+ setting_getter_.reset(new SettingGetterImplKDE(env_var_getter));
+ break;
++#endif
+ case base::nix::DESKTOP_ENVIRONMENT_XFCE:
+ case base::nix::DESKTOP_ENVIRONMENT_OTHER:
+ break;
diff --git a/chromium-new/patches/patch-net_proxy_proxy_service_cc b/chromium-new/patches/patch-net_proxy_proxy_service_cc
new file mode 100644
index 0000000..eae1978
--- /dev/null
+++ b/chromium-new/patches/patch-net_proxy_proxy_service_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-net_proxy_proxy_service_cc,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- net/proxy/proxy_service.cc.orig.port Wed Jan 20 21:01:22 2016
++++ net/proxy/proxy_service.cc Fri Jan 22 19:58:58 2016
+@@ -43,7 +43,7 @@
+ #elif defined(OS_MACOSX)
+ #include "net/proxy/proxy_config_service_mac.h"
+ #include "net/proxy/proxy_resolver_mac.h"
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "net/proxy/proxy_config_service_linux.h"
+ #elif defined(OS_ANDROID)
+ #include "net/proxy/proxy_config_service_android.h"
+@@ -1511,7 +1511,7 @@ scoped_ptr<ProxyConfigService> ProxyService::CreateSys
+ << "profile_io_data.cc::CreateProxyConfigService and this should "
+ << "be used only for examples.";
+ return make_scoped_ptr(new UnsetProxyConfigService);
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ scoped_ptr<ProxyConfigServiceLinux> linux_config_service(
+ new ProxyConfigServiceLinux());
+
diff --git a/chromium-new/patches/patch-net_socket_socks5_client_socket_cc b/chromium-new/patches/patch-net_socket_socks5_client_socket_cc
new file mode 100644
index 0000000..cc6c315
--- /dev/null
+++ b/chromium-new/patches/patch-net_socket_socks5_client_socket_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-net_socket_socks5_client_socket_cc,v 1.4 2015/05/24 15:51:53 robert Exp $
+--- net/socket/socks5_client_socket.cc.orig.port Thu May 14 00:23:09 2015
++++ net/socket/socks5_client_socket.cc Wed May 20 08:34:56 2015
+@@ -16,6 +16,9 @@
+ #include "net/log/net_log.h"
+ #include "net/socket/client_socket_handle.h"
+
++#include <sys/types.h>
++#include <netinet/in.h>
++
+ namespace net {
+
+ const unsigned int SOCKS5ClientSocket::kGreetReadHeaderSize = 2;
diff --git a/chromium-new/patches/patch-net_tools_get_server_time_get_server_time_cc b/chromium-new/patches/patch-net_tools_get_server_time_get_server_time_cc
new file mode 100644
index 0000000..0b29f9a
--- /dev/null
+++ b/chromium-new/patches/patch-net_tools_get_server_time_get_server_time_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-net_tools_get_server_time_get_server_time_cc,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- net/tools/get_server_time/get_server_time.cc.orig.port Sat May 23 00:59:48 2015
++++ net/tools/get_server_time/get_server_time.cc Sat May 23 01:15:24 2015
+@@ -43,7 +43,7 @@
+
+ #if defined(OS_MACOSX)
+ #include "base/mac/scoped_nsautorelease_pool.h"
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ #include "net/proxy/proxy_config.h"
+ #include "net/proxy/proxy_config_service_fixed.h"
+ #endif
+@@ -138,7 +138,7 @@ class PrintingLogObserver : public net::NetLog::Thread
+ scoped_ptr<net::URLRequestContext>
+ BuildURLRequestContext(net::NetLog* net_log) {
+ net::URLRequestContextBuilder builder;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // On Linux, use a fixed ProxyConfigService, since the default one
+ // depends on glib.
+ //
diff --git a/chromium-new/patches/patch-net_udp_udp_socket_posix_cc b/chromium-new/patches/patch-net_udp_udp_socket_posix_cc
new file mode 100644
index 0000000..b7eb74f
--- /dev/null
+++ b/chromium-new/patches/patch-net_udp_udp_socket_posix_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-net_udp_udp_socket_posix_cc,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- net/udp/udp_socket_posix.cc.orig.port Wed Jan 20 21:01:22 2016
++++ net/udp/udp_socket_posix.cc Fri Jan 22 19:58:58 2016
+@@ -42,7 +42,7 @@ const int kBindRetries = 10;
+ const int kPortStart = 1024;
+ const int kPortEnd = 65535;
+
+-#if defined(OS_MACOSX)
++#if defined(OS_MACOSX) || defined(OS_BSD)
+
+ // Returns IPv4 address in network order.
+ int GetIPv4AddressFromIndex(int socket, uint32 index, uint32* address){
+@@ -590,7 +590,7 @@ int UDPSocketPosix::SetMulticastOptions() {
+ if (multicast_interface_ != 0) {
+ switch (addr_family_) {
+ case AF_INET: {
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ ip_mreqn mreq;
+ mreq.imr_ifindex = multicast_interface_;
+ mreq.imr_address.s_addr = htonl(INADDR_ANY);
+@@ -665,7 +665,7 @@ int UDPSocketPosix::JoinGroup(const IPAddressNumber& g
+ if (addr_family_ != AF_INET)
+ return ERR_ADDRESS_INVALID;
+
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+ ip_mreqn mreq;
+ mreq.imr_ifindex = multicast_interface_;
+ mreq.imr_address.s_addr = htonl(INADDR_ANY);
diff --git a/chromium-new/patches/patch-net_url_request_url_request_context_builder_cc b/chromium-new/patches/patch-net_url_request_url_request_context_builder_cc
new file mode 100644
index 0000000..c44751c
--- /dev/null
+++ b/chromium-new/patches/patch-net_url_request_url_request_context_builder_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-net_url_request_url_request_context_builder_cc,v 1.6 2016/01/23 18:49:31 robert Exp $
+--- net/url_request/url_request_context_builder.cc.orig.port Wed Jan 20 21:01:22 2016
++++ net/url_request/url_request_context_builder.cc Fri Jan 22 19:58:58 2016
+@@ -301,7 +301,7 @@ scoped_ptr<URLRequestContext> URLRequestContextBuilder
+ if (!proxy_service_) {
+ // TODO(willchan): Switch to using this code when
+ // ProxyService::CreateSystemProxyConfigService()'s signature doesn't suck.
+-#if !defined(OS_LINUX) && !defined(OS_ANDROID)
++#if !defined(OS_LINUX) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ if (!proxy_config_service_) {
+ proxy_config_service_ = ProxyService::CreateSystemProxyConfigService(
+ base::ThreadTaskRunnerHandle::Get().get(),
diff --git a/chromium-new/patches/patch-pdf_pdfium_pdfium_engine_cc b/chromium-new/patches/patch-pdf_pdfium_pdfium_engine_cc
new file mode 100644
index 0000000..71f99b4
--- /dev/null
+++ b/chromium-new/patches/patch-pdf_pdfium_pdfium_engine_cc
@@ -0,0 +1,48 @@
+$OpenBSD: patch-pdf_pdfium_pdfium_engine_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- pdf/pdfium/pdfium_engine.cc.orig.port Wed Jan 20 21:01:22 2016
++++ pdf/pdfium/pdfium_engine.cc Fri Jan 22 19:58:58 2016
+@@ -115,7 +115,7 @@ std::vector<uint32_t> GetPageNumbersFromPrintPageNumbe
+ return page_numbers;
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+
+ PP_Instance g_last_instance_id;
+
+@@ -479,7 +479,7 @@ bool InitializeSDK() {
+ config.m_v8EmbedderSlot = gin::kEmbedderPDFium;
+ FPDF_InitLibraryWithConfig(&config);
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Font loading doesn't work in the renderer sandbox in Linux.
+ FPDF_SetSystemFontInfo(&g_font_info);
+ #endif
+@@ -1393,7 +1393,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesAsRasterPDF(
+ FPDF_ClosePage(pdf_page);
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ g_last_instance_id = client_->GetPluginInstance()->pp_instance();
+ #endif
+
+@@ -2799,7 +2799,7 @@ bool PDFiumEngine::ContinuePaint(int progressive_index
+ DCHECK_LT(static_cast<size_t>(progressive_index), progressive_paints_.size());
+ DCHECK(image_data);
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ g_last_instance_id = client_->GetPluginInstance()->pp_instance();
+ #endif
+
+@@ -3255,7 +3255,7 @@ void PDFiumEngine::SetCurrentPage(int index) {
+ FORM_DoPageAAction(old_page, form_, FPDFPAGE_AACTION_CLOSE);
+ }
+ most_visible_page_ = index;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ g_last_instance_id = client_->GetPluginInstance()->pp_instance();
+ #endif
+ if (most_visible_page_ != -1 && called_do_document_action_) {
diff --git a/chromium-new/patches/patch-ppapi_shared_impl_private_net_address_private_impl_cc b/chromium-new/patches/patch-ppapi_shared_impl_private_net_address_private_impl_cc
new file mode 100644
index 0000000..f677bc3
--- /dev/null
+++ b/chromium-new/patches/patch-ppapi_shared_impl_private_net_address_private_impl_cc
@@ -0,0 +1,15 @@
+$OpenBSD: patch-ppapi_shared_impl_private_net_address_private_impl_cc,v 1.4 2013/04/03 08:19:10 robert Exp $
+--- ppapi/shared_impl/private/net_address_private_impl.cc.orig.port Fri Mar 22 02:13:12 2013
++++ ppapi/shared_impl/private/net_address_private_impl.cc Tue Apr 2 21:05:17 2013
+@@ -28,7 +28,10 @@
+ #include "ppapi/shared_impl/var.h"
+ #include "ppapi/thunk/thunk.h"
+
+-#if defined(OS_MACOSX)
++#include <sys/types.h>
++#include <netinet/in.h>
++
++#if defined(OS_MACOSX) || defined(OS_BSD)
+ // This is a bit evil, but it's standard operating procedure for |s6_addr|....
+ #define s6_addr16 __u6_addr.__u6_addr16
+ #endif
diff --git a/chromium-new/patches/patch-printing_backend_cups_helper_cc b/chromium-new/patches/patch-printing_backend_cups_helper_cc
new file mode 100644
index 0000000..de335e7
--- /dev/null
+++ b/chromium-new/patches/patch-printing_backend_cups_helper_cc
@@ -0,0 +1,15 @@
+$OpenBSD: patch-printing_backend_cups_helper_cc,v 1.7 2015/10/14 16:42:07 robert Exp $
+--- printing/backend/cups_helper.cc.orig.port Wed Oct 7 04:42:13 2015
++++ printing/backend/cups_helper.cc Wed Oct 14 07:41:13 2015
+@@ -291,10 +291,7 @@ bool GetColorModelSettings(ppd_file_t* ppd,
+ ColorModel* cm_black,
+ ColorModel* cm_color,
+ bool* is_color) {
+- bool is_color_device = false;
+- ppd_attr_t* attr = ppdFindAttr(ppd, kColorDevice, NULL);
+- if (attr && attr->value)
+- is_color_device = ppd->color_device;
++ bool is_color_device = ppd->color_device;
+
+ *is_color = is_color_device;
+ return (is_color_device &&
diff --git a/chromium-new/patches/patch-printing_printing_gyp b/chromium-new/patches/patch-printing_printing_gyp
new file mode 100644
index 0000000..1ae756c
--- /dev/null
+++ b/chromium-new/patches/patch-printing_printing_gyp
@@ -0,0 +1,25 @@
+$OpenBSD: patch-printing_printing_gyp,v 1.32 2016/01/23 18:49:31 robert Exp $
+--- printing/printing.gyp.orig.port Wed Jan 20 21:01:22 2016
++++ printing/printing.gyp Fri Jan 22 19:58:58 2016
+@@ -187,7 +187,7 @@
+ 'backend/print_backend_chromeos.cc',
+ ],
+ }],
+- ['OS=="linux" and chromeos==0', {
++ ['(OS=="linux" or os_bsd ==1) and chromeos==0', {
+ 'sources': [
+ 'printing_context_linux.cc',
+ 'printing_context_linux.h',
+@@ -288,6 +288,12 @@
+ ['os_bsd==1', {
+ 'cflags': [
+ '<!@(python cups_config_helper.py --cflags <(sysroot))',
++ ],
++ }],
++ [ 'OS == "openbsd"', {
++ 'cflags': [
++ '<!@(python cups_config_helper.py --cflags)',
++ '-Wno-deprecated-declarations',
+ ],
+ }],
+ ],
diff --git a/chromium-new/patches/patch-remoting_remoting_all_gyp b/chromium-new/patches/patch-remoting_remoting_all_gyp
new file mode 100644
index 0000000..acf754c
--- /dev/null
+++ b/chromium-new/patches/patch-remoting_remoting_all_gyp
@@ -0,0 +1,11 @@
+$OpenBSD: patch-remoting_remoting_all_gyp,v 1.2 2015/12/05 16:13:32 robert Exp $
+--- remoting/remoting_all.gyp.orig.port Wed Dec 2 13:51:41 2015
++++ remoting/remoting_all.gyp Wed Dec 2 13:51:46 2015
+@@ -60,7 +60,6 @@
+ '../remoting/remoting.gyp:remoting_host_setup_base',
+ '../remoting/remoting.gyp:remoting_native_messaging_base',
+ '../remoting/remoting.gyp:remoting_native_messaging_manifests',
+- '../remoting/remoting.gyp:remoting_perftests',
+ '../remoting/remoting.gyp:remoting_start_host',
+ ],
+ }],
diff --git a/chromium-new/patches/patch-remoting_remoting_host_gypi b/chromium-new/patches/patch-remoting_remoting_host_gypi
new file mode 100644
index 0000000..bf78528
--- /dev/null
+++ b/chromium-new/patches/patch-remoting_remoting_host_gypi
@@ -0,0 +1,30 @@
+$OpenBSD: patch-remoting_remoting_host_gypi,v 1.14 2016/01/23 18:49:31 robert Exp $
+--- remoting/remoting_host.gypi.orig.port Wed Jan 20 21:01:23 2016
++++ remoting/remoting_host.gypi Fri Jan 22 19:58:58 2016
+@@ -18,7 +18,7 @@
+ 'remoting_host_win.gypi',
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'includes': [
+ 'remoting_host_linux.gypi',
+ ],
+@@ -57,7 +57,7 @@
+ '<@(remoting_host_sources)',
+ ],
+ 'conditions': [
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_x11==1', {
+ 'dependencies': [
+@@ -670,7 +670,7 @@
+ 'host/it2me/it2me_native_messaging_host_main.h',
+ ],
+ 'conditions': [
+- ['OS=="linux" and chromeos==0 and use_ozone==0', {
++ ['(os_bsd==1 or OS=="linux") and chromeos==0 and use_ozone==0', {
+ 'dependencies': [
+ # Always use GTK on Linux, even for Aura builds.
+ '../build/linux/system.gyp:gtk2',
diff --git a/chromium-new/patches/patch-skia_ext_SkMemory_new_handler_cpp b/chromium-new/patches/patch-skia_ext_SkMemory_new_handler_cpp
new file mode 100644
index 0000000..d3c0ec8
--- /dev/null
+++ b/chromium-new/patches/patch-skia_ext_SkMemory_new_handler_cpp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-skia_ext_SkMemory_new_handler_cpp,v 1.2 2015/09/05 16:06:50 robert Exp $
+--- skia/ext/SkMemory_new_handler.cpp.orig.port Wed Sep 2 20:10:58 2015
++++ skia/ext/SkMemory_new_handler.cpp Wed Sep 2 20:11:14 2015
+@@ -62,7 +62,7 @@ static void* sk_malloc_nothrow(size_t size) {
+ // TODO(b.kelemen): we should always use UncheckedMalloc but currently it
+ // doesn't work as intended everywhere.
+ void* result;
+-#if defined(OS_IOS)
++#if defined(OS_IOS) || defined(OS_BSD)
+ result = malloc(size);
+ #else
+ // It's the responsibility of the caller to check the return value.
diff --git a/chromium-new/patches/patch-skia_skia_chrome_gypi b/chromium-new/patches/patch-skia_skia_chrome_gypi
new file mode 100644
index 0000000..9411522
--- /dev/null
+++ b/chromium-new/patches/patch-skia_skia_chrome_gypi
@@ -0,0 +1,15 @@
+$OpenBSD: patch-skia_skia_chrome_gypi,v 1.12 2015/10/14 16:42:07 robert Exp $
+--- skia/skia_chrome.gypi.orig.port Wed Oct 14 07:55:02 2015
++++ skia/skia_chrome.gypi Wed Oct 14 07:55:25 2015
+@@ -55,6 +55,11 @@
+ 'ext/skia_utils_win.cc',
+ ],
+ 'conditions': [
++ [ 'use_cairo == 1', {
++ 'dependencies': [
++ '../build/linux/system.gyp:pangocairo',
++ ],
++ }],
+ [ 'OS == "ios"', {
+ 'sources!': [
+ 'ext/platform_canvas.cc',
diff --git a/chromium-new/patches/patch-skia_skia_common_gypi b/chromium-new/patches/patch-skia_skia_common_gypi
new file mode 100644
index 0000000..132640d
--- /dev/null
+++ b/chromium-new/patches/patch-skia_skia_common_gypi
@@ -0,0 +1,12 @@
+$OpenBSD: patch-skia_skia_common_gypi,v 1.5 2015/10/14 16:42:07 robert Exp $
+--- skia/skia_common.gypi.orig.port Wed Oct 7 04:42:14 2015
++++ skia/skia_common.gypi Wed Oct 14 07:41:13 2015
+@@ -65,7 +65,7 @@
+ }],
+
+ #Settings for text blitting, chosen to approximate the system browser.
+- [ 'OS == "linux"', {
++ [ 'OS == "linux" or os_bsd == 1', {
+ 'defines': [
+ 'SK_GAMMA_EXPONENT=1.2',
+ 'SK_GAMMA_CONTRAST=0.2',
diff --git a/chromium-new/patches/patch-sync_util_get_session_name_cc b/chromium-new/patches/patch-sync_util_get_session_name_cc
new file mode 100644
index 0000000..0d11933
--- /dev/null
+++ b/chromium-new/patches/patch-sync_util_get_session_name_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-sync_util_get_session_name_cc,v 1.4 2015/09/05 16:06:50 robert Exp $
+--- sync/util/get_session_name.cc.orig.port Wed Sep 2 20:11:21 2015
++++ sync/util/get_session_name.cc Wed Sep 2 20:11:30 2015
+@@ -14,7 +14,7 @@
+
+ #if defined(OS_CHROMEOS)
+ #include "chromeos/system/devicetype.h"
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ #include "sync/util/get_session_name_linux.h"
+ #elif defined(OS_IOS)
+ #include "sync/util/get_session_name_ios.h"
+@@ -50,7 +50,7 @@ std::string GetSessionNameSynchronously() {
+ session_name = "Chromebook";
+ break;
+ }
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ session_name = internal::GetHostname();
+ #elif defined(OS_IOS)
+ session_name = internal::GetComputerName();
diff --git a/chromium-new/patches/patch-sync_util_get_session_name_linux_cc b/chromium-new/patches/patch-sync_util_get_session_name_linux_cc
new file mode 100644
index 0000000..696ae72
--- /dev/null
+++ b/chromium-new/patches/patch-sync_util_get_session_name_linux_cc
@@ -0,0 +1,15 @@
+$OpenBSD: patch-sync_util_get_session_name_linux_cc,v 1.1 2013/10/29 06:51:34 robert Exp $
+--- sync/util/get_session_name_linux.cc.orig.port Sun Oct 20 19:08:41 2013
++++ sync/util/get_session_name_linux.cc Sun Oct 20 19:08:51 2013
+@@ -13,8 +13,9 @@ namespace syncer {
+ namespace internal {
+
+ std::string GetHostname() {
+- char hostname[HOST_NAME_MAX];
+- if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success.
++ int len = sysconf(_SC_HOST_NAME_MAX);
++ char hostname[len];
++ if (gethostname(hostname, len) == 0) // Success.
+ return hostname;
+ return base::GetLinuxDistro();
+ }
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp b/chromium-new/patches/patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp
new file mode 100644
index 0000000..a0b8464
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_WebKit_Source_bindings_core_v8_V8ScriptRunner_cpp,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp.orig.port Tue Nov 24 21:01:00 2015
++++ third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp Wed Dec 2 08:18:32 2015
+@@ -44,7 +44,7 @@
+
+ #if defined(WTF_OS_WIN)
+ #include <malloc.h>
+-#else
++#elif !defined(WTF_OS_OPENBSD)
+ #include <alloca.h>
+ #endif
+
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_core_core_gyp b/chromium-new/patches/patch-third_party_WebKit_Source_core_core_gyp
new file mode 100644
index 0000000..da93704
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_core_core_gyp
@@ -0,0 +1,35 @@
+$OpenBSD: patch-third_party_WebKit_Source_core_core_gyp,v 1.19 2015/12/05 16:13:32 robert Exp $
+--- third_party/WebKit/Source/core/core.gyp.orig.port Tue Nov 24 21:01:00 2015
++++ third_party/WebKit/Source/core/core.gyp Wed Dec 2 08:18:32 2015
+@@ -506,13 +506,13 @@
+ # Due to a bug in gcc 4.6 in android NDK, we get warnings about uninitialized variable.
+ 'cflags': ['-Wno-uninitialized'],
+ }],
+- ['OS != "linux"', {
++ ['OS != "linux" and OS != "openbsd"', {
+ 'sources!': [
+ 'layout/LayoutThemeLinux.cpp',
+ 'layout/LayoutThemeLinux.h',
+ ],
+ }],
+- ['OS != "linux" and OS != "android"', {
++ ['OS != "linux" and OS != "android" and OS != "openbsd"', {
+ 'sources!': [
+ 'layout/LayoutThemeFontProviderLinux.cpp',
+ ],
+@@ -834,13 +834,13 @@
+ # Due to a bug in gcc 4.6 in android NDK, we get warnings about uninitialized variable.
+ 'cflags': ['-Wno-uninitialized'],
+ }],
+- ['OS != "linux"', {
++ ['OS != "linux" and OS != "openbsd"', {
+ 'sources!': [
+ 'layout/LayoutThemeLinux.cpp',
+ 'layout/LayoutThemeLinux.h',
+ ],
+ }],
+- ['OS != "linux" and OS != "android"', {
++ ['OS != "linux" and OS != "android" and OS != "openbsd"', {
+ 'sources!': [
+ 'layout/LayoutThemeFontProviderLinux.cpp',
+ ],
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_platform_blink_platform_gyp b/chromium-new/patches/patch-third_party_WebKit_Source_platform_blink_platform_gyp
new file mode 100644
index 0000000..27c1cc6
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_platform_blink_platform_gyp
@@ -0,0 +1,39 @@
+$OpenBSD: patch-third_party_WebKit_Source_platform_blink_platform_gyp,v 1.12 2015/10/14 16:42:07 robert Exp $
+--- third_party/WebKit/Source/platform/blink_platform.gyp.orig.port Wed Oct 7 04:42:26 2015
++++ third_party/WebKit/Source/platform/blink_platform.gyp Wed Oct 14 07:41:13 2015
+@@ -252,7 +252,7 @@
+ ['include', 'graphics/cpu/x86/WebGLImageConversionSSE\\.h$'],
+ ],
+ }],
+- ['OS=="linux" or OS=="android" or OS=="win"', {
++ ['OS=="linux" or OS=="android" or OS=="win" or os_bsd==1', {
+ 'sources/': [
+ # Cherry-pick files excluded by the broader regular expressions above.
+ ['include', 'fonts/opentype/OpenTypeTypes\\.h$'],
+@@ -263,7 +263,7 @@
+ ],
+ },
+ ],
+- ['OS=="linux" or OS=="android"', {
++ ['OS=="linux" or OS=="android" or os_bsd==1', {
+ 'sources/': [
+ ['include', 'fonts/linux/FontPlatformDataLinux\\.cpp$'],
+ ]
+@@ -348,7 +348,7 @@
+ ['exclude', 'scroll/ScrollbarThemeMac'],
+ ],
+ }],
+- ['OS != "linux" and OS != "mac" and OS != "win"', {
++ ['OS != "linux" and OS != "mac" and OS != "win" and os_bsd != 1', {
+ 'sources/': [
+ ['exclude', 'VDMX[^/]+\\.(cpp|h)$'],
+ ],
+@@ -391,7 +391,7 @@
+ ['exclude', 'Android\\.cpp$'],
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'dependencies': [
+ '<(DEPTH)/build/linux/system.gyp:fontconfig',
+ ],
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp b/chromium-new/patches/patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp
new file mode 100644
index 0000000..1e611e4
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp
@@ -0,0 +1,30 @@
+$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_SimpleFontData_cpp,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp Fri Jan 22 19:58:59 2016
+@@ -50,7 +50,7 @@ namespace blink {
+ const float smallCapsFontSizeMultiplier = 0.7f;
+ const float emphasisMarkFontSizeMultiplier = 0.5f;
+
+-#if OS(LINUX) || OS(ANDROID)
++#if OS(LINUX) || OS(ANDROID) || OS(OPENBSD)
+ // This is the largest VDMX table which we'll try to load and parse.
+ static const size_t maxVDMXTableSize = 1024 * 1024; // 1 MB
+ #endif
+@@ -103,7 +103,7 @@ void SimpleFontData::platformInit()
+ int vdmxAscent = 0, vdmxDescent = 0;
+ bool isVDMXValid = false;
+
+-#if OS(LINUX) || OS(ANDROID)
++#if OS(LINUX) || OS(ANDROID) || OS(OPENBSD)
+ // Manually digging up VDMX metrics is only applicable when bytecode hinting using FreeType.
+ // With GDI, the metrics will already have taken this into account (as needed).
+ // With DirectWrite or CoreText, no bytecode hinting is ever done.
+@@ -137,7 +137,7 @@ void SimpleFontData::platformInit()
+ } else {
+ ascent = SkScalarRoundToInt(-metrics.fAscent);
+ descent = SkScalarRoundToInt(metrics.fDescent);
+-#if OS(LINUX) || OS(ANDROID)
++#if OS(LINUX) || OS(ANDROID) || OS(OPENBSD)
+ // When subpixel positioning is enabled, if the descent is rounded down, the descent part
+ // of the glyph may be truncated when displayed in a 'overflow: hidden' container.
+ // To avoid that, borrow 1 unit from the ascent when possible.
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp
new file mode 100644
index 0000000..fb69b64
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp
@@ -0,0 +1,43 @@
+$OpenBSD: patch-third_party_WebKit_Source_platform_heap_StackFrameDepth_cpp,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp Fri Jan 22 19:58:59 2016
+@@ -14,6 +14,10 @@
+ #elif defined(__GLIBC__)
+ extern "C" void* __libc_stack_end; // NOLINT
+ #endif
++#if OS(OPENBSD)
++#include <sys/signal.h>
++#include <pthread_np.h>
++#endif
+
+ namespace blink {
+
+@@ -96,7 +100,7 @@ size_t StackFrameDepth::getUnderestimatedStackSize()
+ #endif
+
+ return 0;
+-#elif OS(MACOSX)
++#elif OS(MACOSX) || OS(OPENBSD)
+ // FIXME: pthread_get_stacksize_np() returns shorter size than actual stack
+ // size for the main thread on Mavericks(10.9).
+ return 0;
+@@ -110,12 +114,18 @@ size_t StackFrameDepth::getUnderestimatedStackSize()
+
+ void* StackFrameDepth::getStackStart()
+ {
+-#if defined(__GLIBC__) || OS(ANDROID) || OS(FREEBSD)
++#if defined(__GLIBC__) || OS(ANDROID) || OS(FREEBSD) || OS(OPENBSD)
+ pthread_attr_t attr;
+ int error;
+ #if OS(FREEBSD)
+ pthread_attr_init(&attr);
+ error = pthread_attr_get_np(pthread_self(), &attr);
++#elif OS(OPENBSD)
++ stack_t ss;
++ void *base;
++ error = pthread_stackseg_np(pthread_self(), &ss);
++ base = (void*)((size_t) ss.ss_sp - ss.ss_size);
++ return reinterpret_cast<Address>(base) + ss.ss_size;
+ #else
+ error = pthread_getattr_np(pthread_self(), &attr);
+ #endif
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp
new file mode 100644
index 0000000..2326b1a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_WebKit_Source_platform_heap_ThreadState_cpp,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- third_party/WebKit/Source/platform/heap/ThreadState.cpp.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/WebKit/Source/platform/heap/ThreadState.cpp Fri Jan 22 19:58:59 2016
+@@ -61,7 +61,7 @@ extern "C" void* __libc_stack_end; // NOLINT
+ #include <sanitizer/msan_interface.h>
+ #endif
+
+-#if OS(FREEBSD)
++#if OS(FREEBSD) || OS(OPENBSD)
+ #include <pthread_np.h>
+ #endif
+
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_h b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_h
new file mode 100644
index 0000000..7f88229
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_platform_heap_ThreadState_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_WebKit_Source_platform_heap_ThreadState_h,v 1.9 2016/01/23 18:49:31 robert Exp $
+--- third_party/WebKit/Source/platform/heap/ThreadState.h.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/WebKit/Source/platform/heap/ThreadState.h Fri Jan 22 19:58:59 2016
+@@ -207,7 +207,7 @@ class PLATFORM_EXPORT ThreadState { (public)
+
+ static ThreadState* current()
+ {
+-#if defined(__GLIBC__) || OS(ANDROID) || OS(FREEBSD)
++#if defined(__GLIBC__) || OS(ANDROID) || OS(FREEBSD) || OS(OPENBSD)
+ // TLS lookup is fast in these platforms.
+ return **s_threadSpecific;
+ #else
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp b/chromium-new/patches/patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp
new file mode 100644
index 0000000..1897bfb
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_WebKit_Source_web_PopupMenuImpl_cpp,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- third_party/WebKit/Source/web/PopupMenuImpl.cpp.orig.port Tue Nov 24 21:01:01 2015
++++ third_party/WebKit/Source/web/PopupMenuImpl.cpp Wed Dec 2 08:18:32 2015
+@@ -171,7 +171,7 @@ class PopupMenuImpl::ItemIterationContext { (public)
+ , m_buffer(buffer)
+ {
+ ASSERT(m_buffer);
+-#if OS(LINUX)
++#if OS(LINUX) || OS(OPENBSD)
+ // On other platforms, the <option> background color is the same as the
+ // <select> background color. On Linux, that makes the <option>
+ // background color very dark, so by default, try to use a lighter
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_web_web_gyp b/chromium-new/patches/patch-third_party_WebKit_Source_web_web_gyp
new file mode 100644
index 0000000..5d42597
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_web_web_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_WebKit_Source_web_web_gyp,v 1.11 2015/12/05 16:13:32 robert Exp $
+--- third_party/WebKit/Source/web/web.gyp.orig.port Fri Nov 13 12:04:30 2015
++++ third_party/WebKit/Source/web/web.gyp Wed Dec 2 08:18:32 2015
+@@ -160,7 +160,7 @@
+ '../core/core.gyp:webcore',
+ ],
+ }],
+- ['OS == "linux"', {
++ ['OS == "linux" or os_bsd == 1', {
+ 'dependencies': [
+ '<(DEPTH)/build/linux/system.gyp:fontconfig',
+ ],
diff --git a/chromium-new/patches/patch-third_party_WebKit_Source_wtf_MathExtras_h b/chromium-new/patches/patch-third_party_WebKit_Source_wtf_MathExtras_h
new file mode 100644
index 0000000..b0a801a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_WebKit_Source_wtf_MathExtras_h
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_WebKit_Source_wtf_MathExtras_h,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- third_party/WebKit/Source/wtf/MathExtras.h.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/WebKit/Source/wtf/MathExtras.h Fri Jan 22 19:58:59 2016
+@@ -37,8 +37,8 @@
+ #endif
+
+ #if OS(OPENBSD)
+-#include <machine/ieee.h>
+ #include <sys/types.h>
++#include <machine/ieee.h>
+ #endif
+
+ const double piDouble = M_PI;
diff --git a/chromium-new/patches/patch-third_party_boringssl_src_crypto_bn_generic_c b/chromium-new/patches/patch-third_party_boringssl_src_crypto_bn_generic_c
new file mode 100644
index 0000000..624ec71
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_boringssl_src_crypto_bn_generic_c
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_boringssl_src_crypto_bn_generic_c,v 1.1 2015/10/14 16:42:07 robert Exp $
+--- third_party/boringssl/src/crypto/bn/generic.c.orig.port Wed Oct 14 09:03:41 2015
++++ third_party/boringssl/src/crypto/bn/generic.c Wed Oct 14 09:04:43 2015
+@@ -72,7 +72,9 @@
+ #if defined(OPENSSL_WINDOWS)
+ #define alloca _alloca
+ #else
++#if !defined(__OpenBSD__)
+ #include <alloca.h>
++#endif
+ #endif
+
+ #ifdef BN_LLONG
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm
new file mode 100644
index 0000000..1c51984
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm
@@ -0,0 +1,2021 @@
+$OpenBSD: patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_asm,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/chromium/config/Chrome/openbsd/ia32/config.asm.orig.port Sat Jan 23 15:04:58 2016
++++ third_party/ffmpeg/chromium/config/Chrome/openbsd/ia32/config.asm Sat Jan 23 15:21:45 2016
+@@ -0,0 +1,2017 @@
++%define ARCH_AARCH64 0
++%define ARCH_ALPHA 0
++%define ARCH_ARM 0
++%define ARCH_AVR32 0
++%define ARCH_AVR32_AP 0
++%define ARCH_AVR32_UC 0
++%define ARCH_BFIN 0
++%define ARCH_IA64 0
++%define ARCH_M68K 0
++%define ARCH_MIPS 0
++%define ARCH_MIPS64 0
++%define ARCH_PARISC 0
++%define ARCH_PPC 0
++%define ARCH_PPC64 0
++%define ARCH_S390 0
++%define ARCH_SH4 0
++%define ARCH_SPARC 0
++%define ARCH_SPARC64 0
++%define ARCH_TILEGX 0
++%define ARCH_TILEPRO 0
++%define ARCH_TOMI 0
++%define ARCH_X86 1
++%define ARCH_X86_32 1
++%define ARCH_X86_64 0
++%define HAVE_ARMV5TE 0
++%define HAVE_ARMV6 0
++%define HAVE_ARMV6T2 0
++%define HAVE_ARMV8 0
++%define HAVE_NEON 0
++%define HAVE_VFP 0
++%define HAVE_VFPV3 0
++%define HAVE_SETEND 0
++%define HAVE_ALTIVEC 0
++%define HAVE_DCBZL 0
++%define HAVE_LDBRX 0
++%define HAVE_POWER8 0
++%define HAVE_PPC4XX 0
++%define HAVE_VSX 0
++%define HAVE_AESNI 1
++%define HAVE_AMD3DNOW 1
++%define HAVE_AMD3DNOWEXT 1
++%define HAVE_AVX 1
++%define HAVE_AVX2 1
++%define HAVE_FMA3 1
++%define HAVE_FMA4 1
++%define HAVE_MMX 1
++%define HAVE_MMXEXT 1
++%define HAVE_SSE 1
++%define HAVE_SSE2 1
++%define HAVE_SSE3 1
++%define HAVE_SSE4 1
++%define HAVE_SSE42 1
++%define HAVE_SSSE3 1
++%define HAVE_XOP 1
++%define HAVE_CPUNOP 1
++%define HAVE_I686 1
++%define HAVE_MIPSFPU 0
++%define HAVE_MIPS32R2 0
++%define HAVE_MIPS32R5 0
++%define HAVE_MIPS64R6 0
++%define HAVE_MIPSDSPR1 0
++%define HAVE_MIPSDSPR2 0
++%define HAVE_MSA 0
++%define HAVE_LOONGSON2 1
++%define HAVE_LOONGSON3 1
++%define HAVE_MMI 0
++%define HAVE_ARMV5TE_EXTERNAL 0
++%define HAVE_ARMV6_EXTERNAL 0
++%define HAVE_ARMV6T2_EXTERNAL 0
++%define HAVE_ARMV8_EXTERNAL 0
++%define HAVE_NEON_EXTERNAL 0
++%define HAVE_VFP_EXTERNAL 0
++%define HAVE_VFPV3_EXTERNAL 0
++%define HAVE_SETEND_EXTERNAL 0
++%define HAVE_ALTIVEC_EXTERNAL 0
++%define HAVE_DCBZL_EXTERNAL 0
++%define HAVE_LDBRX_EXTERNAL 0
++%define HAVE_POWER8_EXTERNAL 0
++%define HAVE_PPC4XX_EXTERNAL 0
++%define HAVE_VSX_EXTERNAL 0
++%define HAVE_AESNI_EXTERNAL 1
++%define HAVE_AMD3DNOW_EXTERNAL 1
++%define HAVE_AMD3DNOWEXT_EXTERNAL 1
++%define HAVE_AVX_EXTERNAL 1
++%define HAVE_AVX2_EXTERNAL 1
++%define HAVE_FMA3_EXTERNAL 1
++%define HAVE_FMA4_EXTERNAL 1
++%define HAVE_MMX_EXTERNAL 1
++%define HAVE_MMXEXT_EXTERNAL 1
++%define HAVE_SSE_EXTERNAL 1
++%define HAVE_SSE2_EXTERNAL 1
++%define HAVE_SSE3_EXTERNAL 1
++%define HAVE_SSE4_EXTERNAL 1
++%define HAVE_SSE42_EXTERNAL 1
++%define HAVE_SSSE3_EXTERNAL 1
++%define HAVE_XOP_EXTERNAL 1
++%define HAVE_CPUNOP_EXTERNAL 0
++%define HAVE_I686_EXTERNAL 0
++%define HAVE_MIPSFPU_EXTERNAL 0
++%define HAVE_MIPS32R2_EXTERNAL 0
++%define HAVE_MIPS32R5_EXTERNAL 0
++%define HAVE_MIPS64R6_EXTERNAL 0
++%define HAVE_MIPSDSPR1_EXTERNAL 0
++%define HAVE_MIPSDSPR2_EXTERNAL 0
++%define HAVE_MSA_EXTERNAL 0
++%define HAVE_LOONGSON2_EXTERNAL 0
++%define HAVE_LOONGSON3_EXTERNAL 0
++%define HAVE_MMI_EXTERNAL 0
++%define HAVE_ARMV5TE_INLINE 0
++%define HAVE_ARMV6_INLINE 0
++%define HAVE_ARMV6T2_INLINE 0
++%define HAVE_ARMV8_INLINE 0
++%define HAVE_NEON_INLINE 0
++%define HAVE_VFP_INLINE 0
++%define HAVE_VFPV3_INLINE 0
++%define HAVE_SETEND_INLINE 0
++%define HAVE_ALTIVEC_INLINE 0
++%define HAVE_DCBZL_INLINE 0
++%define HAVE_LDBRX_INLINE 0
++%define HAVE_POWER8_INLINE 0
++%define HAVE_PPC4XX_INLINE 0
++%define HAVE_VSX_INLINE 0
++%define HAVE_AESNI_INLINE 1
++%define HAVE_AMD3DNOW_INLINE 1
++%define HAVE_AMD3DNOWEXT_INLINE 1
++%define HAVE_AVX_INLINE 1
++%define HAVE_AVX2_INLINE 1
++%define HAVE_FMA3_INLINE 1
++%define HAVE_FMA4_INLINE 1
++%define HAVE_MMX_INLINE 1
++%define HAVE_MMXEXT_INLINE 1
++%define HAVE_SSE_INLINE 1
++%define HAVE_SSE2_INLINE 1
++%define HAVE_SSE3_INLINE 1
++%define HAVE_SSE4_INLINE 1
++%define HAVE_SSE42_INLINE 1
++%define HAVE_SSSE3_INLINE 1
++%define HAVE_XOP_INLINE 1
++%define HAVE_CPUNOP_INLINE 0
++%define HAVE_I686_INLINE 0
++%define HAVE_MIPSFPU_INLINE 0
++%define HAVE_MIPS32R2_INLINE 0
++%define HAVE_MIPS32R5_INLINE 0
++%define HAVE_MIPS64R6_INLINE 0
++%define HAVE_MIPSDSPR1_INLINE 0
++%define HAVE_MIPSDSPR2_INLINE 0
++%define HAVE_MSA_INLINE 0
++%define HAVE_LOONGSON2_INLINE 0
++%define HAVE_LOONGSON3_INLINE 0
++%define HAVE_MMI_INLINE 0
++%define HAVE_ALIGNED_STACK 1
++%define HAVE_FAST_64BIT 0
++%define HAVE_FAST_CLZ 1
++%define HAVE_FAST_CMOV 0
++%define HAVE_LOCAL_ALIGNED_8 1
++%define HAVE_LOCAL_ALIGNED_16 1
++%define HAVE_LOCAL_ALIGNED_32 1
++%define HAVE_SIMD_ALIGN_16 1
++%define HAVE_ATOMICS_GCC 1
++%define HAVE_ATOMICS_SUNCC 0
++%define HAVE_ATOMICS_WIN32 0
++%define HAVE_ATOMIC_CAS_PTR 0
++%define HAVE_ATOMIC_COMPARE_EXCHANGE 1
++%define HAVE_MACHINE_RW_BARRIER 0
++%define HAVE_MEMORYBARRIER 0
++%define HAVE_MM_EMPTY 0
++%define HAVE_RDTSC 0
++%define HAVE_SARESTART 1
++%define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
++%define HAVE_INLINE_ASM 1
++%define HAVE_SYMVER 0
++%define HAVE_YASM 1
++%define HAVE_BIGENDIAN 0
++%define HAVE_FAST_UNALIGNED 1
++%define HAVE_INCOMPATIBLE_LIBAV_ABI 0
++%define HAVE_ALSA_ASOUNDLIB_H 0
++%define HAVE_ALTIVEC_H 0
++%define HAVE_ARPA_INET_H 0
++%define HAVE_ASM_TYPES_H 0
++%define HAVE_CDIO_PARANOIA_H 0
++%define HAVE_CDIO_PARANOIA_PARANOIA_H 0
++%define HAVE_DEV_BKTR_IOCTL_BT848_H 0
++%define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
++%define HAVE_DEV_IC_BT8XX_H 1
++%define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
++%define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
++%define HAVE_DIRECT_H 0
++%define HAVE_DIRENT_H 1
++%define HAVE_DLFCN_H 1
++%define HAVE_D3D11_H 0
++%define HAVE_DXVA_H 0
++%define HAVE_ES2_GL_H 0
++%define HAVE_GSM_H 0
++%define HAVE_IO_H 0
++%define HAVE_MACH_MACH_TIME_H 0
++%define HAVE_MACHINE_IOCTL_BT848_H 0
++%define HAVE_MACHINE_IOCTL_METEOR_H 0
++%define HAVE_MALLOC_H 0
++%define HAVE_OPENJPEG_1_5_OPENJPEG_H 0
++%define HAVE_OPENGL_GL3_H 0
++%define HAVE_POLL_H 1
++%define HAVE_SNDIO_H 1
++%define HAVE_SOUNDCARD_H 1
++%define HAVE_SYS_MMAN_H 1
++%define HAVE_SYS_PARAM_H 1
++%define HAVE_SYS_RESOURCE_H 1
++%define HAVE_SYS_SELECT_H 1
++%define HAVE_SYS_SOUNDCARD_H 0
++%define HAVE_SYS_TIME_H 1
++%define HAVE_SYS_UN_H 1
++%define HAVE_SYS_VIDEOIO_H 1
++%define HAVE_TERMIOS_H 1
++%define HAVE_UDPLITE_H 0
++%define HAVE_UNISTD_H 1
++%define HAVE_VALGRIND_VALGRIND_H 0
++%define HAVE_WINDOWS_H 0
++%define HAVE_WINSOCK2_H 0
++%define HAVE_INTRINSICS_NEON 0
++%define HAVE_ATANF 1
++%define HAVE_ATAN2F 1
++%define HAVE_CBRT 1
++%define HAVE_CBRTF 1
++%define HAVE_COPYSIGN 1
++%define HAVE_COSF 1
++%define HAVE_ERF 1
++%define HAVE_EXP2 1
++%define HAVE_EXP2F 1
++%define HAVE_EXPF 1
++%define HAVE_ISINF 1
++%define HAVE_ISNAN 1
++%define HAVE_LDEXPF 1
++%define HAVE_LLRINT 1
++%define HAVE_LLRINTF 1
++%define HAVE_LOG2 1
++%define HAVE_LOG2F 1
++%define HAVE_LOG10F 1
++%define HAVE_LRINT 1
++%define HAVE_LRINTF 1
++%define HAVE_POWF 1
++%define HAVE_RINT 1
++%define HAVE_ROUND 1
++%define HAVE_ROUNDF 1
++%define HAVE_SINF 1
++%define HAVE_TRUNC 1
++%define HAVE_TRUNCF 1
++%define HAVE_ACCESS 1
++%define HAVE_ALIGNED_MALLOC 0
++%define HAVE_CLOCK_GETTIME 1
++%define HAVE_CLOSESOCKET 0
++%define HAVE_COMMANDLINETOARGVW 0
++%define HAVE_COTASKMEMFREE 0
++%define HAVE_CRYPTGENRANDOM 0
++%define HAVE_DLOPEN 1
++%define HAVE_FCNTL 1
++%define HAVE_FLT_LIM 1
++%define HAVE_FORK 1
++%define HAVE_GETADDRINFO 0
++%define HAVE_GETHRTIME 0
++%define HAVE_GETOPT 1
++%define HAVE_GETPROCESSAFFINITYMASK 0
++%define HAVE_GETPROCESSMEMORYINFO 0
++%define HAVE_GETPROCESSTIMES 0
++%define HAVE_GETRUSAGE 1
++%define HAVE_GETSYSTEMTIMEASFILETIME 0
++%define HAVE_GETTIMEOFDAY 1
++%define HAVE_GLOB 1
++%define HAVE_GLXGETPROCADDRESS 0
++%define HAVE_GMTIME_R 1
++%define HAVE_INET_ATON 0
++%define HAVE_ISATTY 1
++%define HAVE_JACK_PORT_GET_LATENCY_RANGE 0
++%define HAVE_KBHIT 0
++%define HAVE_LOCALTIME_R 1
++%define HAVE_LSTAT 1
++%define HAVE_LZO1X_999_COMPRESS 0
++%define HAVE_MACH_ABSOLUTE_TIME 0
++%define HAVE_MAPVIEWOFFILE 0
++%define HAVE_MEMALIGN 0
++%define HAVE_MKSTEMP 1
++%define HAVE_MMAP 1
++%define HAVE_MPROTECT 1
++%define HAVE_NANOSLEEP 1
++%define HAVE_PEEKNAMEDPIPE 0
++%define HAVE_POSIX_MEMALIGN 1
++%define HAVE_PTHREAD_CANCEL 1
++%define HAVE_SCHED_GETAFFINITY 0
++%define HAVE_SETCONSOLETEXTATTRIBUTE 0
++%define HAVE_SETCONSOLECTRLHANDLER 0
++%define HAVE_SETMODE 0
++%define HAVE_SETRLIMIT 1
++%define HAVE_SLEEP 0
++%define HAVE_STRERROR_R 1
++%define HAVE_SYSCONF 1
++%define HAVE_SYSCTL 1
++%define HAVE_USLEEP 1
++%define HAVE_UTGETOSTYPEFROMSTRING 0
++%define HAVE_VIRTUALALLOC 0
++%define HAVE_WGLGETPROCADDRESS 0
++%define HAVE_PTHREADS 1
++%define HAVE_OS2THREADS 0
++%define HAVE_W32THREADS 0
++%define HAVE_AS_DN_DIRECTIVE 0
++%define HAVE_AS_FUNC 0
++%define HAVE_AS_OBJECT_ARCH 0
++%define HAVE_ASM_MOD_Q 0
++%define HAVE_ATTRIBUTE_MAY_ALIAS 1
++%define HAVE_ATTRIBUTE_PACKED 1
++%define HAVE_EBP_AVAILABLE 1
++%define HAVE_EBX_AVAILABLE 1
++%define HAVE_GNU_AS 0
++%define HAVE_GNU_WINDRES 0
++%define HAVE_IBM_ASM 0
++%define HAVE_INLINE_ASM_LABELS 1
++%define HAVE_INLINE_ASM_NONLOCAL_LABELS 1
++%define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 1
++%define HAVE_PRAGMA_DEPRECATED 1
++%define HAVE_RSYNC_CONTIMEOUT 0
++%define HAVE_SYMVER_ASM_LABEL 1
++%define HAVE_SYMVER_GNU_ASM 1
++%define HAVE_VFP_ARGS 0
++%define HAVE_XFORM_ASM 0
++%define HAVE_XMM_CLOBBERS 1
++%define HAVE_CONDITION_VARIABLE_PTR 0
++%define HAVE_SOCKLEN_T 0
++%define HAVE_STRUCT_ADDRINFO 0
++%define HAVE_STRUCT_DCADEC_EXSS_INFO_MATRIX_ENCODING 0
++%define HAVE_STRUCT_GROUP_SOURCE_REQ 0
++%define HAVE_STRUCT_IP_MREQ_SOURCE 0
++%define HAVE_STRUCT_IPV6_MREQ 0
++%define HAVE_STRUCT_POLLFD 0
++%define HAVE_STRUCT_RUSAGE_RU_MAXRSS 1
++%define HAVE_STRUCT_SCTP_EVENT_SUBSCRIBE 0
++%define HAVE_STRUCT_SOCKADDR_IN6 0
++%define HAVE_STRUCT_SOCKADDR_SA_LEN 0
++%define HAVE_STRUCT_SOCKADDR_STORAGE 0
++%define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
++%define HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE 1
++%define HAVE_ATOMICS_NATIVE 1
++%define HAVE_DOS_PATHS 0
++%define HAVE_DXVA2API_COBJ 0
++%define HAVE_DXVA2_LIB 0
++%define HAVE_WINRT 0
++%define HAVE_LIBC_MSVCRT 0
++%define HAVE_LIBDC1394_1 0
++%define HAVE_LIBDC1394_2 0
++%define HAVE_MAKEINFO 1
++%define HAVE_MAKEINFO_HTML 0
++%define HAVE_PERL 1
++%define HAVE_POD2MAN 1
++%define HAVE_SDL 0
++%define HAVE_SECTION_DATA_REL_RO 0
++%define HAVE_TEXI2HTML 0
++%define HAVE_THREADS 1
++%define HAVE_VAAPI_X11 0
++%define HAVE_VDPAU_X11 0
++%define HAVE_XLIB 0
++%define CONFIG_BSFS 0
++%define CONFIG_DECODERS 1
++%define CONFIG_ENCODERS 0
++%define CONFIG_HWACCELS 0
++%define CONFIG_PARSERS 1
++%define CONFIG_INDEVS 0
++%define CONFIG_OUTDEVS 0
++%define CONFIG_FILTERS 0
++%define CONFIG_DEMUXERS 1
++%define CONFIG_MUXERS 0
++%define CONFIG_PROTOCOLS 0
++%define CONFIG_DOC 0
++%define CONFIG_HTMLPAGES 0
++%define CONFIG_MANPAGES 0
++%define CONFIG_PODPAGES 0
++%define CONFIG_TXTPAGES 0
++%define CONFIG_AVIO_READING_EXAMPLE 1
++%define CONFIG_AVIO_DIR_CMD_EXAMPLE 1
++%define CONFIG_DECODING_ENCODING_EXAMPLE 1
++%define CONFIG_DEMUXING_DECODING_EXAMPLE 1
++%define CONFIG_EXTRACT_MVS_EXAMPLE 1
++%define CONFIG_FILTER_AUDIO_EXAMPLE 0
++%define CONFIG_FILTERING_AUDIO_EXAMPLE 0
++%define CONFIG_FILTERING_VIDEO_EXAMPLE 0
++%define CONFIG_METADATA_EXAMPLE 1
++%define CONFIG_MUXING_EXAMPLE 0
++%define CONFIG_QSVDEC_EXAMPLE 0
++%define CONFIG_REMUXING_EXAMPLE 1
++%define CONFIG_RESAMPLING_AUDIO_EXAMPLE 0
++%define CONFIG_SCALING_VIDEO_EXAMPLE 0
++%define CONFIG_TRANSCODE_AAC_EXAMPLE 0
++%define CONFIG_TRANSCODING_EXAMPLE 0
++%define CONFIG_AVISYNTH 0
++%define CONFIG_BZLIB 0
++%define CONFIG_CHROMAPRINT 0
++%define CONFIG_CRYSTALHD 0
++%define CONFIG_DECKLINK 0
++%define CONFIG_FREI0R 0
++%define CONFIG_GNUTLS 0
++%define CONFIG_ICONV 0
++%define CONFIG_LADSPA 0
++%define CONFIG_LIBAACPLUS 0
++%define CONFIG_LIBASS 0
++%define CONFIG_LIBBLURAY 0
++%define CONFIG_LIBBS2B 0
++%define CONFIG_LIBCACA 0
++%define CONFIG_LIBCDIO 0
++%define CONFIG_LIBCELT 0
++%define CONFIG_LIBDC1394 0
++%define CONFIG_LIBDCADEC 0
++%define CONFIG_LIBFAAC 0
++%define CONFIG_LIBFDK_AAC 0
++%define CONFIG_LIBFLITE 0
++%define CONFIG_LIBFONTCONFIG 0
++%define CONFIG_LIBFREETYPE 0
++%define CONFIG_LIBFRIBIDI 0
++%define CONFIG_LIBGME 0
++%define CONFIG_LIBGSM 0
++%define CONFIG_LIBIEC61883 0
++%define CONFIG_LIBILBC 0
++%define CONFIG_LIBKVAZAAR 0
++%define CONFIG_LIBMFX 0
++%define CONFIG_LIBMODPLUG 0
++%define CONFIG_LIBMP3LAME 0
++%define CONFIG_LIBNUT 0
++%define CONFIG_LIBOPENCORE_AMRNB 0
++%define CONFIG_LIBOPENCORE_AMRWB 0
++%define CONFIG_LIBOPENCV 0
++%define CONFIG_LIBOPENH264 0
++%define CONFIG_LIBOPENJPEG 0
++%define CONFIG_LIBOPUS 0
++%define CONFIG_LIBPULSE 0
++%define CONFIG_LIBQUVI 0
++%define CONFIG_LIBRTMP 0
++%define CONFIG_LIBRUBBERBAND 0
++%define CONFIG_LIBSCHROEDINGER 0
++%define CONFIG_LIBSHINE 0
++%define CONFIG_LIBSMBCLIENT 0
++%define CONFIG_LIBSNAPPY 0
++%define CONFIG_LIBSOXR 0
++%define CONFIG_LIBSPEEX 0
++%define CONFIG_LIBSSH 0
++%define CONFIG_LIBSTAGEFRIGHT_H264 0
++%define CONFIG_LIBTESSERACT 0
++%define CONFIG_LIBTHEORA 0
++%define CONFIG_LIBTWOLAME 0
++%define CONFIG_LIBUTVIDEO 0
++%define CONFIG_LIBV4L2 0
++%define CONFIG_LIBVIDSTAB 0
++%define CONFIG_LIBVO_AACENC 0
++%define CONFIG_LIBVO_AMRWBENC 0
++%define CONFIG_LIBVORBIS 0
++%define CONFIG_LIBVPX 0
++%define CONFIG_LIBWAVPACK 0
++%define CONFIG_LIBWEBP 0
++%define CONFIG_LIBX264 0
++%define CONFIG_LIBX265 0
++%define CONFIG_LIBXAVS 0
++%define CONFIG_LIBXCB 1
++%define CONFIG_LIBXCB_SHM 1
++%define CONFIG_LIBXCB_SHAPE 1
++%define CONFIG_LIBXCB_XFIXES 1
++%define CONFIG_LIBXVID 0
++%define CONFIG_LIBZIMG 0
++%define CONFIG_LIBZMQ 0
++%define CONFIG_LIBZVBI 0
++%define CONFIG_LZMA 0
++%define CONFIG_MMAL 0
++%define CONFIG_NVENC 0
++%define CONFIG_OPENAL 0
++%define CONFIG_OPENCL 0
++%define CONFIG_OPENGL 0
++%define CONFIG_OPENSSL 0
++%define CONFIG_SDL 0
++%define CONFIG_SECURETRANSPORT 0
++%define CONFIG_X11GRAB 0
++%define CONFIG_XLIB 0
++%define CONFIG_ZLIB 0
++%define CONFIG_FTRAPV 0
++%define CONFIG_GRAY 0
++%define CONFIG_HARDCODED_TABLES 0
++%define CONFIG_RUNTIME_CPUDETECT 1
++%define CONFIG_SAFE_BITSTREAM_READER 1
++%define CONFIG_SHARED 0
++%define CONFIG_SMALL 0
++%define CONFIG_STATIC 1
++%define CONFIG_SWSCALE_ALPHA 1
++%define CONFIG_D3D11VA 0
++%define CONFIG_DXVA2 0
++%define CONFIG_VAAPI 0
++%define CONFIG_VDA 0
++%define CONFIG_VDPAU 0
++%define CONFIG_VIDEOTOOLBOX 0
++%define CONFIG_XVMC 0
++%define CONFIG_GPL 0
++%define CONFIG_NONFREE 0
++%define CONFIG_VERSION3 0
++%define CONFIG_AVCODEC 1
++%define CONFIG_AVDEVICE 0
++%define CONFIG_AVFILTER 0
++%define CONFIG_AVFORMAT 1
++%define CONFIG_AVRESAMPLE 0
++%define CONFIG_AVUTIL 1
++%define CONFIG_POSTPROC 0
++%define CONFIG_SWRESAMPLE 0
++%define CONFIG_SWSCALE 0
++%define CONFIG_FFPLAY 0
++%define CONFIG_FFPROBE 0
++%define CONFIG_FFSERVER 0
++%define CONFIG_FFMPEG 0
++%define CONFIG_DCT 1
++%define CONFIG_DWT 0
++%define CONFIG_ERROR_RESILIENCE 0
++%define CONFIG_FAAN 1
++%define CONFIG_FAST_UNALIGNED 1
++%define CONFIG_FFT 1
++%define CONFIG_LSP 0
++%define CONFIG_LZO 0
++%define CONFIG_MDCT 1
++%define CONFIG_PIXELUTILS 0
++%define CONFIG_NETWORK 0
++%define CONFIG_RDFT 1
++%define CONFIG_FONTCONFIG 0
++%define CONFIG_INCOMPATIBLE_LIBAV_ABI 0
++%define CONFIG_MEMALIGN_HACK 0
++%define CONFIG_MEMORY_POISONING 0
++%define CONFIG_NEON_CLOBBER_TEST 0
++%define CONFIG_PIC 1
++%define CONFIG_POD2MAN 1
++%define CONFIG_RAISE_MAJOR 0
++%define CONFIG_THUMB 0
++%define CONFIG_VALGRIND_BACKTRACE 0
++%define CONFIG_XMM_CLOBBER_TEST 0
++%define CONFIG_AANDCTTABLES 0
++%define CONFIG_AC3DSP 0
++%define CONFIG_AUDIO_FRAME_QUEUE 0
++%define CONFIG_AUDIODSP 0
++%define CONFIG_BLOCKDSP 0
++%define CONFIG_BSWAPDSP 0
++%define CONFIG_CABAC 1
++%define CONFIG_DVPROFILE 0
++%define CONFIG_EXIF 0
++%define CONFIG_FAANDCT 0
++%define CONFIG_FAANIDCT 0
++%define CONFIG_FDCTDSP 0
++%define CONFIG_FLACDSP 0
++%define CONFIG_FMTCONVERT 0
++%define CONFIG_FRAME_THREAD_ENCODER 0
++%define CONFIG_G722DSP 0
++%define CONFIG_GCRYPT 0
++%define CONFIG_GMP 0
++%define CONFIG_GOLOMB 1
++%define CONFIG_GPLV3 0
++%define CONFIG_H263DSP 0
++%define CONFIG_H264CHROMA 1
++%define CONFIG_H264DSP 1
++%define CONFIG_H264PRED 1
++%define CONFIG_H264QPEL 1
++%define CONFIG_HPELDSP 1
++%define CONFIG_HUFFMAN 0
++%define CONFIG_HUFFYUVDSP 0
++%define CONFIG_HUFFYUVENCDSP 0
++%define CONFIG_IDCTDSP 0
++%define CONFIG_IIRFILTER 0
++%define CONFIG_IMDCT15 1
++%define CONFIG_INTRAX8 0
++%define CONFIG_IVIDSP 0
++%define CONFIG_JPEGTABLES 0
++%define CONFIG_LIBX262 0
++%define CONFIG_LGPLV3 0
++%define CONFIG_LLAUDDSP 0
++%define CONFIG_LLVIDDSP 0
++%define CONFIG_LPC 0
++%define CONFIG_LZF 0
++%define CONFIG_ME_CMP 0
++%define CONFIG_MPEG_ER 0
++%define CONFIG_MPEGAUDIO 1
++%define CONFIG_MPEGAUDIODSP 1
++%define CONFIG_MPEGVIDEO 0
++%define CONFIG_MPEGVIDEOENC 0
++%define CONFIG_MSS34DSP 0
++%define CONFIG_PIXBLOCKDSP 0
++%define CONFIG_QPELDSP 0
++%define CONFIG_QSV 0
++%define CONFIG_QSVDEC 0
++%define CONFIG_QSVENC 0
++%define CONFIG_RANGECODER 0
++%define CONFIG_RIFFDEC 1
++%define CONFIG_RIFFENC 0
++%define CONFIG_RTPDEC 0
++%define CONFIG_RTPENC_CHAIN 0
++%define CONFIG_RV34DSP 0
++%define CONFIG_SINEWIN 1
++%define CONFIG_SNAPPY 0
++%define CONFIG_STARTCODE 1
++%define CONFIG_TEXTUREDSP 0
++%define CONFIG_TEXTUREDSPENC 0
++%define CONFIG_TPELDSP 0
++%define CONFIG_VIDEODSP 1
++%define CONFIG_VP3DSP 1
++%define CONFIG_VP56DSP 0
++%define CONFIG_VP8DSP 1
++%define CONFIG_WMA_FREQS 0
++%define CONFIG_WMV2DSP 0
++%define CONFIG_AAC_ADTSTOASC_BSF 0
++%define CONFIG_CHOMP_BSF 0
++%define CONFIG_DUMP_EXTRADATA_BSF 0
++%define CONFIG_H264_MP4TOANNEXB_BSF 0
++%define CONFIG_HEVC_MP4TOANNEXB_BSF 0
++%define CONFIG_IMX_DUMP_HEADER_BSF 0
++%define CONFIG_MJPEG2JPEG_BSF 0
++%define CONFIG_MJPEGA_DUMP_HEADER_BSF 0
++%define CONFIG_MP3_HEADER_DECOMPRESS_BSF 0
++%define CONFIG_MPEG4_UNPACK_BFRAMES_BSF 0
++%define CONFIG_MOV2TEXTSUB_BSF 0
++%define CONFIG_NOISE_BSF 0
++%define CONFIG_REMOVE_EXTRADATA_BSF 0
++%define CONFIG_TEXT2MOVSUB_BSF 0
++%define CONFIG_AASC_DECODER 0
++%define CONFIG_AIC_DECODER 0
++%define CONFIG_ALIAS_PIX_DECODER 0
++%define CONFIG_AMV_DECODER 0
++%define CONFIG_ANM_DECODER 0
++%define CONFIG_ANSI_DECODER 0
++%define CONFIG_APNG_DECODER 0
++%define CONFIG_ASV1_DECODER 0
++%define CONFIG_ASV2_DECODER 0
++%define CONFIG_AURA_DECODER 0
++%define CONFIG_AURA2_DECODER 0
++%define CONFIG_AVRP_DECODER 0
++%define CONFIG_AVRN_DECODER 0
++%define CONFIG_AVS_DECODER 0
++%define CONFIG_AVUI_DECODER 0
++%define CONFIG_AYUV_DECODER 0
++%define CONFIG_BETHSOFTVID_DECODER 0
++%define CONFIG_BFI_DECODER 0
++%define CONFIG_BINK_DECODER 0
++%define CONFIG_BMP_DECODER 0
++%define CONFIG_BMV_VIDEO_DECODER 0
++%define CONFIG_BRENDER_PIX_DECODER 0
++%define CONFIG_C93_DECODER 0
++%define CONFIG_CAVS_DECODER 0
++%define CONFIG_CDGRAPHICS_DECODER 0
++%define CONFIG_CDXL_DECODER 0
++%define CONFIG_CINEPAK_DECODER 0
++%define CONFIG_CLJR_DECODER 0
++%define CONFIG_CLLC_DECODER 0
++%define CONFIG_COMFORTNOISE_DECODER 0
++%define CONFIG_CPIA_DECODER 0
++%define CONFIG_CSCD_DECODER 0
++%define CONFIG_CYUV_DECODER 0
++%define CONFIG_DDS_DECODER 0
++%define CONFIG_DFA_DECODER 0
++%define CONFIG_DIRAC_DECODER 0
++%define CONFIG_DNXHD_DECODER 0
++%define CONFIG_DPX_DECODER 0
++%define CONFIG_DSICINVIDEO_DECODER 0
++%define CONFIG_DVVIDEO_DECODER 0
++%define CONFIG_DXA_DECODER 0
++%define CONFIG_DXTORY_DECODER 0
++%define CONFIG_DXV_DECODER 0
++%define CONFIG_EACMV_DECODER 0
++%define CONFIG_EAMAD_DECODER 0
++%define CONFIG_EATGQ_DECODER 0
++%define CONFIG_EATGV_DECODER 0
++%define CONFIG_EATQI_DECODER 0
++%define CONFIG_EIGHTBPS_DECODER 0
++%define CONFIG_EIGHTSVX_EXP_DECODER 0
++%define CONFIG_EIGHTSVX_FIB_DECODER 0
++%define CONFIG_ESCAPE124_DECODER 0
++%define CONFIG_ESCAPE130_DECODER 0
++%define CONFIG_EXR_DECODER 0
++%define CONFIG_FFV1_DECODER 0
++%define CONFIG_FFVHUFF_DECODER 0
++%define CONFIG_FIC_DECODER 0
++%define CONFIG_FLASHSV_DECODER 0
++%define CONFIG_FLASHSV2_DECODER 0
++%define CONFIG_FLIC_DECODER 0
++%define CONFIG_FLV_DECODER 0
++%define CONFIG_FOURXM_DECODER 0
++%define CONFIG_FRAPS_DECODER 0
++%define CONFIG_FRWU_DECODER 0
++%define CONFIG_G2M_DECODER 0
++%define CONFIG_GIF_DECODER 0
++%define CONFIG_H261_DECODER 0
++%define CONFIG_H263_DECODER 0
++%define CONFIG_H263I_DECODER 0
++%define CONFIG_H263P_DECODER 0
++%define CONFIG_H264_DECODER 1
++%define CONFIG_H264_CRYSTALHD_DECODER 0
++%define CONFIG_H264_MMAL_DECODER 0
++%define CONFIG_H264_QSV_DECODER 0
++%define CONFIG_H264_VDA_DECODER 0
++%define CONFIG_H264_VDPAU_DECODER 0
++%define CONFIG_HAP_DECODER 0
++%define CONFIG_HEVC_DECODER 0
++%define CONFIG_HEVC_QSV_DECODER 0
++%define CONFIG_HNM4_VIDEO_DECODER 0
++%define CONFIG_HQ_HQA_DECODER 0
++%define CONFIG_HQX_DECODER 0
++%define CONFIG_HUFFYUV_DECODER 0
++%define CONFIG_IDCIN_DECODER 0
++%define CONFIG_IFF_ILBM_DECODER 0
++%define CONFIG_INDEO2_DECODER 0
++%define CONFIG_INDEO3_DECODER 0
++%define CONFIG_INDEO4_DECODER 0
++%define CONFIG_INDEO5_DECODER 0
++%define CONFIG_INTERPLAY_VIDEO_DECODER 0
++%define CONFIG_JPEG2000_DECODER 0
++%define CONFIG_JPEGLS_DECODER 0
++%define CONFIG_JV_DECODER 0
++%define CONFIG_KGV1_DECODER 0
++%define CONFIG_KMVC_DECODER 0
++%define CONFIG_LAGARITH_DECODER 0
++%define CONFIG_LOCO_DECODER 0
++%define CONFIG_MDEC_DECODER 0
++%define CONFIG_MIMIC_DECODER 0
++%define CONFIG_MJPEG_DECODER 0
++%define CONFIG_MJPEGB_DECODER 0
++%define CONFIG_MMVIDEO_DECODER 0
++%define CONFIG_MOTIONPIXELS_DECODER 0
++%define CONFIG_MPEG_XVMC_DECODER 0
++%define CONFIG_MPEG1VIDEO_DECODER 0
++%define CONFIG_MPEG2VIDEO_DECODER 0
++%define CONFIG_MPEG4_DECODER 0
++%define CONFIG_MPEG4_CRYSTALHD_DECODER 0
++%define CONFIG_MPEG4_VDPAU_DECODER 0
++%define CONFIG_MPEGVIDEO_DECODER 0
++%define CONFIG_MPEG_VDPAU_DECODER 0
++%define CONFIG_MPEG1_VDPAU_DECODER 0
++%define CONFIG_MPEG2_MMAL_DECODER 0
++%define CONFIG_MPEG2_CRYSTALHD_DECODER 0
++%define CONFIG_MPEG2_QSV_DECODER 0
++%define CONFIG_MSA1_DECODER 0
++%define CONFIG_MSMPEG4_CRYSTALHD_DECODER 0
++%define CONFIG_MSMPEG4V1_DECODER 0
++%define CONFIG_MSMPEG4V2_DECODER 0
++%define CONFIG_MSMPEG4V3_DECODER 0
++%define CONFIG_MSRLE_DECODER 0
++%define CONFIG_MSS1_DECODER 0
++%define CONFIG_MSS2_DECODER 0
++%define CONFIG_MSVIDEO1_DECODER 0
++%define CONFIG_MSZH_DECODER 0
++%define CONFIG_MTS2_DECODER 0
++%define CONFIG_MVC1_DECODER 0
++%define CONFIG_MVC2_DECODER 0
++%define CONFIG_MXPEG_DECODER 0
++%define CONFIG_NUV_DECODER 0
++%define CONFIG_PAF_VIDEO_DECODER 0
++%define CONFIG_PAM_DECODER 0
++%define CONFIG_PBM_DECODER 0
++%define CONFIG_PCX_DECODER 0
++%define CONFIG_PGM_DECODER 0
++%define CONFIG_PGMYUV_DECODER 0
++%define CONFIG_PICTOR_DECODER 0
++%define CONFIG_PNG_DECODER 0
++%define CONFIG_PPM_DECODER 0
++%define CONFIG_PRORES_DECODER 0
++%define CONFIG_PRORES_LGPL_DECODER 0
++%define CONFIG_PTX_DECODER 0
++%define CONFIG_QDRAW_DECODER 0
++%define CONFIG_QPEG_DECODER 0
++%define CONFIG_QTRLE_DECODER 0
++%define CONFIG_R10K_DECODER 0
++%define CONFIG_R210_DECODER 0
++%define CONFIG_RAWVIDEO_DECODER 0
++%define CONFIG_RL2_DECODER 0
++%define CONFIG_ROQ_DECODER 0
++%define CONFIG_RPZA_DECODER 0
++%define CONFIG_RSCC_DECODER 0
++%define CONFIG_RV10_DECODER 0
++%define CONFIG_RV20_DECODER 0
++%define CONFIG_RV30_DECODER 0
++%define CONFIG_RV40_DECODER 0
++%define CONFIG_S302M_DECODER 0
++%define CONFIG_SANM_DECODER 0
++%define CONFIG_SCREENPRESSO_DECODER 0
++%define CONFIG_SDX2_DPCM_DECODER 0
++%define CONFIG_SGI_DECODER 0
++%define CONFIG_SGIRLE_DECODER 0
++%define CONFIG_SMACKER_DECODER 0
++%define CONFIG_SMC_DECODER 0
++%define CONFIG_SMVJPEG_DECODER 0
++%define CONFIG_SNOW_DECODER 0
++%define CONFIG_SP5X_DECODER 0
++%define CONFIG_SUNRAST_DECODER 0
++%define CONFIG_SVQ1_DECODER 0
++%define CONFIG_SVQ3_DECODER 0
++%define CONFIG_TARGA_DECODER 0
++%define CONFIG_TARGA_Y216_DECODER 0
++%define CONFIG_TDSC_DECODER 0
++%define CONFIG_THEORA_DECODER 1
++%define CONFIG_THP_DECODER 0
++%define CONFIG_TIERTEXSEQVIDEO_DECODER 0
++%define CONFIG_TIFF_DECODER 0
++%define CONFIG_TMV_DECODER 0
++%define CONFIG_TRUEMOTION1_DECODER 0
++%define CONFIG_TRUEMOTION2_DECODER 0
++%define CONFIG_TSCC_DECODER 0
++%define CONFIG_TSCC2_DECODER 0
++%define CONFIG_TXD_DECODER 0
++%define CONFIG_ULTI_DECODER 0
++%define CONFIG_UTVIDEO_DECODER 0
++%define CONFIG_V210_DECODER 0
++%define CONFIG_V210X_DECODER 0
++%define CONFIG_V308_DECODER 0
++%define CONFIG_V408_DECODER 0
++%define CONFIG_V410_DECODER 0
++%define CONFIG_VB_DECODER 0
++%define CONFIG_VBLE_DECODER 0
++%define CONFIG_VC1_DECODER 0
++%define CONFIG_VC1_CRYSTALHD_DECODER 0
++%define CONFIG_VC1_VDPAU_DECODER 0
++%define CONFIG_VC1IMAGE_DECODER 0
++%define CONFIG_VC1_QSV_DECODER 0
++%define CONFIG_VCR1_DECODER 0
++%define CONFIG_VMDVIDEO_DECODER 0
++%define CONFIG_VMNC_DECODER 0
++%define CONFIG_VP3_DECODER 1
++%define CONFIG_VP5_DECODER 0
++%define CONFIG_VP6_DECODER 0
++%define CONFIG_VP6A_DECODER 0
++%define CONFIG_VP6F_DECODER 0
++%define CONFIG_VP7_DECODER 0
++%define CONFIG_VP8_DECODER 1
++%define CONFIG_VP9_DECODER 0
++%define CONFIG_VQA_DECODER 0
++%define CONFIG_WEBP_DECODER 0
++%define CONFIG_WMV1_DECODER 0
++%define CONFIG_WMV2_DECODER 0
++%define CONFIG_WMV3_DECODER 0
++%define CONFIG_WMV3_CRYSTALHD_DECODER 0
++%define CONFIG_WMV3_VDPAU_DECODER 0
++%define CONFIG_WMV3IMAGE_DECODER 0
++%define CONFIG_WNV1_DECODER 0
++%define CONFIG_XAN_WC3_DECODER 0
++%define CONFIG_XAN_WC4_DECODER 0
++%define CONFIG_XBM_DECODER 0
++%define CONFIG_XFACE_DECODER 0
++%define CONFIG_XL_DECODER 0
++%define CONFIG_XWD_DECODER 0
++%define CONFIG_Y41P_DECODER 0
++%define CONFIG_YOP_DECODER 0
++%define CONFIG_YUV4_DECODER 0
++%define CONFIG_ZERO12V_DECODER 0
++%define CONFIG_ZEROCODEC_DECODER 0
++%define CONFIG_ZLIB_DECODER 0
++%define CONFIG_ZMBV_DECODER 0
++%define CONFIG_AAC_DECODER 1
++%define CONFIG_AAC_FIXED_DECODER 0
++%define CONFIG_AAC_LATM_DECODER 0
++%define CONFIG_AC3_DECODER 0
++%define CONFIG_AC3_FIXED_DECODER 0
++%define CONFIG_ALAC_DECODER 0
++%define CONFIG_ALS_DECODER 0
++%define CONFIG_AMRNB_DECODER 0
++%define CONFIG_AMRWB_DECODER 0
++%define CONFIG_APE_DECODER 0
++%define CONFIG_ATRAC1_DECODER 0
++%define CONFIG_ATRAC3_DECODER 0
++%define CONFIG_ATRAC3P_DECODER 0
++%define CONFIG_BINKAUDIO_DCT_DECODER 0
++%define CONFIG_BINKAUDIO_RDFT_DECODER 0
++%define CONFIG_BMV_AUDIO_DECODER 0
++%define CONFIG_COOK_DECODER 0
++%define CONFIG_DCA_DECODER 0
++%define CONFIG_DSD_LSBF_DECODER 0
++%define CONFIG_DSD_MSBF_DECODER 0
++%define CONFIG_DSD_LSBF_PLANAR_DECODER 0
++%define CONFIG_DSD_MSBF_PLANAR_DECODER 0
++%define CONFIG_DSICINAUDIO_DECODER 0
++%define CONFIG_DSS_SP_DECODER 0
++%define CONFIG_EAC3_DECODER 0
++%define CONFIG_EVRC_DECODER 0
++%define CONFIG_FFWAVESYNTH_DECODER 0
++%define CONFIG_FLAC_DECODER 0
++%define CONFIG_G723_1_DECODER 0
++%define CONFIG_G729_DECODER 0
++%define CONFIG_GSM_DECODER 0
++%define CONFIG_GSM_MS_DECODER 0
++%define CONFIG_IAC_DECODER 0
++%define CONFIG_IMC_DECODER 0
++%define CONFIG_INTERPLAY_ACM_DECODER 0
++%define CONFIG_MACE3_DECODER 0
++%define CONFIG_MACE6_DECODER 0
++%define CONFIG_METASOUND_DECODER 0
++%define CONFIG_MLP_DECODER 0
++%define CONFIG_MP1_DECODER 0
++%define CONFIG_MP1FLOAT_DECODER 0
++%define CONFIG_MP2_DECODER 0
++%define CONFIG_MP2FLOAT_DECODER 0
++%define CONFIG_MP3_DECODER 1
++%define CONFIG_MP3FLOAT_DECODER 0
++%define CONFIG_MP3ADU_DECODER 0
++%define CONFIG_MP3ADUFLOAT_DECODER 0
++%define CONFIG_MP3ON4_DECODER 0
++%define CONFIG_MP3ON4FLOAT_DECODER 0
++%define CONFIG_MPC7_DECODER 0
++%define CONFIG_MPC8_DECODER 0
++%define CONFIG_NELLYMOSER_DECODER 0
++%define CONFIG_ON2AVC_DECODER 0
++%define CONFIG_OPUS_DECODER 0
++%define CONFIG_PAF_AUDIO_DECODER 0
++%define CONFIG_QCELP_DECODER 0
++%define CONFIG_QDM2_DECODER 0
++%define CONFIG_RA_144_DECODER 0
++%define CONFIG_RA_288_DECODER 0
++%define CONFIG_RALF_DECODER 0
++%define CONFIG_SHORTEN_DECODER 0
++%define CONFIG_SIPR_DECODER 0
++%define CONFIG_SMACKAUD_DECODER 0
++%define CONFIG_SONIC_DECODER 0
++%define CONFIG_TAK_DECODER 0
++%define CONFIG_TRUEHD_DECODER 0
++%define CONFIG_TRUESPEECH_DECODER 0
++%define CONFIG_TTA_DECODER 0
++%define CONFIG_TWINVQ_DECODER 0
++%define CONFIG_VMDAUDIO_DECODER 0
++%define CONFIG_VORBIS_DECODER 1
++%define CONFIG_WAVPACK_DECODER 0
++%define CONFIG_WMALOSSLESS_DECODER 0
++%define CONFIG_WMAPRO_DECODER 0
++%define CONFIG_WMAV1_DECODER 0
++%define CONFIG_WMAV2_DECODER 0
++%define CONFIG_WMAVOICE_DECODER 0
++%define CONFIG_WS_SND1_DECODER 0
++%define CONFIG_PCM_ALAW_DECODER 1
++%define CONFIG_PCM_BLURAY_DECODER 0
++%define CONFIG_PCM_DVD_DECODER 0
++%define CONFIG_PCM_F32BE_DECODER 0
++%define CONFIG_PCM_F32LE_DECODER 1
++%define CONFIG_PCM_F64BE_DECODER 0
++%define CONFIG_PCM_F64LE_DECODER 0
++%define CONFIG_PCM_LXF_DECODER 0
++%define CONFIG_PCM_MULAW_DECODER 1
++%define CONFIG_PCM_S8_DECODER 0
++%define CONFIG_PCM_S8_PLANAR_DECODER 0
++%define CONFIG_PCM_S16BE_DECODER 1
++%define CONFIG_PCM_S16BE_PLANAR_DECODER 0
++%define CONFIG_PCM_S16LE_DECODER 1
++%define CONFIG_PCM_S16LE_PLANAR_DECODER 0
++%define CONFIG_PCM_S24BE_DECODER 1
++%define CONFIG_PCM_S24DAUD_DECODER 0
++%define CONFIG_PCM_S24LE_DECODER 1
++%define CONFIG_PCM_S24LE_PLANAR_DECODER 0
++%define CONFIG_PCM_S32BE_DECODER 0
++%define CONFIG_PCM_S32LE_DECODER 0
++%define CONFIG_PCM_S32LE_PLANAR_DECODER 0
++%define CONFIG_PCM_U8_DECODER 1
++%define CONFIG_PCM_U16BE_DECODER 0
++%define CONFIG_PCM_U16LE_DECODER 0
++%define CONFIG_PCM_U24BE_DECODER 0
++%define CONFIG_PCM_U24LE_DECODER 0
++%define CONFIG_PCM_U32BE_DECODER 0
++%define CONFIG_PCM_U32LE_DECODER 0
++%define CONFIG_PCM_ZORK_DECODER 0
++%define CONFIG_INTERPLAY_DPCM_DECODER 0
++%define CONFIG_ROQ_DPCM_DECODER 0
++%define CONFIG_SOL_DPCM_DECODER 0
++%define CONFIG_XAN_DPCM_DECODER 0
++%define CONFIG_ADPCM_4XM_DECODER 0
++%define CONFIG_ADPCM_ADX_DECODER 0
++%define CONFIG_ADPCM_AFC_DECODER 0
++%define CONFIG_ADPCM_AICA_DECODER 0
++%define CONFIG_ADPCM_CT_DECODER 0
++%define CONFIG_ADPCM_DTK_DECODER 0
++%define CONFIG_ADPCM_EA_DECODER 0
++%define CONFIG_ADPCM_EA_MAXIS_XA_DECODER 0
++%define CONFIG_ADPCM_EA_R1_DECODER 0
++%define CONFIG_ADPCM_EA_R2_DECODER 0
++%define CONFIG_ADPCM_EA_R3_DECODER 0
++%define CONFIG_ADPCM_EA_XAS_DECODER 0
++%define CONFIG_ADPCM_G722_DECODER 0
++%define CONFIG_ADPCM_G726_DECODER 0
++%define CONFIG_ADPCM_G726LE_DECODER 0
++%define CONFIG_ADPCM_IMA_AMV_DECODER 0
++%define CONFIG_ADPCM_IMA_APC_DECODER 0
++%define CONFIG_ADPCM_IMA_DK3_DECODER 0
++%define CONFIG_ADPCM_IMA_DK4_DECODER 0
++%define CONFIG_ADPCM_IMA_EA_EACS_DECODER 0
++%define CONFIG_ADPCM_IMA_EA_SEAD_DECODER 0
++%define CONFIG_ADPCM_IMA_ISS_DECODER 0
++%define CONFIG_ADPCM_IMA_OKI_DECODER 0
++%define CONFIG_ADPCM_IMA_QT_DECODER 0
++%define CONFIG_ADPCM_IMA_RAD_DECODER 0
++%define CONFIG_ADPCM_IMA_SMJPEG_DECODER 0
++%define CONFIG_ADPCM_IMA_WAV_DECODER 0
++%define CONFIG_ADPCM_IMA_WS_DECODER 0
++%define CONFIG_ADPCM_MS_DECODER 0
++%define CONFIG_ADPCM_PSX_DECODER 0
++%define CONFIG_ADPCM_SBPRO_2_DECODER 0
++%define CONFIG_ADPCM_SBPRO_3_DECODER 0
++%define CONFIG_ADPCM_SBPRO_4_DECODER 0
++%define CONFIG_ADPCM_SWF_DECODER 0
++%define CONFIG_ADPCM_THP_DECODER 0
++%define CONFIG_ADPCM_THP_LE_DECODER 0
++%define CONFIG_ADPCM_VIMA_DECODER 0
++%define CONFIG_ADPCM_XA_DECODER 0
++%define CONFIG_ADPCM_YAMAHA_DECODER 0
++%define CONFIG_SSA_DECODER 0
++%define CONFIG_ASS_DECODER 0
++%define CONFIG_CCAPTION_DECODER 0
++%define CONFIG_DVBSUB_DECODER 0
++%define CONFIG_DVDSUB_DECODER 0
++%define CONFIG_JACOSUB_DECODER 0
++%define CONFIG_MICRODVD_DECODER 0
++%define CONFIG_MOVTEXT_DECODER 0
++%define CONFIG_MPL2_DECODER 0
++%define CONFIG_PGSSUB_DECODER 0
++%define CONFIG_PJS_DECODER 0
++%define CONFIG_REALTEXT_DECODER 0
++%define CONFIG_SAMI_DECODER 0
++%define CONFIG_SRT_DECODER 0
++%define CONFIG_STL_DECODER 0
++%define CONFIG_SUBRIP_DECODER 0
++%define CONFIG_SUBVIEWER_DECODER 0
++%define CONFIG_SUBVIEWER1_DECODER 0
++%define CONFIG_TEXT_DECODER 0
++%define CONFIG_VPLAYER_DECODER 0
++%define CONFIG_WEBVTT_DECODER 0
++%define CONFIG_XSUB_DECODER 0
++%define CONFIG_LIBCELT_DECODER 0
++%define CONFIG_LIBDCADEC_DECODER 0
++%define CONFIG_LIBFDK_AAC_DECODER 0
++%define CONFIG_LIBGSM_DECODER 0
++%define CONFIG_LIBGSM_MS_DECODER 0
++%define CONFIG_LIBILBC_DECODER 0
++%define CONFIG_LIBOPENCORE_AMRNB_DECODER 0
++%define CONFIG_LIBOPENCORE_AMRWB_DECODER 0
++%define CONFIG_LIBOPENJPEG_DECODER 0
++%define CONFIG_LIBOPUS_DECODER 0
++%define CONFIG_LIBSCHROEDINGER_DECODER 0
++%define CONFIG_LIBSPEEX_DECODER 0
++%define CONFIG_LIBSTAGEFRIGHT_H264_DECODER 0
++%define CONFIG_LIBUTVIDEO_DECODER 0
++%define CONFIG_LIBVORBIS_DECODER 0
++%define CONFIG_LIBVPX_VP8_DECODER 0
++%define CONFIG_LIBVPX_VP9_DECODER 0
++%define CONFIG_LIBZVBI_TELETEXT_DECODER 0
++%define CONFIG_BINTEXT_DECODER 0
++%define CONFIG_XBIN_DECODER 0
++%define CONFIG_IDF_DECODER 0
++%define CONFIG_AA_DEMUXER 0
++%define CONFIG_AAC_DEMUXER 1
++%define CONFIG_AC3_DEMUXER 0
++%define CONFIG_ACM_DEMUXER 0
++%define CONFIG_ACT_DEMUXER 0
++%define CONFIG_ADF_DEMUXER 0
++%define CONFIG_ADP_DEMUXER 0
++%define CONFIG_ADS_DEMUXER 0
++%define CONFIG_ADX_DEMUXER 0
++%define CONFIG_AEA_DEMUXER 0
++%define CONFIG_AFC_DEMUXER 0
++%define CONFIG_AIFF_DEMUXER 0
++%define CONFIG_AMR_DEMUXER 0
++%define CONFIG_ANM_DEMUXER 0
++%define CONFIG_APC_DEMUXER 0
++%define CONFIG_APE_DEMUXER 0
++%define CONFIG_APNG_DEMUXER 0
++%define CONFIG_AQTITLE_DEMUXER 0
++%define CONFIG_ASF_DEMUXER 0
++%define CONFIG_ASF_O_DEMUXER 0
++%define CONFIG_ASS_DEMUXER 0
++%define CONFIG_AST_DEMUXER 0
++%define CONFIG_AU_DEMUXER 0
++%define CONFIG_AVI_DEMUXER 0
++%define CONFIG_AVISYNTH_DEMUXER 0
++%define CONFIG_AVR_DEMUXER 0
++%define CONFIG_AVS_DEMUXER 0
++%define CONFIG_BETHSOFTVID_DEMUXER 0
++%define CONFIG_BFI_DEMUXER 0
++%define CONFIG_BINTEXT_DEMUXER 0
++%define CONFIG_BINK_DEMUXER 0
++%define CONFIG_BIT_DEMUXER 0
++%define CONFIG_BMV_DEMUXER 0
++%define CONFIG_BFSTM_DEMUXER 0
++%define CONFIG_BRSTM_DEMUXER 0
++%define CONFIG_BOA_DEMUXER 0
++%define CONFIG_C93_DEMUXER 0
++%define CONFIG_CAF_DEMUXER 0
++%define CONFIG_CAVSVIDEO_DEMUXER 0
++%define CONFIG_CDG_DEMUXER 0
++%define CONFIG_CDXL_DEMUXER 0
++%define CONFIG_CINE_DEMUXER 0
++%define CONFIG_CONCAT_DEMUXER 0
++%define CONFIG_DATA_DEMUXER 0
++%define CONFIG_DAUD_DEMUXER 0
++%define CONFIG_DCSTR_DEMUXER 0
++%define CONFIG_DFA_DEMUXER 0
++%define CONFIG_DIRAC_DEMUXER 0
++%define CONFIG_DNXHD_DEMUXER 0
++%define CONFIG_DSF_DEMUXER 0
++%define CONFIG_DSICIN_DEMUXER 0
++%define CONFIG_DSS_DEMUXER 0
++%define CONFIG_DTS_DEMUXER 0
++%define CONFIG_DTSHD_DEMUXER 0
++%define CONFIG_DV_DEMUXER 0
++%define CONFIG_DVBSUB_DEMUXER 0
++%define CONFIG_DXA_DEMUXER 0
++%define CONFIG_EA_DEMUXER 0
++%define CONFIG_EA_CDATA_DEMUXER 0
++%define CONFIG_EAC3_DEMUXER 0
++%define CONFIG_EPAF_DEMUXER 0
++%define CONFIG_FFM_DEMUXER 0
++%define CONFIG_FFMETADATA_DEMUXER 0
++%define CONFIG_FILMSTRIP_DEMUXER 0
++%define CONFIG_FLAC_DEMUXER 0
++%define CONFIG_FLIC_DEMUXER 0
++%define CONFIG_FLV_DEMUXER 0
++%define CONFIG_LIVE_FLV_DEMUXER 0
++%define CONFIG_FOURXM_DEMUXER 0
++%define CONFIG_FRM_DEMUXER 0
++%define CONFIG_G722_DEMUXER 0
++%define CONFIG_G723_1_DEMUXER 0
++%define CONFIG_G729_DEMUXER 0
++%define CONFIG_GENH_DEMUXER 0
++%define CONFIG_GIF_DEMUXER 0
++%define CONFIG_GSM_DEMUXER 0
++%define CONFIG_GXF_DEMUXER 0
++%define CONFIG_H261_DEMUXER 0
++%define CONFIG_H263_DEMUXER 0
++%define CONFIG_H264_DEMUXER 0
++%define CONFIG_HEVC_DEMUXER 0
++%define CONFIG_HLS_DEMUXER 0
++%define CONFIG_HNM_DEMUXER 0
++%define CONFIG_ICO_DEMUXER 0
++%define CONFIG_IDCIN_DEMUXER 0
++%define CONFIG_IDF_DEMUXER 0
++%define CONFIG_IFF_DEMUXER 0
++%define CONFIG_ILBC_DEMUXER 0
++%define CONFIG_IMAGE2_DEMUXER 0
++%define CONFIG_IMAGE2PIPE_DEMUXER 0
++%define CONFIG_IMAGE2_ALIAS_PIX_DEMUXER 0
++%define CONFIG_IMAGE2_BRENDER_PIX_DEMUXER 0
++%define CONFIG_INGENIENT_DEMUXER 0
++%define CONFIG_IPMOVIE_DEMUXER 0
++%define CONFIG_IRCAM_DEMUXER 0
++%define CONFIG_ISS_DEMUXER 0
++%define CONFIG_IV8_DEMUXER 0
++%define CONFIG_IVF_DEMUXER 0
++%define CONFIG_JACOSUB_DEMUXER 0
++%define CONFIG_JV_DEMUXER 0
++%define CONFIG_LMLM4_DEMUXER 0
++%define CONFIG_LOAS_DEMUXER 0
++%define CONFIG_LRC_DEMUXER 0
++%define CONFIG_LVF_DEMUXER 0
++%define CONFIG_LXF_DEMUXER 0
++%define CONFIG_M4V_DEMUXER 0
++%define CONFIG_MATROSKA_DEMUXER 1
++%define CONFIG_MGSTS_DEMUXER 0
++%define CONFIG_MICRODVD_DEMUXER 0
++%define CONFIG_MJPEG_DEMUXER 0
++%define CONFIG_MLP_DEMUXER 0
++%define CONFIG_MLV_DEMUXER 0
++%define CONFIG_MM_DEMUXER 0
++%define CONFIG_MMF_DEMUXER 0
++%define CONFIG_MOV_DEMUXER 1
++%define CONFIG_MP3_DEMUXER 1
++%define CONFIG_MPC_DEMUXER 0
++%define CONFIG_MPC8_DEMUXER 0
++%define CONFIG_MPEGPS_DEMUXER 0
++%define CONFIG_MPEGTS_DEMUXER 0
++%define CONFIG_MPEGTSRAW_DEMUXER 0
++%define CONFIG_MPEGVIDEO_DEMUXER 0
++%define CONFIG_MPJPEG_DEMUXER 0
++%define CONFIG_MPL2_DEMUXER 0
++%define CONFIG_MPSUB_DEMUXER 0
++%define CONFIG_MSF_DEMUXER 0
++%define CONFIG_MSNWC_TCP_DEMUXER 0
++%define CONFIG_MTV_DEMUXER 0
++%define CONFIG_MV_DEMUXER 0
++%define CONFIG_MVI_DEMUXER 0
++%define CONFIG_MXF_DEMUXER 0
++%define CONFIG_MXG_DEMUXER 0
++%define CONFIG_NC_DEMUXER 0
++%define CONFIG_NISTSPHERE_DEMUXER 0
++%define CONFIG_NSV_DEMUXER 0
++%define CONFIG_NUT_DEMUXER 0
++%define CONFIG_NUV_DEMUXER 0
++%define CONFIG_OGG_DEMUXER 1
++%define CONFIG_OMA_DEMUXER 0
++%define CONFIG_PAF_DEMUXER 0
++%define CONFIG_PCM_ALAW_DEMUXER 0
++%define CONFIG_PCM_MULAW_DEMUXER 0
++%define CONFIG_PCM_F64BE_DEMUXER 0
++%define CONFIG_PCM_F64LE_DEMUXER 0
++%define CONFIG_PCM_F32BE_DEMUXER 0
++%define CONFIG_PCM_F32LE_DEMUXER 0
++%define CONFIG_PCM_S32BE_DEMUXER 0
++%define CONFIG_PCM_S32LE_DEMUXER 0
++%define CONFIG_PCM_S24BE_DEMUXER 0
++%define CONFIG_PCM_S24LE_DEMUXER 0
++%define CONFIG_PCM_S16BE_DEMUXER 0
++%define CONFIG_PCM_S16LE_DEMUXER 0
++%define CONFIG_PCM_S8_DEMUXER 0
++%define CONFIG_PCM_U32BE_DEMUXER 0
++%define CONFIG_PCM_U32LE_DEMUXER 0
++%define CONFIG_PCM_U24BE_DEMUXER 0
++%define CONFIG_PCM_U24LE_DEMUXER 0
++%define CONFIG_PCM_U16BE_DEMUXER 0
++%define CONFIG_PCM_U16LE_DEMUXER 0
++%define CONFIG_PCM_U8_DEMUXER 0
++%define CONFIG_PJS_DEMUXER 0
++%define CONFIG_PMP_DEMUXER 0
++%define CONFIG_PVA_DEMUXER 0
++%define CONFIG_PVF_DEMUXER 0
++%define CONFIG_QCP_DEMUXER 0
++%define CONFIG_R3D_DEMUXER 0
++%define CONFIG_RAWVIDEO_DEMUXER 0
++%define CONFIG_REALTEXT_DEMUXER 0
++%define CONFIG_REDSPARK_DEMUXER 0
++%define CONFIG_RL2_DEMUXER 0
++%define CONFIG_RM_DEMUXER 0
++%define CONFIG_ROQ_DEMUXER 0
++%define CONFIG_RPL_DEMUXER 0
++%define CONFIG_RSD_DEMUXER 0
++%define CONFIG_RSO_DEMUXER 0
++%define CONFIG_RTP_DEMUXER 0
++%define CONFIG_RTSP_DEMUXER 0
++%define CONFIG_SAMI_DEMUXER 0
++%define CONFIG_SAP_DEMUXER 0
++%define CONFIG_SBG_DEMUXER 0
++%define CONFIG_SDP_DEMUXER 0
++%define CONFIG_SDR2_DEMUXER 0
++%define CONFIG_SEGAFILM_DEMUXER 0
++%define CONFIG_SHORTEN_DEMUXER 0
++%define CONFIG_SIFF_DEMUXER 0
++%define CONFIG_SLN_DEMUXER 0
++%define CONFIG_SMACKER_DEMUXER 0
++%define CONFIG_SMJPEG_DEMUXER 0
++%define CONFIG_SMUSH_DEMUXER 0
++%define CONFIG_SOL_DEMUXER 0
++%define CONFIG_SOX_DEMUXER 0
++%define CONFIG_SPDIF_DEMUXER 0
++%define CONFIG_SRT_DEMUXER 0
++%define CONFIG_STR_DEMUXER 0
++%define CONFIG_STL_DEMUXER 0
++%define CONFIG_SUBVIEWER1_DEMUXER 0
++%define CONFIG_SUBVIEWER_DEMUXER 0
++%define CONFIG_SUP_DEMUXER 0
++%define CONFIG_SVAG_DEMUXER 0
++%define CONFIG_SWF_DEMUXER 0
++%define CONFIG_TAK_DEMUXER 0
++%define CONFIG_TEDCAPTIONS_DEMUXER 0
++%define CONFIG_THP_DEMUXER 0
++%define CONFIG_THREEDOSTR_DEMUXER 0
++%define CONFIG_TIERTEXSEQ_DEMUXER 0
++%define CONFIG_TMV_DEMUXER 0
++%define CONFIG_TRUEHD_DEMUXER 0
++%define CONFIG_TTA_DEMUXER 0
++%define CONFIG_TXD_DEMUXER 0
++%define CONFIG_TTY_DEMUXER 0
++%define CONFIG_VAG_DEMUXER 0
++%define CONFIG_VC1_DEMUXER 0
++%define CONFIG_VC1T_DEMUXER 0
++%define CONFIG_VIVO_DEMUXER 0
++%define CONFIG_VMD_DEMUXER 0
++%define CONFIG_VOBSUB_DEMUXER 0
++%define CONFIG_VOC_DEMUXER 0
++%define CONFIG_VPLAYER_DEMUXER 0
++%define CONFIG_VQF_DEMUXER 0
++%define CONFIG_W64_DEMUXER 0
++%define CONFIG_WAV_DEMUXER 1
++%define CONFIG_WC3_DEMUXER 0
++%define CONFIG_WEBM_DASH_MANIFEST_DEMUXER 0
++%define CONFIG_WEBVTT_DEMUXER 0
++%define CONFIG_WSAUD_DEMUXER 0
++%define CONFIG_WSVQA_DEMUXER 0
++%define CONFIG_WTV_DEMUXER 0
++%define CONFIG_WVE_DEMUXER 0
++%define CONFIG_WV_DEMUXER 0
++%define CONFIG_XA_DEMUXER 0
++%define CONFIG_XBIN_DEMUXER 0
++%define CONFIG_XMV_DEMUXER 0
++%define CONFIG_XVAG_DEMUXER 0
++%define CONFIG_XWMA_DEMUXER 0
++%define CONFIG_YOP_DEMUXER 0
++%define CONFIG_YUV4MPEGPIPE_DEMUXER 0
++%define CONFIG_IMAGE_BMP_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_DDS_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_DPX_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_EXR_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_J2K_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_JPEG_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_JPEGLS_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_PICTOR_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_PNG_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_QDRAW_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_SGI_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_SUNRAST_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_TIFF_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_WEBP_PIPE_DEMUXER 0
++%define CONFIG_LIBGME_DEMUXER 0
++%define CONFIG_LIBMODPLUG_DEMUXER 0
++%define CONFIG_LIBNUT_DEMUXER 0
++%define CONFIG_LIBQUVI_DEMUXER 0
++%define CONFIG_A64MULTI_ENCODER 0
++%define CONFIG_A64MULTI5_ENCODER 0
++%define CONFIG_ALIAS_PIX_ENCODER 0
++%define CONFIG_AMV_ENCODER 0
++%define CONFIG_APNG_ENCODER 0
++%define CONFIG_ASV1_ENCODER 0
++%define CONFIG_ASV2_ENCODER 0
++%define CONFIG_AVRP_ENCODER 0
++%define CONFIG_AVUI_ENCODER 0
++%define CONFIG_AYUV_ENCODER 0
++%define CONFIG_BMP_ENCODER 0
++%define CONFIG_CINEPAK_ENCODER 0
++%define CONFIG_CLJR_ENCODER 0
++%define CONFIG_COMFORTNOISE_ENCODER 0
++%define CONFIG_DNXHD_ENCODER 0
++%define CONFIG_DPX_ENCODER 0
++%define CONFIG_DVVIDEO_ENCODER 0
++%define CONFIG_FFV1_ENCODER 0
++%define CONFIG_FFVHUFF_ENCODER 0
++%define CONFIG_FLASHSV_ENCODER 0
++%define CONFIG_FLASHSV2_ENCODER 0
++%define CONFIG_FLV_ENCODER 0
++%define CONFIG_GIF_ENCODER 0
++%define CONFIG_H261_ENCODER 0
++%define CONFIG_H263_ENCODER 0
++%define CONFIG_H263P_ENCODER 0
++%define CONFIG_HAP_ENCODER 0
++%define CONFIG_HUFFYUV_ENCODER 0
++%define CONFIG_JPEG2000_ENCODER 0
++%define CONFIG_JPEGLS_ENCODER 0
++%define CONFIG_LJPEG_ENCODER 0
++%define CONFIG_MJPEG_ENCODER 0
++%define CONFIG_MPEG1VIDEO_ENCODER 0
++%define CONFIG_MPEG2VIDEO_ENCODER 0
++%define CONFIG_MPEG4_ENCODER 0
++%define CONFIG_MSMPEG4V2_ENCODER 0
++%define CONFIG_MSMPEG4V3_ENCODER 0
++%define CONFIG_MSVIDEO1_ENCODER 0
++%define CONFIG_PAM_ENCODER 0
++%define CONFIG_PBM_ENCODER 0
++%define CONFIG_PCX_ENCODER 0
++%define CONFIG_PGM_ENCODER 0
++%define CONFIG_PGMYUV_ENCODER 0
++%define CONFIG_PNG_ENCODER 0
++%define CONFIG_PPM_ENCODER 0
++%define CONFIG_PRORES_ENCODER 0
++%define CONFIG_PRORES_AW_ENCODER 0
++%define CONFIG_PRORES_KS_ENCODER 0
++%define CONFIG_QTRLE_ENCODER 0
++%define CONFIG_R10K_ENCODER 0
++%define CONFIG_R210_ENCODER 0
++%define CONFIG_RAWVIDEO_ENCODER 0
++%define CONFIG_ROQ_ENCODER 0
++%define CONFIG_RV10_ENCODER 0
++%define CONFIG_RV20_ENCODER 0
++%define CONFIG_S302M_ENCODER 0
++%define CONFIG_SGI_ENCODER 0
++%define CONFIG_SNOW_ENCODER 0
++%define CONFIG_SUNRAST_ENCODER 0
++%define CONFIG_SVQ1_ENCODER 0
++%define CONFIG_TARGA_ENCODER 0
++%define CONFIG_TIFF_ENCODER 0
++%define CONFIG_UTVIDEO_ENCODER 0
++%define CONFIG_V210_ENCODER 0
++%define CONFIG_V308_ENCODER 0
++%define CONFIG_V408_ENCODER 0
++%define CONFIG_V410_ENCODER 0
++%define CONFIG_WRAPPED_AVFRAME_ENCODER 0
++%define CONFIG_WMV1_ENCODER 0
++%define CONFIG_WMV2_ENCODER 0
++%define CONFIG_XBM_ENCODER 0
++%define CONFIG_XFACE_ENCODER 0
++%define CONFIG_XWD_ENCODER 0
++%define CONFIG_Y41P_ENCODER 0
++%define CONFIG_YUV4_ENCODER 0
++%define CONFIG_ZLIB_ENCODER 0
++%define CONFIG_ZMBV_ENCODER 0
++%define CONFIG_AAC_ENCODER 0
++%define CONFIG_AC3_ENCODER 0
++%define CONFIG_AC3_FIXED_ENCODER 0
++%define CONFIG_ALAC_ENCODER 0
++%define CONFIG_DCA_ENCODER 0
++%define CONFIG_EAC3_ENCODER 0
++%define CONFIG_FLAC_ENCODER 0
++%define CONFIG_G723_1_ENCODER 0
++%define CONFIG_MP2_ENCODER 0
++%define CONFIG_MP2FIXED_ENCODER 0
++%define CONFIG_NELLYMOSER_ENCODER 0
++%define CONFIG_RA_144_ENCODER 0
++%define CONFIG_SONIC_ENCODER 0
++%define CONFIG_SONIC_LS_ENCODER 0
++%define CONFIG_TTA_ENCODER 0
++%define CONFIG_VORBIS_ENCODER 0
++%define CONFIG_WAVPACK_ENCODER 0
++%define CONFIG_WMAV1_ENCODER 0
++%define CONFIG_WMAV2_ENCODER 0
++%define CONFIG_PCM_ALAW_ENCODER 0
++%define CONFIG_PCM_F32BE_ENCODER 0
++%define CONFIG_PCM_F32LE_ENCODER 0
++%define CONFIG_PCM_F64BE_ENCODER 0
++%define CONFIG_PCM_F64LE_ENCODER 0
++%define CONFIG_PCM_MULAW_ENCODER 0
++%define CONFIG_PCM_S8_ENCODER 0
++%define CONFIG_PCM_S8_PLANAR_ENCODER 0
++%define CONFIG_PCM_S16BE_ENCODER 0
++%define CONFIG_PCM_S16BE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S16LE_ENCODER 0
++%define CONFIG_PCM_S16LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S24BE_ENCODER 0
++%define CONFIG_PCM_S24DAUD_ENCODER 0
++%define CONFIG_PCM_S24LE_ENCODER 0
++%define CONFIG_PCM_S24LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S32BE_ENCODER 0
++%define CONFIG_PCM_S32LE_ENCODER 0
++%define CONFIG_PCM_S32LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_U8_ENCODER 0
++%define CONFIG_PCM_U16BE_ENCODER 0
++%define CONFIG_PCM_U16LE_ENCODER 0
++%define CONFIG_PCM_U24BE_ENCODER 0
++%define CONFIG_PCM_U24LE_ENCODER 0
++%define CONFIG_PCM_U32BE_ENCODER 0
++%define CONFIG_PCM_U32LE_ENCODER 0
++%define CONFIG_ROQ_DPCM_ENCODER 0
++%define CONFIG_ADPCM_ADX_ENCODER 0
++%define CONFIG_ADPCM_G722_ENCODER 0
++%define CONFIG_ADPCM_G726_ENCODER 0
++%define CONFIG_ADPCM_IMA_QT_ENCODER 0
++%define CONFIG_ADPCM_IMA_WAV_ENCODER 0
++%define CONFIG_ADPCM_MS_ENCODER 0
++%define CONFIG_ADPCM_SWF_ENCODER 0
++%define CONFIG_ADPCM_YAMAHA_ENCODER 0
++%define CONFIG_SSA_ENCODER 0
++%define CONFIG_ASS_ENCODER 0
++%define CONFIG_DVBSUB_ENCODER 0
++%define CONFIG_DVDSUB_ENCODER 0
++%define CONFIG_MOVTEXT_ENCODER 0
++%define CONFIG_SRT_ENCODER 0
++%define CONFIG_SUBRIP_ENCODER 0
++%define CONFIG_WEBVTT_ENCODER 0
++%define CONFIG_XSUB_ENCODER 0
++%define CONFIG_LIBFAAC_ENCODER 0
++%define CONFIG_LIBFDK_AAC_ENCODER 0
++%define CONFIG_LIBGSM_ENCODER 0
++%define CONFIG_LIBGSM_MS_ENCODER 0
++%define CONFIG_LIBILBC_ENCODER 0
++%define CONFIG_LIBMP3LAME_ENCODER 0
++%define CONFIG_LIBOPENCORE_AMRNB_ENCODER 0
++%define CONFIG_LIBOPENJPEG_ENCODER 0
++%define CONFIG_LIBOPUS_ENCODER 0
++%define CONFIG_LIBSCHROEDINGER_ENCODER 0
++%define CONFIG_LIBSHINE_ENCODER 0
++%define CONFIG_LIBSPEEX_ENCODER 0
++%define CONFIG_LIBTHEORA_ENCODER 0
++%define CONFIG_LIBTWOLAME_ENCODER 0
++%define CONFIG_LIBUTVIDEO_ENCODER 0
++%define CONFIG_LIBVO_AACENC_ENCODER 0
++%define CONFIG_LIBVO_AMRWBENC_ENCODER 0
++%define CONFIG_LIBVORBIS_ENCODER 0
++%define CONFIG_LIBVPX_VP8_ENCODER 0
++%define CONFIG_LIBVPX_VP9_ENCODER 0
++%define CONFIG_LIBWAVPACK_ENCODER 0
++%define CONFIG_LIBWEBP_ANIM_ENCODER 0
++%define CONFIG_LIBWEBP_ENCODER 0
++%define CONFIG_LIBX262_ENCODER 0
++%define CONFIG_LIBX264_ENCODER 0
++%define CONFIG_LIBX264RGB_ENCODER 0
++%define CONFIG_LIBX265_ENCODER 0
++%define CONFIG_LIBXAVS_ENCODER 0
++%define CONFIG_LIBXVID_ENCODER 0
++%define CONFIG_LIBAACPLUS_ENCODER 0
++%define CONFIG_LIBOPENH264_ENCODER 0
++%define CONFIG_H264_QSV_ENCODER 0
++%define CONFIG_NVENC_ENCODER 0
++%define CONFIG_NVENC_H264_ENCODER 0
++%define CONFIG_NVENC_HEVC_ENCODER 0
++%define CONFIG_HEVC_QSV_ENCODER 0
++%define CONFIG_LIBKVAZAAR_ENCODER 0
++%define CONFIG_MPEG2_QSV_ENCODER 0
++%define CONFIG_ACROSSFADE_FILTER 0
++%define CONFIG_ADELAY_FILTER 0
++%define CONFIG_AECHO_FILTER 0
++%define CONFIG_AEVAL_FILTER 0
++%define CONFIG_AFADE_FILTER 0
++%define CONFIG_AFORMAT_FILTER 0
++%define CONFIG_AGATE_FILTER 0
++%define CONFIG_AINTERLEAVE_FILTER 0
++%define CONFIG_ALIMITER_FILTER 0
++%define CONFIG_ALLPASS_FILTER 0
++%define CONFIG_AMERGE_FILTER 0
++%define CONFIG_AMIX_FILTER 0
++%define CONFIG_ANULL_FILTER 0
++%define CONFIG_APAD_FILTER 0
++%define CONFIG_APERMS_FILTER 0
++%define CONFIG_APHASER_FILTER 0
++%define CONFIG_ARESAMPLE_FILTER 0
++%define CONFIG_AREVERSE_FILTER 0
++%define CONFIG_ASELECT_FILTER 0
++%define CONFIG_ASENDCMD_FILTER 0
++%define CONFIG_ASETNSAMPLES_FILTER 0
++%define CONFIG_ASETPTS_FILTER 0
++%define CONFIG_ASETRATE_FILTER 0
++%define CONFIG_ASETTB_FILTER 0
++%define CONFIG_ASHOWINFO_FILTER 0
++%define CONFIG_ASPLIT_FILTER 0
++%define CONFIG_ASTATS_FILTER 0
++%define CONFIG_ASTREAMSYNC_FILTER 0
++%define CONFIG_ASYNCTS_FILTER 0
++%define CONFIG_ATEMPO_FILTER 0
++%define CONFIG_ATRIM_FILTER 0
++%define CONFIG_AZMQ_FILTER 0
++%define CONFIG_BANDPASS_FILTER 0
++%define CONFIG_BANDREJECT_FILTER 0
++%define CONFIG_BASS_FILTER 0
++%define CONFIG_BIQUAD_FILTER 0
++%define CONFIG_BS2B_FILTER 0
++%define CONFIG_CHANNELMAP_FILTER 0
++%define CONFIG_CHANNELSPLIT_FILTER 0
++%define CONFIG_CHORUS_FILTER 0
++%define CONFIG_COMPAND_FILTER 0
++%define CONFIG_DCSHIFT_FILTER 0
++%define CONFIG_DYNAUDNORM_FILTER 0
++%define CONFIG_EARWAX_FILTER 0
++%define CONFIG_EBUR128_FILTER 0
++%define CONFIG_EQUALIZER_FILTER 0
++%define CONFIG_EXTRASTEREO_FILTER 0
++%define CONFIG_FLANGER_FILTER 0
++%define CONFIG_HIGHPASS_FILTER 0
++%define CONFIG_JOIN_FILTER 0
++%define CONFIG_LADSPA_FILTER 0
++%define CONFIG_LOWPASS_FILTER 0
++%define CONFIG_PAN_FILTER 0
++%define CONFIG_REPLAYGAIN_FILTER 0
++%define CONFIG_RESAMPLE_FILTER 0
++%define CONFIG_RUBBERBAND_FILTER 0
++%define CONFIG_SIDECHAINCOMPRESS_FILTER 0
++%define CONFIG_SILENCEDETECT_FILTER 0
++%define CONFIG_SILENCEREMOVE_FILTER 0
++%define CONFIG_STEREOTOOLS_FILTER 0
++%define CONFIG_STEREOWIDEN_FILTER 0
++%define CONFIG_TREBLE_FILTER 0
++%define CONFIG_TREMOLO_FILTER 0
++%define CONFIG_VIBRATO_FILTER 0
++%define CONFIG_VOLUME_FILTER 0
++%define CONFIG_VOLUMEDETECT_FILTER 0
++%define CONFIG_AEVALSRC_FILTER 0
++%define CONFIG_ANULLSRC_FILTER 0
++%define CONFIG_FLITE_FILTER 0
++%define CONFIG_SINE_FILTER 0
++%define CONFIG_ANULLSINK_FILTER 0
++%define CONFIG_ALPHAEXTRACT_FILTER 0
++%define CONFIG_ALPHAMERGE_FILTER 0
++%define CONFIG_ATADENOISE_FILTER 0
++%define CONFIG_ASS_FILTER 0
++%define CONFIG_BBOX_FILTER 0
++%define CONFIG_BLACKDETECT_FILTER 0
++%define CONFIG_BLACKFRAME_FILTER 0
++%define CONFIG_BLEND_FILTER 0
++%define CONFIG_BOXBLUR_FILTER 0
++%define CONFIG_CHROMAKEY_FILTER 0
++%define CONFIG_CODECVIEW_FILTER 0
++%define CONFIG_COLORBALANCE_FILTER 0
++%define CONFIG_COLORCHANNELMIXER_FILTER 0
++%define CONFIG_COLORKEY_FILTER 0
++%define CONFIG_COLORLEVELS_FILTER 0
++%define CONFIG_COLORMATRIX_FILTER 0
++%define CONFIG_COPY_FILTER 0
++%define CONFIG_COVER_RECT_FILTER 0
++%define CONFIG_CROP_FILTER 0
++%define CONFIG_CROPDETECT_FILTER 0
++%define CONFIG_CURVES_FILTER 0
++%define CONFIG_DCTDNOIZ_FILTER 0
++%define CONFIG_DEBAND_FILTER 0
++%define CONFIG_DECIMATE_FILTER 0
++%define CONFIG_DEFLATE_FILTER 0
++%define CONFIG_DEJUDDER_FILTER 0
++%define CONFIG_DELOGO_FILTER 0
++%define CONFIG_DESHAKE_FILTER 0
++%define CONFIG_DETELECINE_FILTER 0
++%define CONFIG_DILATION_FILTER 0
++%define CONFIG_DISPLACE_FILTER 0
++%define CONFIG_DRAWBOX_FILTER 0
++%define CONFIG_DRAWGRAPH_FILTER 0
++%define CONFIG_DRAWGRID_FILTER 0
++%define CONFIG_DRAWTEXT_FILTER 0
++%define CONFIG_EDGEDETECT_FILTER 0
++%define CONFIG_ELBG_FILTER 0
++%define CONFIG_EQ_FILTER 0
++%define CONFIG_EROSION_FILTER 0
++%define CONFIG_EXTRACTPLANES_FILTER 0
++%define CONFIG_FADE_FILTER 0
++%define CONFIG_FFTFILT_FILTER 0
++%define CONFIG_FIELD_FILTER 0
++%define CONFIG_FIELDMATCH_FILTER 0
++%define CONFIG_FIELDORDER_FILTER 0
++%define CONFIG_FIND_RECT_FILTER 0
++%define CONFIG_FORMAT_FILTER 0
++%define CONFIG_FPS_FILTER 0
++%define CONFIG_FRAMEPACK_FILTER 0
++%define CONFIG_FRAMERATE_FILTER 0
++%define CONFIG_FRAMESTEP_FILTER 0
++%define CONFIG_FREI0R_FILTER 0
++%define CONFIG_FSPP_FILTER 0
++%define CONFIG_GEQ_FILTER 0
++%define CONFIG_GRADFUN_FILTER 0
++%define CONFIG_HALDCLUT_FILTER 0
++%define CONFIG_HFLIP_FILTER 0
++%define CONFIG_HISTEQ_FILTER 0
++%define CONFIG_HISTOGRAM_FILTER 0
++%define CONFIG_HQDN3D_FILTER 0
++%define CONFIG_HQX_FILTER 0
++%define CONFIG_HSTACK_FILTER 0
++%define CONFIG_HUE_FILTER 0
++%define CONFIG_IDET_FILTER 0
++%define CONFIG_IL_FILTER 0
++%define CONFIG_INFLATE_FILTER 0
++%define CONFIG_INTERLACE_FILTER 0
++%define CONFIG_INTERLEAVE_FILTER 0
++%define CONFIG_KERNDEINT_FILTER 0
++%define CONFIG_LENSCORRECTION_FILTER 0
++%define CONFIG_LUT3D_FILTER 0
++%define CONFIG_LUT_FILTER 0
++%define CONFIG_LUTRGB_FILTER 0
++%define CONFIG_LUTYUV_FILTER 0
++%define CONFIG_MASKEDMERGE_FILTER 0
++%define CONFIG_MCDEINT_FILTER 0
++%define CONFIG_MERGEPLANES_FILTER 0
++%define CONFIG_MPDECIMATE_FILTER 0
++%define CONFIG_NEGATE_FILTER 0
++%define CONFIG_NOFORMAT_FILTER 0
++%define CONFIG_NOISE_FILTER 0
++%define CONFIG_NULL_FILTER 0
++%define CONFIG_OCR_FILTER 0
++%define CONFIG_OCV_FILTER 0
++%define CONFIG_OVERLAY_FILTER 0
++%define CONFIG_OWDENOISE_FILTER 0
++%define CONFIG_PAD_FILTER 0
++%define CONFIG_PALETTEGEN_FILTER 0
++%define CONFIG_PALETTEUSE_FILTER 0
++%define CONFIG_PERMS_FILTER 0
++%define CONFIG_PERSPECTIVE_FILTER 0
++%define CONFIG_PHASE_FILTER 0
++%define CONFIG_PIXDESCTEST_FILTER 0
++%define CONFIG_PP_FILTER 0
++%define CONFIG_PP7_FILTER 0
++%define CONFIG_PSNR_FILTER 0
++%define CONFIG_PULLUP_FILTER 0
++%define CONFIG_QP_FILTER 0
++%define CONFIG_RANDOM_FILTER 0
++%define CONFIG_REMOVEGRAIN_FILTER 0
++%define CONFIG_REMOVELOGO_FILTER 0
++%define CONFIG_REPEATFIELDS_FILTER 0
++%define CONFIG_REVERSE_FILTER 0
++%define CONFIG_ROTATE_FILTER 0
++%define CONFIG_SAB_FILTER 0
++%define CONFIG_SCALE_FILTER 0
++%define CONFIG_SCALE2REF_FILTER 0
++%define CONFIG_SELECT_FILTER 0
++%define CONFIG_SELECTIVECOLOR_FILTER 0
++%define CONFIG_SENDCMD_FILTER 0
++%define CONFIG_SEPARATEFIELDS_FILTER 0
++%define CONFIG_SETDAR_FILTER 0
++%define CONFIG_SETFIELD_FILTER 0
++%define CONFIG_SETPTS_FILTER 0
++%define CONFIG_SETSAR_FILTER 0
++%define CONFIG_SETTB_FILTER 0
++%define CONFIG_SHOWINFO_FILTER 0
++%define CONFIG_SHOWPALETTE_FILTER 0
++%define CONFIG_SHUFFLEFRAMES_FILTER 0
++%define CONFIG_SHUFFLEPLANES_FILTER 0
++%define CONFIG_SIGNALSTATS_FILTER 0
++%define CONFIG_SMARTBLUR_FILTER 0
++%define CONFIG_SPLIT_FILTER 0
++%define CONFIG_SPP_FILTER 0
++%define CONFIG_SSIM_FILTER 0
++%define CONFIG_STEREO3D_FILTER 0
++%define CONFIG_SUBTITLES_FILTER 0
++%define CONFIG_SUPER2XSAI_FILTER 0
++%define CONFIG_SWAPUV_FILTER 0
++%define CONFIG_TBLEND_FILTER 0
++%define CONFIG_TELECINE_FILTER 0
++%define CONFIG_THUMBNAIL_FILTER 0
++%define CONFIG_TILE_FILTER 0
++%define CONFIG_TINTERLACE_FILTER 0
++%define CONFIG_TRANSPOSE_FILTER 0
++%define CONFIG_TRIM_FILTER 0
++%define CONFIG_UNSHARP_FILTER 0
++%define CONFIG_USPP_FILTER 0
++%define CONFIG_VECTORSCOPE_FILTER 0
++%define CONFIG_VFLIP_FILTER 0
++%define CONFIG_VIDSTABDETECT_FILTER 0
++%define CONFIG_VIDSTABTRANSFORM_FILTER 0
++%define CONFIG_VIGNETTE_FILTER 0
++%define CONFIG_VSTACK_FILTER 0
++%define CONFIG_W3FDIF_FILTER 0
++%define CONFIG_WAVEFORM_FILTER 0
++%define CONFIG_XBR_FILTER 0
++%define CONFIG_YADIF_FILTER 0
++%define CONFIG_ZMQ_FILTER 0
++%define CONFIG_ZOOMPAN_FILTER 0
++%define CONFIG_ZSCALE_FILTER 0
++%define CONFIG_ALLRGB_FILTER 0
++%define CONFIG_ALLYUV_FILTER 0
++%define CONFIG_CELLAUTO_FILTER 0
++%define CONFIG_COLOR_FILTER 0
++%define CONFIG_FREI0R_SRC_FILTER 0
++%define CONFIG_HALDCLUTSRC_FILTER 0
++%define CONFIG_LIFE_FILTER 0
++%define CONFIG_MANDELBROT_FILTER 0
++%define CONFIG_MPTESTSRC_FILTER 0
++%define CONFIG_NULLSRC_FILTER 0
++%define CONFIG_RGBTESTSRC_FILTER 0
++%define CONFIG_SMPTEBARS_FILTER 0
++%define CONFIG_SMPTEHDBARS_FILTER 0
++%define CONFIG_TESTSRC_FILTER 0
++%define CONFIG_NULLSINK_FILTER 0
++%define CONFIG_ADRAWGRAPH_FILTER 0
++%define CONFIG_APHASEMETER_FILTER 0
++%define CONFIG_AVECTORSCOPE_FILTER 0
++%define CONFIG_CONCAT_FILTER 0
++%define CONFIG_SHOWCQT_FILTER 0
++%define CONFIG_SHOWFREQS_FILTER 0
++%define CONFIG_SHOWSPECTRUM_FILTER 0
++%define CONFIG_SHOWVOLUME_FILTER 0
++%define CONFIG_SHOWWAVES_FILTER 0
++%define CONFIG_SHOWWAVESPIC_FILTER 0
++%define CONFIG_AMOVIE_FILTER 0
++%define CONFIG_MOVIE_FILTER 0
++%define CONFIG_H263_VAAPI_HWACCEL 0
++%define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_H264_D3D11VA_HWACCEL 0
++%define CONFIG_H264_DXVA2_HWACCEL 0
++%define CONFIG_H264_MMAL_HWACCEL 0
++%define CONFIG_H264_QSV_HWACCEL 0
++%define CONFIG_H264_VAAPI_HWACCEL 0
++%define CONFIG_H264_VDA_HWACCEL 0
++%define CONFIG_H264_VDA_OLD_HWACCEL 0
++%define CONFIG_H264_VDPAU_HWACCEL 0
++%define CONFIG_H264_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_HEVC_D3D11VA_HWACCEL 0
++%define CONFIG_HEVC_DXVA2_HWACCEL 0
++%define CONFIG_HEVC_QSV_HWACCEL 0
++%define CONFIG_HEVC_VAAPI_HWACCEL 0
++%define CONFIG_HEVC_VDPAU_HWACCEL 0
++%define CONFIG_MPEG1_XVMC_HWACCEL 0
++%define CONFIG_MPEG1_VDPAU_HWACCEL 0
++%define CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_MPEG2_XVMC_HWACCEL 0
++%define CONFIG_MPEG2_D3D11VA_HWACCEL 0
++%define CONFIG_MPEG2_DXVA2_HWACCEL 0
++%define CONFIG_MPEG2_MMAL_HWACCEL 0
++%define CONFIG_MPEG2_QSV_HWACCEL 0
++%define CONFIG_MPEG2_VAAPI_HWACCEL 0
++%define CONFIG_MPEG2_VDPAU_HWACCEL 0
++%define CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_MPEG4_VAAPI_HWACCEL 0
++%define CONFIG_MPEG4_VDPAU_HWACCEL 0
++%define CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_VC1_D3D11VA_HWACCEL 0
++%define CONFIG_VC1_DXVA2_HWACCEL 0
++%define CONFIG_VC1_VAAPI_HWACCEL 0
++%define CONFIG_VC1_VDPAU_HWACCEL 0
++%define CONFIG_VC1_QSV_HWACCEL 0
++%define CONFIG_WMV3_D3D11VA_HWACCEL 0
++%define CONFIG_WMV3_DXVA2_HWACCEL 0
++%define CONFIG_WMV3_VAAPI_HWACCEL 0
++%define CONFIG_WMV3_VDPAU_HWACCEL 0
++%define CONFIG_ALSA_INDEV 0
++%define CONFIG_AVFOUNDATION_INDEV 0
++%define CONFIG_BKTR_INDEV 0
++%define CONFIG_DECKLINK_INDEV 0
++%define CONFIG_DSHOW_INDEV 0
++%define CONFIG_DV1394_INDEV 0
++%define CONFIG_FBDEV_INDEV 0
++%define CONFIG_GDIGRAB_INDEV 0
++%define CONFIG_IEC61883_INDEV 0
++%define CONFIG_JACK_INDEV 0
++%define CONFIG_LAVFI_INDEV 0
++%define CONFIG_OPENAL_INDEV 0
++%define CONFIG_OSS_INDEV 0
++%define CONFIG_PULSE_INDEV 0
++%define CONFIG_QTKIT_INDEV 0
++%define CONFIG_SNDIO_INDEV 0
++%define CONFIG_V4L2_INDEV 0
++%define CONFIG_VFWCAP_INDEV 0
++%define CONFIG_X11GRAB_INDEV 0
++%define CONFIG_X11GRAB_XCB_INDEV 0
++%define CONFIG_LIBCDIO_INDEV 0
++%define CONFIG_LIBDC1394_INDEV 0
++%define CONFIG_A64_MUXER 0
++%define CONFIG_AC3_MUXER 0
++%define CONFIG_ADTS_MUXER 0
++%define CONFIG_ADX_MUXER 0
++%define CONFIG_AIFF_MUXER 0
++%define CONFIG_AMR_MUXER 0
++%define CONFIG_APNG_MUXER 0
++%define CONFIG_ASF_MUXER 0
++%define CONFIG_ASS_MUXER 0
++%define CONFIG_AST_MUXER 0
++%define CONFIG_ASF_STREAM_MUXER 0
++%define CONFIG_AU_MUXER 0
++%define CONFIG_AVI_MUXER 0
++%define CONFIG_AVM2_MUXER 0
++%define CONFIG_BIT_MUXER 0
++%define CONFIG_CAF_MUXER 0
++%define CONFIG_CAVSVIDEO_MUXER 0
++%define CONFIG_CRC_MUXER 0
++%define CONFIG_DASH_MUXER 0
++%define CONFIG_DATA_MUXER 0
++%define CONFIG_DAUD_MUXER 0
++%define CONFIG_DIRAC_MUXER 0
++%define CONFIG_DNXHD_MUXER 0
++%define CONFIG_DTS_MUXER 0
++%define CONFIG_DV_MUXER 0
++%define CONFIG_EAC3_MUXER 0
++%define CONFIG_F4V_MUXER 0
++%define CONFIG_FFM_MUXER 0
++%define CONFIG_FFMETADATA_MUXER 0
++%define CONFIG_FILMSTRIP_MUXER 0
++%define CONFIG_FLAC_MUXER 0
++%define CONFIG_FLV_MUXER 0
++%define CONFIG_FRAMECRC_MUXER 0
++%define CONFIG_FRAMEMD5_MUXER 0
++%define CONFIG_G722_MUXER 0
++%define CONFIG_G723_1_MUXER 0
++%define CONFIG_GIF_MUXER 0
++%define CONFIG_GXF_MUXER 0
++%define CONFIG_H261_MUXER 0
++%define CONFIG_H263_MUXER 0
++%define CONFIG_H264_MUXER 0
++%define CONFIG_HDS_MUXER 0
++%define CONFIG_HEVC_MUXER 0
++%define CONFIG_HLS_MUXER 0
++%define CONFIG_ICO_MUXER 0
++%define CONFIG_ILBC_MUXER 0
++%define CONFIG_IMAGE2_MUXER 0
++%define CONFIG_IMAGE2PIPE_MUXER 0
++%define CONFIG_IPOD_MUXER 0
++%define CONFIG_IRCAM_MUXER 0
++%define CONFIG_ISMV_MUXER 0
++%define CONFIG_IVF_MUXER 0
++%define CONFIG_JACOSUB_MUXER 0
++%define CONFIG_LATM_MUXER 0
++%define CONFIG_LRC_MUXER 0
++%define CONFIG_M4V_MUXER 0
++%define CONFIG_MD5_MUXER 0
++%define CONFIG_MATROSKA_MUXER 0
++%define CONFIG_MATROSKA_AUDIO_MUXER 0
++%define CONFIG_MICRODVD_MUXER 0
++%define CONFIG_MJPEG_MUXER 0
++%define CONFIG_MLP_MUXER 0
++%define CONFIG_MMF_MUXER 0
++%define CONFIG_MOV_MUXER 0
++%define CONFIG_MP2_MUXER 0
++%define CONFIG_MP3_MUXER 0
++%define CONFIG_MP4_MUXER 0
++%define CONFIG_MPEG1SYSTEM_MUXER 0
++%define CONFIG_MPEG1VCD_MUXER 0
++%define CONFIG_MPEG1VIDEO_MUXER 0
++%define CONFIG_MPEG2DVD_MUXER 0
++%define CONFIG_MPEG2SVCD_MUXER 0
++%define CONFIG_MPEG2VIDEO_MUXER 0
++%define CONFIG_MPEG2VOB_MUXER 0
++%define CONFIG_MPEGTS_MUXER 0
++%define CONFIG_MPJPEG_MUXER 0
++%define CONFIG_MXF_MUXER 0
++%define CONFIG_MXF_D10_MUXER 0
++%define CONFIG_MXF_OPATOM_MUXER 0
++%define CONFIG_NULL_MUXER 0
++%define CONFIG_NUT_MUXER 0
++%define CONFIG_OGA_MUXER 0
++%define CONFIG_OGG_MUXER 0
++%define CONFIG_OMA_MUXER 0
++%define CONFIG_OPUS_MUXER 0
++%define CONFIG_PCM_ALAW_MUXER 0
++%define CONFIG_PCM_MULAW_MUXER 0
++%define CONFIG_PCM_F64BE_MUXER 0
++%define CONFIG_PCM_F64LE_MUXER 0
++%define CONFIG_PCM_F32BE_MUXER 0
++%define CONFIG_PCM_F32LE_MUXER 0
++%define CONFIG_PCM_S32BE_MUXER 0
++%define CONFIG_PCM_S32LE_MUXER 0
++%define CONFIG_PCM_S24BE_MUXER 0
++%define CONFIG_PCM_S24LE_MUXER 0
++%define CONFIG_PCM_S16BE_MUXER 0
++%define CONFIG_PCM_S16LE_MUXER 0
++%define CONFIG_PCM_S8_MUXER 0
++%define CONFIG_PCM_U32BE_MUXER 0
++%define CONFIG_PCM_U32LE_MUXER 0
++%define CONFIG_PCM_U24BE_MUXER 0
++%define CONFIG_PCM_U24LE_MUXER 0
++%define CONFIG_PCM_U16BE_MUXER 0
++%define CONFIG_PCM_U16LE_MUXER 0
++%define CONFIG_PCM_U8_MUXER 0
++%define CONFIG_PSP_MUXER 0
++%define CONFIG_RAWVIDEO_MUXER 0
++%define CONFIG_RM_MUXER 0
++%define CONFIG_ROQ_MUXER 0
++%define CONFIG_RSO_MUXER 0
++%define CONFIG_RTP_MUXER 0
++%define CONFIG_RTP_MPEGTS_MUXER 0
++%define CONFIG_RTSP_MUXER 0
++%define CONFIG_SAP_MUXER 0
++%define CONFIG_SEGMENT_MUXER 0
++%define CONFIG_STREAM_SEGMENT_MUXER 0
++%define CONFIG_SINGLEJPEG_MUXER 0
++%define CONFIG_SMJPEG_MUXER 0
++%define CONFIG_SMOOTHSTREAMING_MUXER 0
++%define CONFIG_SOX_MUXER 0
++%define CONFIG_SPX_MUXER 0
++%define CONFIG_SPDIF_MUXER 0
++%define CONFIG_SRT_MUXER 0
++%define CONFIG_SWF_MUXER 0
++%define CONFIG_TEE_MUXER 0
++%define CONFIG_TG2_MUXER 0
++%define CONFIG_TGP_MUXER 0
++%define CONFIG_MKVTIMESTAMP_V2_MUXER 0
++%define CONFIG_TRUEHD_MUXER 0
++%define CONFIG_UNCODEDFRAMECRC_MUXER 0
++%define CONFIG_VC1_MUXER 0
++%define CONFIG_VC1T_MUXER 0
++%define CONFIG_VOC_MUXER 0
++%define CONFIG_W64_MUXER 0
++%define CONFIG_WAV_MUXER 0
++%define CONFIG_WEBM_MUXER 0
++%define CONFIG_WEBM_DASH_MANIFEST_MUXER 0
++%define CONFIG_WEBM_CHUNK_MUXER 0
++%define CONFIG_WEBP_MUXER 0
++%define CONFIG_WEBVTT_MUXER 0
++%define CONFIG_WTV_MUXER 0
++%define CONFIG_WV_MUXER 0
++%define CONFIG_YUV4MPEGPIPE_MUXER 0
++%define CONFIG_CHROMAPRINT_MUXER 0
++%define CONFIG_LIBNUT_MUXER 0
++%define CONFIG_ALSA_OUTDEV 0
++%define CONFIG_CACA_OUTDEV 0
++%define CONFIG_DECKLINK_OUTDEV 0
++%define CONFIG_FBDEV_OUTDEV 0
++%define CONFIG_OPENGL_OUTDEV 0
++%define CONFIG_OSS_OUTDEV 0
++%define CONFIG_PULSE_OUTDEV 0
++%define CONFIG_SDL_OUTDEV 0
++%define CONFIG_SNDIO_OUTDEV 0
++%define CONFIG_V4L2_OUTDEV 0
++%define CONFIG_XV_OUTDEV 0
++%define CONFIG_AAC_PARSER 1
++%define CONFIG_AAC_LATM_PARSER 0
++%define CONFIG_AC3_PARSER 0
++%define CONFIG_ADX_PARSER 0
++%define CONFIG_BMP_PARSER 0
++%define CONFIG_CAVSVIDEO_PARSER 0
++%define CONFIG_COOK_PARSER 0
++%define CONFIG_DCA_PARSER 0
++%define CONFIG_DIRAC_PARSER 0
++%define CONFIG_DNXHD_PARSER 0
++%define CONFIG_DPX_PARSER 0
++%define CONFIG_DVBSUB_PARSER 0
++%define CONFIG_DVDSUB_PARSER 0
++%define CONFIG_DVD_NAV_PARSER 0
++%define CONFIG_FLAC_PARSER 0
++%define CONFIG_G729_PARSER 0
++%define CONFIG_GSM_PARSER 0
++%define CONFIG_H261_PARSER 0
++%define CONFIG_H263_PARSER 0
++%define CONFIG_H264_PARSER 1
++%define CONFIG_HEVC_PARSER 0
++%define CONFIG_MJPEG_PARSER 0
++%define CONFIG_MLP_PARSER 0
++%define CONFIG_MPEG4VIDEO_PARSER 0
++%define CONFIG_MPEGAUDIO_PARSER 1
++%define CONFIG_MPEGVIDEO_PARSER 0
++%define CONFIG_OPUS_PARSER 1
++%define CONFIG_PNG_PARSER 0
++%define CONFIG_PNM_PARSER 0
++%define CONFIG_RV30_PARSER 0
++%define CONFIG_RV40_PARSER 0
++%define CONFIG_TAK_PARSER 0
++%define CONFIG_VC1_PARSER 0
++%define CONFIG_VORBIS_PARSER 1
++%define CONFIG_VP3_PARSER 1
++%define CONFIG_VP8_PARSER 1
++%define CONFIG_VP9_PARSER 0
++%define CONFIG_ASYNC_PROTOCOL 0
++%define CONFIG_BLURAY_PROTOCOL 0
++%define CONFIG_CACHE_PROTOCOL 0
++%define CONFIG_CONCAT_PROTOCOL 0
++%define CONFIG_CRYPTO_PROTOCOL 0
++%define CONFIG_DATA_PROTOCOL 0
++%define CONFIG_FFRTMPCRYPT_PROTOCOL 0
++%define CONFIG_FFRTMPHTTP_PROTOCOL 0
++%define CONFIG_FILE_PROTOCOL 0
++%define CONFIG_FTP_PROTOCOL 0
++%define CONFIG_GOPHER_PROTOCOL 0
++%define CONFIG_HLS_PROTOCOL 0
++%define CONFIG_HTTP_PROTOCOL 0
++%define CONFIG_HTTPPROXY_PROTOCOL 0
++%define CONFIG_HTTPS_PROTOCOL 0
++%define CONFIG_ICECAST_PROTOCOL 0
++%define CONFIG_MMSH_PROTOCOL 0
++%define CONFIG_MMST_PROTOCOL 0
++%define CONFIG_MD5_PROTOCOL 0
++%define CONFIG_PIPE_PROTOCOL 0
++%define CONFIG_RTMP_PROTOCOL 0
++%define CONFIG_RTMPE_PROTOCOL 0
++%define CONFIG_RTMPS_PROTOCOL 0
++%define CONFIG_RTMPT_PROTOCOL 0
++%define CONFIG_RTMPTE_PROTOCOL 0
++%define CONFIG_RTMPTS_PROTOCOL 0
++%define CONFIG_RTP_PROTOCOL 0
++%define CONFIG_SCTP_PROTOCOL 0
++%define CONFIG_SRTP_PROTOCOL 0
++%define CONFIG_SUBFILE_PROTOCOL 0
++%define CONFIG_TCP_PROTOCOL 0
++%define CONFIG_TLS_SECURETRANSPORT_PROTOCOL 0
++%define CONFIG_TLS_GNUTLS_PROTOCOL 0
++%define CONFIG_TLS_OPENSSL_PROTOCOL 0
++%define CONFIG_UDP_PROTOCOL 0
++%define CONFIG_UDPLITE_PROTOCOL 0
++%define CONFIG_UNIX_PROTOCOL 0
++%define CONFIG_LIBRTMP_PROTOCOL 0
++%define CONFIG_LIBRTMPE_PROTOCOL 0
++%define CONFIG_LIBRTMPS_PROTOCOL 0
++%define CONFIG_LIBRTMPT_PROTOCOL 0
++%define CONFIG_LIBRTMPTE_PROTOCOL 0
++%define CONFIG_LIBSSH_PROTOCOL 0
++%define CONFIG_LIBSMBCLIENT_PROTOCOL 0
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h
new file mode 100644
index 0000000..5153572
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h
@@ -0,0 +1,2038 @@
+$OpenBSD: patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_ia32_config_h,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/chromium/config/Chrome/openbsd/ia32/config.h.orig.port Sat Jan 23 15:04:58 2016
++++ third_party/ffmpeg/chromium/config/Chrome/openbsd/ia32/config.h Sat Jan 23 15:21:45 2016
+@@ -0,0 +1,2034 @@
++/* Automatically generated by configure - do not modify! */
++#ifndef FFMPEG_CONFIG_H
++#define FFMPEG_CONFIG_H
++#define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-fft --enable-rdft --enable-static --disable-bzlib --disable-error-resilience --disable-iconv --disable-lzo --disable-network --disable-sdl --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-decoder=vorbis --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav' --enable-parser='opus,vorbis' --optflags=O2 --enable-decoder='theora,vp8' --enable-parser='vp3,vp8' --arch=i686 --enable-yasm --extra-cflags=-m32 --extra-ldflags=-m32 --enable-pic --enable-decoder='aac,h264,mp3' --enable-demuxer='aac,mp3,mov' --enable-parser='aac,h2
64,mpegaudio' --cc=clang --cxx=clang++"
++#define FFMPEG_LICENSE "LGPL version 2.1 or later"
++#define CONFIG_THIS_YEAR 2015
++#define FFMPEG_DATADIR "/usr/local/share/ffmpeg"
++#define AVCONV_DATADIR "/usr/local/share/ffmpeg"
++#define CC_IDENT "clang version 3.5 (trunk)"
++#define av_restrict restrict
++#define EXTERN_PREFIX ""
++#define EXTERN_ASM
++#define BUILDSUF ""
++#define SLIBSUF ".so"
++#define HAVE_MMX2 HAVE_MMXEXT
++#define SWS_MAX_FILTER_SIZE 256
++#define ARCH_AARCH64 0
++#define ARCH_ALPHA 0
++#define ARCH_ARM 0
++#define ARCH_AVR32 0
++#define ARCH_AVR32_AP 0
++#define ARCH_AVR32_UC 0
++#define ARCH_BFIN 0
++#define ARCH_IA64 0
++#define ARCH_M68K 0
++#define ARCH_MIPS 0
++#define ARCH_MIPS64 0
++#define ARCH_PARISC 0
++#define ARCH_PPC 0
++#define ARCH_PPC64 0
++#define ARCH_S390 0
++#define ARCH_SH4 0
++#define ARCH_SPARC 0
++#define ARCH_SPARC64 0
++#define ARCH_TILEGX 0
++#define ARCH_TILEPRO 0
++#define ARCH_TOMI 0
++#define ARCH_X86 1
++#define ARCH_X86_32 1
++#define ARCH_X86_64 0
++#define HAVE_ARMV5TE 0
++#define HAVE_ARMV6 0
++#define HAVE_ARMV6T2 0
++#define HAVE_ARMV8 0
++#define HAVE_NEON 0
++#define HAVE_VFP 0
++#define HAVE_VFPV3 0
++#define HAVE_SETEND 0
++#define HAVE_ALTIVEC 0
++#define HAVE_DCBZL 0
++#define HAVE_LDBRX 0
++#define HAVE_POWER8 0
++#define HAVE_PPC4XX 0
++#define HAVE_VSX 0
++#define HAVE_AESNI 1
++#define HAVE_AMD3DNOW 1
++#define HAVE_AMD3DNOWEXT 1
++#define HAVE_AVX 1
++#define HAVE_AVX2 1
++#define HAVE_FMA3 1
++#define HAVE_FMA4 1
++#define HAVE_MMX 1
++#define HAVE_MMXEXT 1
++#define HAVE_SSE 1
++#define HAVE_SSE2 1
++#define HAVE_SSE3 1
++#define HAVE_SSE4 1
++#define HAVE_SSE42 1
++#define HAVE_SSSE3 1
++#define HAVE_XOP 1
++#define HAVE_CPUNOP 1
++#define HAVE_I686 1
++#define HAVE_MIPSFPU 0
++#define HAVE_MIPS32R2 0
++#define HAVE_MIPS32R5 0
++#define HAVE_MIPS64R6 0
++#define HAVE_MIPSDSPR1 0
++#define HAVE_MIPSDSPR2 0
++#define HAVE_MSA 0
++#define HAVE_LOONGSON2 1
++#define HAVE_LOONGSON3 1
++#define HAVE_MMI 0
++#define HAVE_ARMV5TE_EXTERNAL 0
++#define HAVE_ARMV6_EXTERNAL 0
++#define HAVE_ARMV6T2_EXTERNAL 0
++#define HAVE_ARMV8_EXTERNAL 0
++#define HAVE_NEON_EXTERNAL 0
++#define HAVE_VFP_EXTERNAL 0
++#define HAVE_VFPV3_EXTERNAL 0
++#define HAVE_SETEND_EXTERNAL 0
++#define HAVE_ALTIVEC_EXTERNAL 0
++#define HAVE_DCBZL_EXTERNAL 0
++#define HAVE_LDBRX_EXTERNAL 0
++#define HAVE_POWER8_EXTERNAL 0
++#define HAVE_PPC4XX_EXTERNAL 0
++#define HAVE_VSX_EXTERNAL 0
++#define HAVE_AESNI_EXTERNAL 1
++#define HAVE_AMD3DNOW_EXTERNAL 1
++#define HAVE_AMD3DNOWEXT_EXTERNAL 1
++#define HAVE_AVX_EXTERNAL 1
++#define HAVE_AVX2_EXTERNAL 1
++#define HAVE_FMA3_EXTERNAL 1
++#define HAVE_FMA4_EXTERNAL 1
++#define HAVE_MMX_EXTERNAL 1
++#define HAVE_MMXEXT_EXTERNAL 1
++#define HAVE_SSE_EXTERNAL 1
++#define HAVE_SSE2_EXTERNAL 1
++#define HAVE_SSE3_EXTERNAL 1
++#define HAVE_SSE4_EXTERNAL 1
++#define HAVE_SSE42_EXTERNAL 1
++#define HAVE_SSSE3_EXTERNAL 1
++#define HAVE_XOP_EXTERNAL 1
++#define HAVE_CPUNOP_EXTERNAL 0
++#define HAVE_I686_EXTERNAL 0
++#define HAVE_MIPSFPU_EXTERNAL 0
++#define HAVE_MIPS32R2_EXTERNAL 0
++#define HAVE_MIPS32R5_EXTERNAL 0
++#define HAVE_MIPS64R6_EXTERNAL 0
++#define HAVE_MIPSDSPR1_EXTERNAL 0
++#define HAVE_MIPSDSPR2_EXTERNAL 0
++#define HAVE_MSA_EXTERNAL 0
++#define HAVE_LOONGSON2_EXTERNAL 0
++#define HAVE_LOONGSON3_EXTERNAL 0
++#define HAVE_MMI_EXTERNAL 0
++#define HAVE_ARMV5TE_INLINE 0
++#define HAVE_ARMV6_INLINE 0
++#define HAVE_ARMV6T2_INLINE 0
++#define HAVE_ARMV8_INLINE 0
++#define HAVE_NEON_INLINE 0
++#define HAVE_VFP_INLINE 0
++#define HAVE_VFPV3_INLINE 0
++#define HAVE_SETEND_INLINE 0
++#define HAVE_ALTIVEC_INLINE 0
++#define HAVE_DCBZL_INLINE 0
++#define HAVE_LDBRX_INLINE 0
++#define HAVE_POWER8_INLINE 0
++#define HAVE_PPC4XX_INLINE 0
++#define HAVE_VSX_INLINE 0
++#define HAVE_AESNI_INLINE 1
++#define HAVE_AMD3DNOW_INLINE 1
++#define HAVE_AMD3DNOWEXT_INLINE 1
++#define HAVE_AVX_INLINE 1
++#define HAVE_AVX2_INLINE 1
++#define HAVE_FMA3_INLINE 1
++#define HAVE_FMA4_INLINE 1
++#define HAVE_MMX_INLINE 1
++#define HAVE_MMXEXT_INLINE 1
++#define HAVE_SSE_INLINE 1
++#define HAVE_SSE2_INLINE 1
++#define HAVE_SSE3_INLINE 1
++#define HAVE_SSE4_INLINE 1
++#define HAVE_SSE42_INLINE 1
++#define HAVE_SSSE3_INLINE 1
++#define HAVE_XOP_INLINE 1
++#define HAVE_CPUNOP_INLINE 0
++#define HAVE_I686_INLINE 0
++#define HAVE_MIPSFPU_INLINE 0
++#define HAVE_MIPS32R2_INLINE 0
++#define HAVE_MIPS32R5_INLINE 0
++#define HAVE_MIPS64R6_INLINE 0
++#define HAVE_MIPSDSPR1_INLINE 0
++#define HAVE_MIPSDSPR2_INLINE 0
++#define HAVE_MSA_INLINE 0
++#define HAVE_LOONGSON2_INLINE 0
++#define HAVE_LOONGSON3_INLINE 0
++#define HAVE_MMI_INLINE 0
++#define HAVE_ALIGNED_STACK 1
++#define HAVE_FAST_64BIT 0
++#define HAVE_FAST_CLZ 1
++#define HAVE_FAST_CMOV 0
++#define HAVE_LOCAL_ALIGNED_8 1
++#define HAVE_LOCAL_ALIGNED_16 1
++#define HAVE_LOCAL_ALIGNED_32 1
++#define HAVE_SIMD_ALIGN_16 1
++#define HAVE_ATOMICS_GCC 1
++#define HAVE_ATOMICS_SUNCC 0
++#define HAVE_ATOMICS_WIN32 0
++#define HAVE_ATOMIC_CAS_PTR 0
++#define HAVE_ATOMIC_COMPARE_EXCHANGE 1
++#define HAVE_MACHINE_RW_BARRIER 0
++#define HAVE_MEMORYBARRIER 0
++#define HAVE_MM_EMPTY 0
++#define HAVE_RDTSC 0
++#define HAVE_SARESTART 1
++#define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
++#define HAVE_INLINE_ASM 1
++#define HAVE_SYMVER 0
++#define HAVE_YASM 1
++#define HAVE_BIGENDIAN 0
++#define HAVE_FAST_UNALIGNED 1
++#define HAVE_INCOMPATIBLE_LIBAV_ABI 0
++#define HAVE_ALSA_ASOUNDLIB_H 0
++#define HAVE_ALTIVEC_H 0
++#define HAVE_ARPA_INET_H 0
++#define HAVE_ASM_TYPES_H 0
++#define HAVE_CDIO_PARANOIA_H 0
++#define HAVE_CDIO_PARANOIA_PARANOIA_H 0
++#define HAVE_DEV_BKTR_IOCTL_BT848_H 0
++#define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
++#define HAVE_DEV_IC_BT8XX_H 1
++#define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
++#define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
++#define HAVE_DIRECT_H 0
++#define HAVE_DIRENT_H 1
++#define HAVE_DLFCN_H 1
++#define HAVE_D3D11_H 0
++#define HAVE_DXVA_H 0
++#define HAVE_ES2_GL_H 0
++#define HAVE_GSM_H 0
++#define HAVE_IO_H 0
++#define HAVE_MACH_MACH_TIME_H 0
++#define HAVE_MACHINE_IOCTL_BT848_H 0
++#define HAVE_MACHINE_IOCTL_METEOR_H 0
++#define HAVE_MALLOC_H 0
++#define HAVE_OPENJPEG_1_5_OPENJPEG_H 0
++#define HAVE_OPENGL_GL3_H 0
++#define HAVE_POLL_H 1
++#define HAVE_SNDIO_H 1
++#define HAVE_SOUNDCARD_H 1
++#define HAVE_SYS_MMAN_H 1
++#define HAVE_SYS_PARAM_H 1
++#define HAVE_SYS_RESOURCE_H 1
++#define HAVE_SYS_SELECT_H 1
++#define HAVE_SYS_SOUNDCARD_H 0
++#define HAVE_SYS_TIME_H 1
++#define HAVE_SYS_UN_H 1
++#define HAVE_SYS_VIDEOIO_H 1
++#define HAVE_TERMIOS_H 1
++#define HAVE_UDPLITE_H 0
++#define HAVE_UNISTD_H 1
++#define HAVE_VALGRIND_VALGRIND_H 0
++#define HAVE_WINDOWS_H 0
++#define HAVE_WINSOCK2_H 0
++#define HAVE_INTRINSICS_NEON 0
++#define HAVE_ATANF 1
++#define HAVE_ATAN2F 1
++#define HAVE_CBRT 1
++#define HAVE_CBRTF 1
++#define HAVE_COPYSIGN 1
++#define HAVE_COSF 1
++#define HAVE_ERF 1
++#define HAVE_EXP2 1
++#define HAVE_EXP2F 1
++#define HAVE_EXPF 1
++#define HAVE_ISINF 1
++#define HAVE_ISNAN 1
++#define HAVE_LDEXPF 1
++#define HAVE_LLRINT 1
++#define HAVE_LLRINTF 1
++#define HAVE_LOG2 1
++#define HAVE_LOG2F 1
++#define HAVE_LOG10F 1
++#define HAVE_LRINT 1
++#define HAVE_LRINTF 1
++#define HAVE_POWF 1
++#define HAVE_RINT 1
++#define HAVE_ROUND 1
++#define HAVE_ROUNDF 1
++#define HAVE_SINF 1
++#define HAVE_TRUNC 1
++#define HAVE_TRUNCF 1
++#define HAVE_ACCESS 1
++#define HAVE_ALIGNED_MALLOC 0
++#define HAVE_CLOCK_GETTIME 1
++#define HAVE_CLOSESOCKET 0
++#define HAVE_COMMANDLINETOARGVW 0
++#define HAVE_COTASKMEMFREE 0
++#define HAVE_CRYPTGENRANDOM 0
++#define HAVE_DLOPEN 1
++#define HAVE_FCNTL 1
++#define HAVE_FLT_LIM 1
++#define HAVE_FORK 1
++#define HAVE_GETADDRINFO 0
++#define HAVE_GETHRTIME 0
++#define HAVE_GETOPT 1
++#define HAVE_GETPROCESSAFFINITYMASK 0
++#define HAVE_GETPROCESSMEMORYINFO 0
++#define HAVE_GETPROCESSTIMES 0
++#define HAVE_GETRUSAGE 1
++#define HAVE_GETSYSTEMTIMEASFILETIME 0
++#define HAVE_GETTIMEOFDAY 1
++#define HAVE_GLOB 1
++#define HAVE_GLXGETPROCADDRESS 0
++#define HAVE_GMTIME_R 1
++#define HAVE_INET_ATON 0
++#define HAVE_ISATTY 1
++#define HAVE_JACK_PORT_GET_LATENCY_RANGE 0
++#define HAVE_KBHIT 0
++#define HAVE_LOCALTIME_R 1
++#define HAVE_LSTAT 1
++#define HAVE_LZO1X_999_COMPRESS 0
++#define HAVE_MACH_ABSOLUTE_TIME 0
++#define HAVE_MAPVIEWOFFILE 0
++#define HAVE_MEMALIGN 0
++#define HAVE_MKSTEMP 1
++#define HAVE_MMAP 1
++#define HAVE_MPROTECT 1
++#define HAVE_NANOSLEEP 1
++#define HAVE_PEEKNAMEDPIPE 0
++#define HAVE_POSIX_MEMALIGN 1
++#define HAVE_PTHREAD_CANCEL 1
++#define HAVE_SCHED_GETAFFINITY 0
++#define HAVE_SETCONSOLETEXTATTRIBUTE 0
++#define HAVE_SETCONSOLECTRLHANDLER 0
++#define HAVE_SETMODE 0
++#define HAVE_SETRLIMIT 1
++#define HAVE_SLEEP 0
++#define HAVE_STRERROR_R 1
++#define HAVE_SYSCONF 1
++#define HAVE_SYSCTL 1
++#define HAVE_USLEEP 1
++#define HAVE_UTGETOSTYPEFROMSTRING 0
++#define HAVE_VIRTUALALLOC 0
++#define HAVE_WGLGETPROCADDRESS 0
++#define HAVE_PTHREADS 1
++#define HAVE_OS2THREADS 0
++#define HAVE_W32THREADS 0
++#define HAVE_AS_DN_DIRECTIVE 0
++#define HAVE_AS_FUNC 0
++#define HAVE_AS_OBJECT_ARCH 0
++#define HAVE_ASM_MOD_Q 0
++#define HAVE_ATTRIBUTE_MAY_ALIAS 1
++#define HAVE_ATTRIBUTE_PACKED 1
++#define HAVE_EBP_AVAILABLE 1
++#define HAVE_EBX_AVAILABLE 1
++#define HAVE_GNU_AS 0
++#define HAVE_GNU_WINDRES 0
++#define HAVE_IBM_ASM 0
++#define HAVE_INLINE_ASM_LABELS 1
++#define HAVE_INLINE_ASM_NONLOCAL_LABELS 1
++#define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 1
++#define HAVE_PRAGMA_DEPRECATED 1
++#define HAVE_RSYNC_CONTIMEOUT 0
++#define HAVE_SYMVER_ASM_LABEL 1
++#define HAVE_SYMVER_GNU_ASM 1
++#define HAVE_VFP_ARGS 0
++#define HAVE_XFORM_ASM 0
++#define HAVE_XMM_CLOBBERS 1
++#define HAVE_CONDITION_VARIABLE_PTR 0
++#define HAVE_SOCKLEN_T 0
++#define HAVE_STRUCT_ADDRINFO 0
++#define HAVE_STRUCT_DCADEC_EXSS_INFO_MATRIX_ENCODING 0
++#define HAVE_STRUCT_GROUP_SOURCE_REQ 0
++#define HAVE_STRUCT_IP_MREQ_SOURCE 0
++#define HAVE_STRUCT_IPV6_MREQ 0
++#define HAVE_STRUCT_POLLFD 0
++#define HAVE_STRUCT_RUSAGE_RU_MAXRSS 1
++#define HAVE_STRUCT_SCTP_EVENT_SUBSCRIBE 0
++#define HAVE_STRUCT_SOCKADDR_IN6 0
++#define HAVE_STRUCT_SOCKADDR_SA_LEN 0
++#define HAVE_STRUCT_SOCKADDR_STORAGE 0
++#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
++#define HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE 1
++#define HAVE_ATOMICS_NATIVE 1
++#define HAVE_DOS_PATHS 0
++#define HAVE_DXVA2API_COBJ 0
++#define HAVE_DXVA2_LIB 0
++#define HAVE_WINRT 0
++#define HAVE_LIBC_MSVCRT 0
++#define HAVE_LIBDC1394_1 0
++#define HAVE_LIBDC1394_2 0
++#define HAVE_MAKEINFO 1
++#define HAVE_MAKEINFO_HTML 0
++#define HAVE_PERL 1
++#define HAVE_POD2MAN 1
++#define HAVE_SDL 0
++#define HAVE_SECTION_DATA_REL_RO 0
++#define HAVE_TEXI2HTML 0
++#define HAVE_THREADS 1
++#define HAVE_VAAPI_X11 0
++#define HAVE_VDPAU_X11 0
++#define HAVE_XLIB 0
++#define CONFIG_BSFS 0
++#define CONFIG_DECODERS 1
++#define CONFIG_ENCODERS 0
++#define CONFIG_HWACCELS 0
++#define CONFIG_PARSERS 1
++#define CONFIG_INDEVS 0
++#define CONFIG_OUTDEVS 0
++#define CONFIG_FILTERS 0
++#define CONFIG_DEMUXERS 1
++#define CONFIG_MUXERS 0
++#define CONFIG_PROTOCOLS 0
++#define CONFIG_DOC 0
++#define CONFIG_HTMLPAGES 0
++#define CONFIG_MANPAGES 0
++#define CONFIG_PODPAGES 0
++#define CONFIG_TXTPAGES 0
++#define CONFIG_AVIO_READING_EXAMPLE 1
++#define CONFIG_AVIO_DIR_CMD_EXAMPLE 1
++#define CONFIG_DECODING_ENCODING_EXAMPLE 1
++#define CONFIG_DEMUXING_DECODING_EXAMPLE 1
++#define CONFIG_EXTRACT_MVS_EXAMPLE 1
++#define CONFIG_FILTER_AUDIO_EXAMPLE 0
++#define CONFIG_FILTERING_AUDIO_EXAMPLE 0
++#define CONFIG_FILTERING_VIDEO_EXAMPLE 0
++#define CONFIG_METADATA_EXAMPLE 1
++#define CONFIG_MUXING_EXAMPLE 0
++#define CONFIG_QSVDEC_EXAMPLE 0
++#define CONFIG_REMUXING_EXAMPLE 1
++#define CONFIG_RESAMPLING_AUDIO_EXAMPLE 0
++#define CONFIG_SCALING_VIDEO_EXAMPLE 0
++#define CONFIG_TRANSCODE_AAC_EXAMPLE 0
++#define CONFIG_TRANSCODING_EXAMPLE 0
++#define CONFIG_AVISYNTH 0
++#define CONFIG_BZLIB 0
++#define CONFIG_CHROMAPRINT 0
++#define CONFIG_CRYSTALHD 0
++#define CONFIG_DECKLINK 0
++#define CONFIG_FREI0R 0
++#define CONFIG_GNUTLS 0
++#define CONFIG_ICONV 0
++#define CONFIG_LADSPA 0
++#define CONFIG_LIBAACPLUS 0
++#define CONFIG_LIBASS 0
++#define CONFIG_LIBBLURAY 0
++#define CONFIG_LIBBS2B 0
++#define CONFIG_LIBCACA 0
++#define CONFIG_LIBCDIO 0
++#define CONFIG_LIBCELT 0
++#define CONFIG_LIBDC1394 0
++#define CONFIG_LIBDCADEC 0
++#define CONFIG_LIBFAAC 0
++#define CONFIG_LIBFDK_AAC 0
++#define CONFIG_LIBFLITE 0
++#define CONFIG_LIBFONTCONFIG 0
++#define CONFIG_LIBFREETYPE 0
++#define CONFIG_LIBFRIBIDI 0
++#define CONFIG_LIBGME 0
++#define CONFIG_LIBGSM 0
++#define CONFIG_LIBIEC61883 0
++#define CONFIG_LIBILBC 0
++#define CONFIG_LIBKVAZAAR 0
++#define CONFIG_LIBMFX 0
++#define CONFIG_LIBMODPLUG 0
++#define CONFIG_LIBMP3LAME 0
++#define CONFIG_LIBNUT 0
++#define CONFIG_LIBOPENCORE_AMRNB 0
++#define CONFIG_LIBOPENCORE_AMRWB 0
++#define CONFIG_LIBOPENCV 0
++#define CONFIG_LIBOPENH264 0
++#define CONFIG_LIBOPENJPEG 0
++#define CONFIG_LIBOPUS 0
++#define CONFIG_LIBPULSE 0
++#define CONFIG_LIBQUVI 0
++#define CONFIG_LIBRTMP 0
++#define CONFIG_LIBRUBBERBAND 0
++#define CONFIG_LIBSCHROEDINGER 0
++#define CONFIG_LIBSHINE 0
++#define CONFIG_LIBSMBCLIENT 0
++#define CONFIG_LIBSNAPPY 0
++#define CONFIG_LIBSOXR 0
++#define CONFIG_LIBSPEEX 0
++#define CONFIG_LIBSSH 0
++#define CONFIG_LIBSTAGEFRIGHT_H264 0
++#define CONFIG_LIBTESSERACT 0
++#define CONFIG_LIBTHEORA 0
++#define CONFIG_LIBTWOLAME 0
++#define CONFIG_LIBUTVIDEO 0
++#define CONFIG_LIBV4L2 0
++#define CONFIG_LIBVIDSTAB 0
++#define CONFIG_LIBVO_AACENC 0
++#define CONFIG_LIBVO_AMRWBENC 0
++#define CONFIG_LIBVORBIS 0
++#define CONFIG_LIBVPX 0
++#define CONFIG_LIBWAVPACK 0
++#define CONFIG_LIBWEBP 0
++#define CONFIG_LIBX264 0
++#define CONFIG_LIBX265 0
++#define CONFIG_LIBXAVS 0
++#define CONFIG_LIBXCB 1
++#define CONFIG_LIBXCB_SHM 1
++#define CONFIG_LIBXCB_SHAPE 1
++#define CONFIG_LIBXCB_XFIXES 1
++#define CONFIG_LIBXVID 0
++#define CONFIG_LIBZIMG 0
++#define CONFIG_LIBZMQ 0
++#define CONFIG_LIBZVBI 0
++#define CONFIG_LZMA 0
++#define CONFIG_MMAL 0
++#define CONFIG_NVENC 0
++#define CONFIG_OPENAL 0
++#define CONFIG_OPENCL 0
++#define CONFIG_OPENGL 0
++#define CONFIG_OPENSSL 0
++#define CONFIG_SDL 0
++#define CONFIG_SECURETRANSPORT 0
++#define CONFIG_X11GRAB 0
++#define CONFIG_XLIB 0
++#define CONFIG_ZLIB 0
++#define CONFIG_FTRAPV 0
++#define CONFIG_GRAY 0
++#define CONFIG_HARDCODED_TABLES 0
++#define CONFIG_RUNTIME_CPUDETECT 1
++#define CONFIG_SAFE_BITSTREAM_READER 1
++#define CONFIG_SHARED 0
++#define CONFIG_SMALL 0
++#define CONFIG_STATIC 1
++#define CONFIG_SWSCALE_ALPHA 1
++#define CONFIG_D3D11VA 0
++#define CONFIG_DXVA2 0
++#define CONFIG_VAAPI 0
++#define CONFIG_VDA 0
++#define CONFIG_VDPAU 0
++#define CONFIG_VIDEOTOOLBOX 0
++#define CONFIG_XVMC 0
++#define CONFIG_GPL 0
++#define CONFIG_NONFREE 0
++#define CONFIG_VERSION3 0
++#define CONFIG_AVCODEC 1
++#define CONFIG_AVDEVICE 0
++#define CONFIG_AVFILTER 0
++#define CONFIG_AVFORMAT 1
++#define CONFIG_AVRESAMPLE 0
++#define CONFIG_AVUTIL 1
++#define CONFIG_POSTPROC 0
++#define CONFIG_SWRESAMPLE 0
++#define CONFIG_SWSCALE 0
++#define CONFIG_FFPLAY 0
++#define CONFIG_FFPROBE 0
++#define CONFIG_FFSERVER 0
++#define CONFIG_FFMPEG 0
++#define CONFIG_DCT 1
++#define CONFIG_DWT 0
++#define CONFIG_ERROR_RESILIENCE 0
++#define CONFIG_FAAN 1
++#define CONFIG_FAST_UNALIGNED 1
++#define CONFIG_FFT 1
++#define CONFIG_LSP 0
++#define CONFIG_LZO 0
++#define CONFIG_MDCT 1
++#define CONFIG_PIXELUTILS 0
++#define CONFIG_NETWORK 0
++#define CONFIG_RDFT 1
++#define CONFIG_FONTCONFIG 0
++#define CONFIG_INCOMPATIBLE_LIBAV_ABI 0
++#define CONFIG_MEMALIGN_HACK 0
++#define CONFIG_MEMORY_POISONING 0
++#define CONFIG_NEON_CLOBBER_TEST 0
++#define CONFIG_PIC 1
++#define CONFIG_POD2MAN 1
++#define CONFIG_RAISE_MAJOR 0
++#define CONFIG_THUMB 0
++#define CONFIG_VALGRIND_BACKTRACE 0
++#define CONFIG_XMM_CLOBBER_TEST 0
++#define CONFIG_AANDCTTABLES 0
++#define CONFIG_AC3DSP 0
++#define CONFIG_AUDIO_FRAME_QUEUE 0
++#define CONFIG_AUDIODSP 0
++#define CONFIG_BLOCKDSP 0
++#define CONFIG_BSWAPDSP 0
++#define CONFIG_CABAC 1
++#define CONFIG_DVPROFILE 0
++#define CONFIG_EXIF 0
++#define CONFIG_FAANDCT 0
++#define CONFIG_FAANIDCT 0
++#define CONFIG_FDCTDSP 0
++#define CONFIG_FLACDSP 0
++#define CONFIG_FMTCONVERT 0
++#define CONFIG_FRAME_THREAD_ENCODER 0
++#define CONFIG_G722DSP 0
++#define CONFIG_GCRYPT 0
++#define CONFIG_GMP 0
++#define CONFIG_GOLOMB 1
++#define CONFIG_GPLV3 0
++#define CONFIG_H263DSP 0
++#define CONFIG_H264CHROMA 1
++#define CONFIG_H264DSP 1
++#define CONFIG_H264PRED 1
++#define CONFIG_H264QPEL 1
++#define CONFIG_HPELDSP 1
++#define CONFIG_HUFFMAN 0
++#define CONFIG_HUFFYUVDSP 0
++#define CONFIG_HUFFYUVENCDSP 0
++#define CONFIG_IDCTDSP 0
++#define CONFIG_IIRFILTER 0
++#define CONFIG_IMDCT15 1
++#define CONFIG_INTRAX8 0
++#define CONFIG_IVIDSP 0
++#define CONFIG_JPEGTABLES 0
++#define CONFIG_LIBX262 0
++#define CONFIG_LGPLV3 0
++#define CONFIG_LLAUDDSP 0
++#define CONFIG_LLVIDDSP 0
++#define CONFIG_LPC 0
++#define CONFIG_LZF 0
++#define CONFIG_ME_CMP 0
++#define CONFIG_MPEG_ER 0
++#define CONFIG_MPEGAUDIO 1
++#define CONFIG_MPEGAUDIODSP 1
++#define CONFIG_MPEGVIDEO 0
++#define CONFIG_MPEGVIDEOENC 0
++#define CONFIG_MSS34DSP 0
++#define CONFIG_PIXBLOCKDSP 0
++#define CONFIG_QPELDSP 0
++#define CONFIG_QSV 0
++#define CONFIG_QSVDEC 0
++#define CONFIG_QSVENC 0
++#define CONFIG_RANGECODER 0
++#define CONFIG_RIFFDEC 1
++#define CONFIG_RIFFENC 0
++#define CONFIG_RTPDEC 0
++#define CONFIG_RTPENC_CHAIN 0
++#define CONFIG_RV34DSP 0
++#define CONFIG_SINEWIN 1
++#define CONFIG_SNAPPY 0
++#define CONFIG_STARTCODE 1
++#define CONFIG_TEXTUREDSP 0
++#define CONFIG_TEXTUREDSPENC 0
++#define CONFIG_TPELDSP 0
++#define CONFIG_VIDEODSP 1
++#define CONFIG_VP3DSP 1
++#define CONFIG_VP56DSP 0
++#define CONFIG_VP8DSP 1
++#define CONFIG_WMA_FREQS 0
++#define CONFIG_WMV2DSP 0
++#define CONFIG_AAC_ADTSTOASC_BSF 0
++#define CONFIG_CHOMP_BSF 0
++#define CONFIG_DUMP_EXTRADATA_BSF 0
++#define CONFIG_H264_MP4TOANNEXB_BSF 0
++#define CONFIG_HEVC_MP4TOANNEXB_BSF 0
++#define CONFIG_IMX_DUMP_HEADER_BSF 0
++#define CONFIG_MJPEG2JPEG_BSF 0
++#define CONFIG_MJPEGA_DUMP_HEADER_BSF 0
++#define CONFIG_MP3_HEADER_DECOMPRESS_BSF 0
++#define CONFIG_MPEG4_UNPACK_BFRAMES_BSF 0
++#define CONFIG_MOV2TEXTSUB_BSF 0
++#define CONFIG_NOISE_BSF 0
++#define CONFIG_REMOVE_EXTRADATA_BSF 0
++#define CONFIG_TEXT2MOVSUB_BSF 0
++#define CONFIG_AASC_DECODER 0
++#define CONFIG_AIC_DECODER 0
++#define CONFIG_ALIAS_PIX_DECODER 0
++#define CONFIG_AMV_DECODER 0
++#define CONFIG_ANM_DECODER 0
++#define CONFIG_ANSI_DECODER 0
++#define CONFIG_APNG_DECODER 0
++#define CONFIG_ASV1_DECODER 0
++#define CONFIG_ASV2_DECODER 0
++#define CONFIG_AURA_DECODER 0
++#define CONFIG_AURA2_DECODER 0
++#define CONFIG_AVRP_DECODER 0
++#define CONFIG_AVRN_DECODER 0
++#define CONFIG_AVS_DECODER 0
++#define CONFIG_AVUI_DECODER 0
++#define CONFIG_AYUV_DECODER 0
++#define CONFIG_BETHSOFTVID_DECODER 0
++#define CONFIG_BFI_DECODER 0
++#define CONFIG_BINK_DECODER 0
++#define CONFIG_BMP_DECODER 0
++#define CONFIG_BMV_VIDEO_DECODER 0
++#define CONFIG_BRENDER_PIX_DECODER 0
++#define CONFIG_C93_DECODER 0
++#define CONFIG_CAVS_DECODER 0
++#define CONFIG_CDGRAPHICS_DECODER 0
++#define CONFIG_CDXL_DECODER 0
++#define CONFIG_CINEPAK_DECODER 0
++#define CONFIG_CLJR_DECODER 0
++#define CONFIG_CLLC_DECODER 0
++#define CONFIG_COMFORTNOISE_DECODER 0
++#define CONFIG_CPIA_DECODER 0
++#define CONFIG_CSCD_DECODER 0
++#define CONFIG_CYUV_DECODER 0
++#define CONFIG_DDS_DECODER 0
++#define CONFIG_DFA_DECODER 0
++#define CONFIG_DIRAC_DECODER 0
++#define CONFIG_DNXHD_DECODER 0
++#define CONFIG_DPX_DECODER 0
++#define CONFIG_DSICINVIDEO_DECODER 0
++#define CONFIG_DVVIDEO_DECODER 0
++#define CONFIG_DXA_DECODER 0
++#define CONFIG_DXTORY_DECODER 0
++#define CONFIG_DXV_DECODER 0
++#define CONFIG_EACMV_DECODER 0
++#define CONFIG_EAMAD_DECODER 0
++#define CONFIG_EATGQ_DECODER 0
++#define CONFIG_EATGV_DECODER 0
++#define CONFIG_EATQI_DECODER 0
++#define CONFIG_EIGHTBPS_DECODER 0
++#define CONFIG_EIGHTSVX_EXP_DECODER 0
++#define CONFIG_EIGHTSVX_FIB_DECODER 0
++#define CONFIG_ESCAPE124_DECODER 0
++#define CONFIG_ESCAPE130_DECODER 0
++#define CONFIG_EXR_DECODER 0
++#define CONFIG_FFV1_DECODER 0
++#define CONFIG_FFVHUFF_DECODER 0
++#define CONFIG_FIC_DECODER 0
++#define CONFIG_FLASHSV_DECODER 0
++#define CONFIG_FLASHSV2_DECODER 0
++#define CONFIG_FLIC_DECODER 0
++#define CONFIG_FLV_DECODER 0
++#define CONFIG_FOURXM_DECODER 0
++#define CONFIG_FRAPS_DECODER 0
++#define CONFIG_FRWU_DECODER 0
++#define CONFIG_G2M_DECODER 0
++#define CONFIG_GIF_DECODER 0
++#define CONFIG_H261_DECODER 0
++#define CONFIG_H263_DECODER 0
++#define CONFIG_H263I_DECODER 0
++#define CONFIG_H263P_DECODER 0
++#define CONFIG_H264_DECODER 1
++#define CONFIG_H264_CRYSTALHD_DECODER 0
++#define CONFIG_H264_MMAL_DECODER 0
++#define CONFIG_H264_QSV_DECODER 0
++#define CONFIG_H264_VDA_DECODER 0
++#define CONFIG_H264_VDPAU_DECODER 0
++#define CONFIG_HAP_DECODER 0
++#define CONFIG_HEVC_DECODER 0
++#define CONFIG_HEVC_QSV_DECODER 0
++#define CONFIG_HNM4_VIDEO_DECODER 0
++#define CONFIG_HQ_HQA_DECODER 0
++#define CONFIG_HQX_DECODER 0
++#define CONFIG_HUFFYUV_DECODER 0
++#define CONFIG_IDCIN_DECODER 0
++#define CONFIG_IFF_ILBM_DECODER 0
++#define CONFIG_INDEO2_DECODER 0
++#define CONFIG_INDEO3_DECODER 0
++#define CONFIG_INDEO4_DECODER 0
++#define CONFIG_INDEO5_DECODER 0
++#define CONFIG_INTERPLAY_VIDEO_DECODER 0
++#define CONFIG_JPEG2000_DECODER 0
++#define CONFIG_JPEGLS_DECODER 0
++#define CONFIG_JV_DECODER 0
++#define CONFIG_KGV1_DECODER 0
++#define CONFIG_KMVC_DECODER 0
++#define CONFIG_LAGARITH_DECODER 0
++#define CONFIG_LOCO_DECODER 0
++#define CONFIG_MDEC_DECODER 0
++#define CONFIG_MIMIC_DECODER 0
++#define CONFIG_MJPEG_DECODER 0
++#define CONFIG_MJPEGB_DECODER 0
++#define CONFIG_MMVIDEO_DECODER 0
++#define CONFIG_MOTIONPIXELS_DECODER 0
++#define CONFIG_MPEG_XVMC_DECODER 0
++#define CONFIG_MPEG1VIDEO_DECODER 0
++#define CONFIG_MPEG2VIDEO_DECODER 0
++#define CONFIG_MPEG4_DECODER 0
++#define CONFIG_MPEG4_CRYSTALHD_DECODER 0
++#define CONFIG_MPEG4_VDPAU_DECODER 0
++#define CONFIG_MPEGVIDEO_DECODER 0
++#define CONFIG_MPEG_VDPAU_DECODER 0
++#define CONFIG_MPEG1_VDPAU_DECODER 0
++#define CONFIG_MPEG2_MMAL_DECODER 0
++#define CONFIG_MPEG2_CRYSTALHD_DECODER 0
++#define CONFIG_MPEG2_QSV_DECODER 0
++#define CONFIG_MSA1_DECODER 0
++#define CONFIG_MSMPEG4_CRYSTALHD_DECODER 0
++#define CONFIG_MSMPEG4V1_DECODER 0
++#define CONFIG_MSMPEG4V2_DECODER 0
++#define CONFIG_MSMPEG4V3_DECODER 0
++#define CONFIG_MSRLE_DECODER 0
++#define CONFIG_MSS1_DECODER 0
++#define CONFIG_MSS2_DECODER 0
++#define CONFIG_MSVIDEO1_DECODER 0
++#define CONFIG_MSZH_DECODER 0
++#define CONFIG_MTS2_DECODER 0
++#define CONFIG_MVC1_DECODER 0
++#define CONFIG_MVC2_DECODER 0
++#define CONFIG_MXPEG_DECODER 0
++#define CONFIG_NUV_DECODER 0
++#define CONFIG_PAF_VIDEO_DECODER 0
++#define CONFIG_PAM_DECODER 0
++#define CONFIG_PBM_DECODER 0
++#define CONFIG_PCX_DECODER 0
++#define CONFIG_PGM_DECODER 0
++#define CONFIG_PGMYUV_DECODER 0
++#define CONFIG_PICTOR_DECODER 0
++#define CONFIG_PNG_DECODER 0
++#define CONFIG_PPM_DECODER 0
++#define CONFIG_PRORES_DECODER 0
++#define CONFIG_PRORES_LGPL_DECODER 0
++#define CONFIG_PTX_DECODER 0
++#define CONFIG_QDRAW_DECODER 0
++#define CONFIG_QPEG_DECODER 0
++#define CONFIG_QTRLE_DECODER 0
++#define CONFIG_R10K_DECODER 0
++#define CONFIG_R210_DECODER 0
++#define CONFIG_RAWVIDEO_DECODER 0
++#define CONFIG_RL2_DECODER 0
++#define CONFIG_ROQ_DECODER 0
++#define CONFIG_RPZA_DECODER 0
++#define CONFIG_RSCC_DECODER 0
++#define CONFIG_RV10_DECODER 0
++#define CONFIG_RV20_DECODER 0
++#define CONFIG_RV30_DECODER 0
++#define CONFIG_RV40_DECODER 0
++#define CONFIG_S302M_DECODER 0
++#define CONFIG_SANM_DECODER 0
++#define CONFIG_SCREENPRESSO_DECODER 0
++#define CONFIG_SDX2_DPCM_DECODER 0
++#define CONFIG_SGI_DECODER 0
++#define CONFIG_SGIRLE_DECODER 0
++#define CONFIG_SMACKER_DECODER 0
++#define CONFIG_SMC_DECODER 0
++#define CONFIG_SMVJPEG_DECODER 0
++#define CONFIG_SNOW_DECODER 0
++#define CONFIG_SP5X_DECODER 0
++#define CONFIG_SUNRAST_DECODER 0
++#define CONFIG_SVQ1_DECODER 0
++#define CONFIG_SVQ3_DECODER 0
++#define CONFIG_TARGA_DECODER 0
++#define CONFIG_TARGA_Y216_DECODER 0
++#define CONFIG_TDSC_DECODER 0
++#define CONFIG_THEORA_DECODER 1
++#define CONFIG_THP_DECODER 0
++#define CONFIG_TIERTEXSEQVIDEO_DECODER 0
++#define CONFIG_TIFF_DECODER 0
++#define CONFIG_TMV_DECODER 0
++#define CONFIG_TRUEMOTION1_DECODER 0
++#define CONFIG_TRUEMOTION2_DECODER 0
++#define CONFIG_TSCC_DECODER 0
++#define CONFIG_TSCC2_DECODER 0
++#define CONFIG_TXD_DECODER 0
++#define CONFIG_ULTI_DECODER 0
++#define CONFIG_UTVIDEO_DECODER 0
++#define CONFIG_V210_DECODER 0
++#define CONFIG_V210X_DECODER 0
++#define CONFIG_V308_DECODER 0
++#define CONFIG_V408_DECODER 0
++#define CONFIG_V410_DECODER 0
++#define CONFIG_VB_DECODER 0
++#define CONFIG_VBLE_DECODER 0
++#define CONFIG_VC1_DECODER 0
++#define CONFIG_VC1_CRYSTALHD_DECODER 0
++#define CONFIG_VC1_VDPAU_DECODER 0
++#define CONFIG_VC1IMAGE_DECODER 0
++#define CONFIG_VC1_QSV_DECODER 0
++#define CONFIG_VCR1_DECODER 0
++#define CONFIG_VMDVIDEO_DECODER 0
++#define CONFIG_VMNC_DECODER 0
++#define CONFIG_VP3_DECODER 1
++#define CONFIG_VP5_DECODER 0
++#define CONFIG_VP6_DECODER 0
++#define CONFIG_VP6A_DECODER 0
++#define CONFIG_VP6F_DECODER 0
++#define CONFIG_VP7_DECODER 0
++#define CONFIG_VP8_DECODER 1
++#define CONFIG_VP9_DECODER 0
++#define CONFIG_VQA_DECODER 0
++#define CONFIG_WEBP_DECODER 0
++#define CONFIG_WMV1_DECODER 0
++#define CONFIG_WMV2_DECODER 0
++#define CONFIG_WMV3_DECODER 0
++#define CONFIG_WMV3_CRYSTALHD_DECODER 0
++#define CONFIG_WMV3_VDPAU_DECODER 0
++#define CONFIG_WMV3IMAGE_DECODER 0
++#define CONFIG_WNV1_DECODER 0
++#define CONFIG_XAN_WC3_DECODER 0
++#define CONFIG_XAN_WC4_DECODER 0
++#define CONFIG_XBM_DECODER 0
++#define CONFIG_XFACE_DECODER 0
++#define CONFIG_XL_DECODER 0
++#define CONFIG_XWD_DECODER 0
++#define CONFIG_Y41P_DECODER 0
++#define CONFIG_YOP_DECODER 0
++#define CONFIG_YUV4_DECODER 0
++#define CONFIG_ZERO12V_DECODER 0
++#define CONFIG_ZEROCODEC_DECODER 0
++#define CONFIG_ZLIB_DECODER 0
++#define CONFIG_ZMBV_DECODER 0
++#define CONFIG_AAC_DECODER 1
++#define CONFIG_AAC_FIXED_DECODER 0
++#define CONFIG_AAC_LATM_DECODER 0
++#define CONFIG_AC3_DECODER 0
++#define CONFIG_AC3_FIXED_DECODER 0
++#define CONFIG_ALAC_DECODER 0
++#define CONFIG_ALS_DECODER 0
++#define CONFIG_AMRNB_DECODER 0
++#define CONFIG_AMRWB_DECODER 0
++#define CONFIG_APE_DECODER 0
++#define CONFIG_ATRAC1_DECODER 0
++#define CONFIG_ATRAC3_DECODER 0
++#define CONFIG_ATRAC3P_DECODER 0
++#define CONFIG_BINKAUDIO_DCT_DECODER 0
++#define CONFIG_BINKAUDIO_RDFT_DECODER 0
++#define CONFIG_BMV_AUDIO_DECODER 0
++#define CONFIG_COOK_DECODER 0
++#define CONFIG_DCA_DECODER 0
++#define CONFIG_DSD_LSBF_DECODER 0
++#define CONFIG_DSD_MSBF_DECODER 0
++#define CONFIG_DSD_LSBF_PLANAR_DECODER 0
++#define CONFIG_DSD_MSBF_PLANAR_DECODER 0
++#define CONFIG_DSICINAUDIO_DECODER 0
++#define CONFIG_DSS_SP_DECODER 0
++#define CONFIG_EAC3_DECODER 0
++#define CONFIG_EVRC_DECODER 0
++#define CONFIG_FFWAVESYNTH_DECODER 0
++#define CONFIG_FLAC_DECODER 0
++#define CONFIG_G723_1_DECODER 0
++#define CONFIG_G729_DECODER 0
++#define CONFIG_GSM_DECODER 0
++#define CONFIG_GSM_MS_DECODER 0
++#define CONFIG_IAC_DECODER 0
++#define CONFIG_IMC_DECODER 0
++#define CONFIG_INTERPLAY_ACM_DECODER 0
++#define CONFIG_MACE3_DECODER 0
++#define CONFIG_MACE6_DECODER 0
++#define CONFIG_METASOUND_DECODER 0
++#define CONFIG_MLP_DECODER 0
++#define CONFIG_MP1_DECODER 0
++#define CONFIG_MP1FLOAT_DECODER 0
++#define CONFIG_MP2_DECODER 0
++#define CONFIG_MP2FLOAT_DECODER 0
++#define CONFIG_MP3_DECODER 1
++#define CONFIG_MP3FLOAT_DECODER 0
++#define CONFIG_MP3ADU_DECODER 0
++#define CONFIG_MP3ADUFLOAT_DECODER 0
++#define CONFIG_MP3ON4_DECODER 0
++#define CONFIG_MP3ON4FLOAT_DECODER 0
++#define CONFIG_MPC7_DECODER 0
++#define CONFIG_MPC8_DECODER 0
++#define CONFIG_NELLYMOSER_DECODER 0
++#define CONFIG_ON2AVC_DECODER 0
++#define CONFIG_OPUS_DECODER 0
++#define CONFIG_PAF_AUDIO_DECODER 0
++#define CONFIG_QCELP_DECODER 0
++#define CONFIG_QDM2_DECODER 0
++#define CONFIG_RA_144_DECODER 0
++#define CONFIG_RA_288_DECODER 0
++#define CONFIG_RALF_DECODER 0
++#define CONFIG_SHORTEN_DECODER 0
++#define CONFIG_SIPR_DECODER 0
++#define CONFIG_SMACKAUD_DECODER 0
++#define CONFIG_SONIC_DECODER 0
++#define CONFIG_TAK_DECODER 0
++#define CONFIG_TRUEHD_DECODER 0
++#define CONFIG_TRUESPEECH_DECODER 0
++#define CONFIG_TTA_DECODER 0
++#define CONFIG_TWINVQ_DECODER 0
++#define CONFIG_VMDAUDIO_DECODER 0
++#define CONFIG_VORBIS_DECODER 1
++#define CONFIG_WAVPACK_DECODER 0
++#define CONFIG_WMALOSSLESS_DECODER 0
++#define CONFIG_WMAPRO_DECODER 0
++#define CONFIG_WMAV1_DECODER 0
++#define CONFIG_WMAV2_DECODER 0
++#define CONFIG_WMAVOICE_DECODER 0
++#define CONFIG_WS_SND1_DECODER 0
++#define CONFIG_PCM_ALAW_DECODER 1
++#define CONFIG_PCM_BLURAY_DECODER 0
++#define CONFIG_PCM_DVD_DECODER 0
++#define CONFIG_PCM_F32BE_DECODER 0
++#define CONFIG_PCM_F32LE_DECODER 1
++#define CONFIG_PCM_F64BE_DECODER 0
++#define CONFIG_PCM_F64LE_DECODER 0
++#define CONFIG_PCM_LXF_DECODER 0
++#define CONFIG_PCM_MULAW_DECODER 1
++#define CONFIG_PCM_S8_DECODER 0
++#define CONFIG_PCM_S8_PLANAR_DECODER 0
++#define CONFIG_PCM_S16BE_DECODER 1
++#define CONFIG_PCM_S16BE_PLANAR_DECODER 0
++#define CONFIG_PCM_S16LE_DECODER 1
++#define CONFIG_PCM_S16LE_PLANAR_DECODER 0
++#define CONFIG_PCM_S24BE_DECODER 1
++#define CONFIG_PCM_S24DAUD_DECODER 0
++#define CONFIG_PCM_S24LE_DECODER 1
++#define CONFIG_PCM_S24LE_PLANAR_DECODER 0
++#define CONFIG_PCM_S32BE_DECODER 0
++#define CONFIG_PCM_S32LE_DECODER 0
++#define CONFIG_PCM_S32LE_PLANAR_DECODER 0
++#define CONFIG_PCM_U8_DECODER 1
++#define CONFIG_PCM_U16BE_DECODER 0
++#define CONFIG_PCM_U16LE_DECODER 0
++#define CONFIG_PCM_U24BE_DECODER 0
++#define CONFIG_PCM_U24LE_DECODER 0
++#define CONFIG_PCM_U32BE_DECODER 0
++#define CONFIG_PCM_U32LE_DECODER 0
++#define CONFIG_PCM_ZORK_DECODER 0
++#define CONFIG_INTERPLAY_DPCM_DECODER 0
++#define CONFIG_ROQ_DPCM_DECODER 0
++#define CONFIG_SOL_DPCM_DECODER 0
++#define CONFIG_XAN_DPCM_DECODER 0
++#define CONFIG_ADPCM_4XM_DECODER 0
++#define CONFIG_ADPCM_ADX_DECODER 0
++#define CONFIG_ADPCM_AFC_DECODER 0
++#define CONFIG_ADPCM_AICA_DECODER 0
++#define CONFIG_ADPCM_CT_DECODER 0
++#define CONFIG_ADPCM_DTK_DECODER 0
++#define CONFIG_ADPCM_EA_DECODER 0
++#define CONFIG_ADPCM_EA_MAXIS_XA_DECODER 0
++#define CONFIG_ADPCM_EA_R1_DECODER 0
++#define CONFIG_ADPCM_EA_R2_DECODER 0
++#define CONFIG_ADPCM_EA_R3_DECODER 0
++#define CONFIG_ADPCM_EA_XAS_DECODER 0
++#define CONFIG_ADPCM_G722_DECODER 0
++#define CONFIG_ADPCM_G726_DECODER 0
++#define CONFIG_ADPCM_G726LE_DECODER 0
++#define CONFIG_ADPCM_IMA_AMV_DECODER 0
++#define CONFIG_ADPCM_IMA_APC_DECODER 0
++#define CONFIG_ADPCM_IMA_DK3_DECODER 0
++#define CONFIG_ADPCM_IMA_DK4_DECODER 0
++#define CONFIG_ADPCM_IMA_EA_EACS_DECODER 0
++#define CONFIG_ADPCM_IMA_EA_SEAD_DECODER 0
++#define CONFIG_ADPCM_IMA_ISS_DECODER 0
++#define CONFIG_ADPCM_IMA_OKI_DECODER 0
++#define CONFIG_ADPCM_IMA_QT_DECODER 0
++#define CONFIG_ADPCM_IMA_RAD_DECODER 0
++#define CONFIG_ADPCM_IMA_SMJPEG_DECODER 0
++#define CONFIG_ADPCM_IMA_WAV_DECODER 0
++#define CONFIG_ADPCM_IMA_WS_DECODER 0
++#define CONFIG_ADPCM_MS_DECODER 0
++#define CONFIG_ADPCM_PSX_DECODER 0
++#define CONFIG_ADPCM_SBPRO_2_DECODER 0
++#define CONFIG_ADPCM_SBPRO_3_DECODER 0
++#define CONFIG_ADPCM_SBPRO_4_DECODER 0
++#define CONFIG_ADPCM_SWF_DECODER 0
++#define CONFIG_ADPCM_THP_DECODER 0
++#define CONFIG_ADPCM_THP_LE_DECODER 0
++#define CONFIG_ADPCM_VIMA_DECODER 0
++#define CONFIG_ADPCM_XA_DECODER 0
++#define CONFIG_ADPCM_YAMAHA_DECODER 0
++#define CONFIG_SSA_DECODER 0
++#define CONFIG_ASS_DECODER 0
++#define CONFIG_CCAPTION_DECODER 0
++#define CONFIG_DVBSUB_DECODER 0
++#define CONFIG_DVDSUB_DECODER 0
++#define CONFIG_JACOSUB_DECODER 0
++#define CONFIG_MICRODVD_DECODER 0
++#define CONFIG_MOVTEXT_DECODER 0
++#define CONFIG_MPL2_DECODER 0
++#define CONFIG_PGSSUB_DECODER 0
++#define CONFIG_PJS_DECODER 0
++#define CONFIG_REALTEXT_DECODER 0
++#define CONFIG_SAMI_DECODER 0
++#define CONFIG_SRT_DECODER 0
++#define CONFIG_STL_DECODER 0
++#define CONFIG_SUBRIP_DECODER 0
++#define CONFIG_SUBVIEWER_DECODER 0
++#define CONFIG_SUBVIEWER1_DECODER 0
++#define CONFIG_TEXT_DECODER 0
++#define CONFIG_VPLAYER_DECODER 0
++#define CONFIG_WEBVTT_DECODER 0
++#define CONFIG_XSUB_DECODER 0
++#define CONFIG_LIBCELT_DECODER 0
++#define CONFIG_LIBDCADEC_DECODER 0
++#define CONFIG_LIBFDK_AAC_DECODER 0
++#define CONFIG_LIBGSM_DECODER 0
++#define CONFIG_LIBGSM_MS_DECODER 0
++#define CONFIG_LIBILBC_DECODER 0
++#define CONFIG_LIBOPENCORE_AMRNB_DECODER 0
++#define CONFIG_LIBOPENCORE_AMRWB_DECODER 0
++#define CONFIG_LIBOPENJPEG_DECODER 0
++#define CONFIG_LIBOPUS_DECODER 0
++#define CONFIG_LIBSCHROEDINGER_DECODER 0
++#define CONFIG_LIBSPEEX_DECODER 0
++#define CONFIG_LIBSTAGEFRIGHT_H264_DECODER 0
++#define CONFIG_LIBUTVIDEO_DECODER 0
++#define CONFIG_LIBVORBIS_DECODER 0
++#define CONFIG_LIBVPX_VP8_DECODER 0
++#define CONFIG_LIBVPX_VP9_DECODER 0
++#define CONFIG_LIBZVBI_TELETEXT_DECODER 0
++#define CONFIG_BINTEXT_DECODER 0
++#define CONFIG_XBIN_DECODER 0
++#define CONFIG_IDF_DECODER 0
++#define CONFIG_AA_DEMUXER 0
++#define CONFIG_AAC_DEMUXER 1
++#define CONFIG_AC3_DEMUXER 0
++#define CONFIG_ACM_DEMUXER 0
++#define CONFIG_ACT_DEMUXER 0
++#define CONFIG_ADF_DEMUXER 0
++#define CONFIG_ADP_DEMUXER 0
++#define CONFIG_ADS_DEMUXER 0
++#define CONFIG_ADX_DEMUXER 0
++#define CONFIG_AEA_DEMUXER 0
++#define CONFIG_AFC_DEMUXER 0
++#define CONFIG_AIFF_DEMUXER 0
++#define CONFIG_AMR_DEMUXER 0
++#define CONFIG_ANM_DEMUXER 0
++#define CONFIG_APC_DEMUXER 0
++#define CONFIG_APE_DEMUXER 0
++#define CONFIG_APNG_DEMUXER 0
++#define CONFIG_AQTITLE_DEMUXER 0
++#define CONFIG_ASF_DEMUXER 0
++#define CONFIG_ASF_O_DEMUXER 0
++#define CONFIG_ASS_DEMUXER 0
++#define CONFIG_AST_DEMUXER 0
++#define CONFIG_AU_DEMUXER 0
++#define CONFIG_AVI_DEMUXER 0
++#define CONFIG_AVISYNTH_DEMUXER 0
++#define CONFIG_AVR_DEMUXER 0
++#define CONFIG_AVS_DEMUXER 0
++#define CONFIG_BETHSOFTVID_DEMUXER 0
++#define CONFIG_BFI_DEMUXER 0
++#define CONFIG_BINTEXT_DEMUXER 0
++#define CONFIG_BINK_DEMUXER 0
++#define CONFIG_BIT_DEMUXER 0
++#define CONFIG_BMV_DEMUXER 0
++#define CONFIG_BFSTM_DEMUXER 0
++#define CONFIG_BRSTM_DEMUXER 0
++#define CONFIG_BOA_DEMUXER 0
++#define CONFIG_C93_DEMUXER 0
++#define CONFIG_CAF_DEMUXER 0
++#define CONFIG_CAVSVIDEO_DEMUXER 0
++#define CONFIG_CDG_DEMUXER 0
++#define CONFIG_CDXL_DEMUXER 0
++#define CONFIG_CINE_DEMUXER 0
++#define CONFIG_CONCAT_DEMUXER 0
++#define CONFIG_DATA_DEMUXER 0
++#define CONFIG_DAUD_DEMUXER 0
++#define CONFIG_DCSTR_DEMUXER 0
++#define CONFIG_DFA_DEMUXER 0
++#define CONFIG_DIRAC_DEMUXER 0
++#define CONFIG_DNXHD_DEMUXER 0
++#define CONFIG_DSF_DEMUXER 0
++#define CONFIG_DSICIN_DEMUXER 0
++#define CONFIG_DSS_DEMUXER 0
++#define CONFIG_DTS_DEMUXER 0
++#define CONFIG_DTSHD_DEMUXER 0
++#define CONFIG_DV_DEMUXER 0
++#define CONFIG_DVBSUB_DEMUXER 0
++#define CONFIG_DXA_DEMUXER 0
++#define CONFIG_EA_DEMUXER 0
++#define CONFIG_EA_CDATA_DEMUXER 0
++#define CONFIG_EAC3_DEMUXER 0
++#define CONFIG_EPAF_DEMUXER 0
++#define CONFIG_FFM_DEMUXER 0
++#define CONFIG_FFMETADATA_DEMUXER 0
++#define CONFIG_FILMSTRIP_DEMUXER 0
++#define CONFIG_FLAC_DEMUXER 0
++#define CONFIG_FLIC_DEMUXER 0
++#define CONFIG_FLV_DEMUXER 0
++#define CONFIG_LIVE_FLV_DEMUXER 0
++#define CONFIG_FOURXM_DEMUXER 0
++#define CONFIG_FRM_DEMUXER 0
++#define CONFIG_G722_DEMUXER 0
++#define CONFIG_G723_1_DEMUXER 0
++#define CONFIG_G729_DEMUXER 0
++#define CONFIG_GENH_DEMUXER 0
++#define CONFIG_GIF_DEMUXER 0
++#define CONFIG_GSM_DEMUXER 0
++#define CONFIG_GXF_DEMUXER 0
++#define CONFIG_H261_DEMUXER 0
++#define CONFIG_H263_DEMUXER 0
++#define CONFIG_H264_DEMUXER 0
++#define CONFIG_HEVC_DEMUXER 0
++#define CONFIG_HLS_DEMUXER 0
++#define CONFIG_HNM_DEMUXER 0
++#define CONFIG_ICO_DEMUXER 0
++#define CONFIG_IDCIN_DEMUXER 0
++#define CONFIG_IDF_DEMUXER 0
++#define CONFIG_IFF_DEMUXER 0
++#define CONFIG_ILBC_DEMUXER 0
++#define CONFIG_IMAGE2_DEMUXER 0
++#define CONFIG_IMAGE2PIPE_DEMUXER 0
++#define CONFIG_IMAGE2_ALIAS_PIX_DEMUXER 0
++#define CONFIG_IMAGE2_BRENDER_PIX_DEMUXER 0
++#define CONFIG_INGENIENT_DEMUXER 0
++#define CONFIG_IPMOVIE_DEMUXER 0
++#define CONFIG_IRCAM_DEMUXER 0
++#define CONFIG_ISS_DEMUXER 0
++#define CONFIG_IV8_DEMUXER 0
++#define CONFIG_IVF_DEMUXER 0
++#define CONFIG_JACOSUB_DEMUXER 0
++#define CONFIG_JV_DEMUXER 0
++#define CONFIG_LMLM4_DEMUXER 0
++#define CONFIG_LOAS_DEMUXER 0
++#define CONFIG_LRC_DEMUXER 0
++#define CONFIG_LVF_DEMUXER 0
++#define CONFIG_LXF_DEMUXER 0
++#define CONFIG_M4V_DEMUXER 0
++#define CONFIG_MATROSKA_DEMUXER 1
++#define CONFIG_MGSTS_DEMUXER 0
++#define CONFIG_MICRODVD_DEMUXER 0
++#define CONFIG_MJPEG_DEMUXER 0
++#define CONFIG_MLP_DEMUXER 0
++#define CONFIG_MLV_DEMUXER 0
++#define CONFIG_MM_DEMUXER 0
++#define CONFIG_MMF_DEMUXER 0
++#define CONFIG_MOV_DEMUXER 1
++#define CONFIG_MP3_DEMUXER 1
++#define CONFIG_MPC_DEMUXER 0
++#define CONFIG_MPC8_DEMUXER 0
++#define CONFIG_MPEGPS_DEMUXER 0
++#define CONFIG_MPEGTS_DEMUXER 0
++#define CONFIG_MPEGTSRAW_DEMUXER 0
++#define CONFIG_MPEGVIDEO_DEMUXER 0
++#define CONFIG_MPJPEG_DEMUXER 0
++#define CONFIG_MPL2_DEMUXER 0
++#define CONFIG_MPSUB_DEMUXER 0
++#define CONFIG_MSF_DEMUXER 0
++#define CONFIG_MSNWC_TCP_DEMUXER 0
++#define CONFIG_MTV_DEMUXER 0
++#define CONFIG_MV_DEMUXER 0
++#define CONFIG_MVI_DEMUXER 0
++#define CONFIG_MXF_DEMUXER 0
++#define CONFIG_MXG_DEMUXER 0
++#define CONFIG_NC_DEMUXER 0
++#define CONFIG_NISTSPHERE_DEMUXER 0
++#define CONFIG_NSV_DEMUXER 0
++#define CONFIG_NUT_DEMUXER 0
++#define CONFIG_NUV_DEMUXER 0
++#define CONFIG_OGG_DEMUXER 1
++#define CONFIG_OMA_DEMUXER 0
++#define CONFIG_PAF_DEMUXER 0
++#define CONFIG_PCM_ALAW_DEMUXER 0
++#define CONFIG_PCM_MULAW_DEMUXER 0
++#define CONFIG_PCM_F64BE_DEMUXER 0
++#define CONFIG_PCM_F64LE_DEMUXER 0
++#define CONFIG_PCM_F32BE_DEMUXER 0
++#define CONFIG_PCM_F32LE_DEMUXER 0
++#define CONFIG_PCM_S32BE_DEMUXER 0
++#define CONFIG_PCM_S32LE_DEMUXER 0
++#define CONFIG_PCM_S24BE_DEMUXER 0
++#define CONFIG_PCM_S24LE_DEMUXER 0
++#define CONFIG_PCM_S16BE_DEMUXER 0
++#define CONFIG_PCM_S16LE_DEMUXER 0
++#define CONFIG_PCM_S8_DEMUXER 0
++#define CONFIG_PCM_U32BE_DEMUXER 0
++#define CONFIG_PCM_U32LE_DEMUXER 0
++#define CONFIG_PCM_U24BE_DEMUXER 0
++#define CONFIG_PCM_U24LE_DEMUXER 0
++#define CONFIG_PCM_U16BE_DEMUXER 0
++#define CONFIG_PCM_U16LE_DEMUXER 0
++#define CONFIG_PCM_U8_DEMUXER 0
++#define CONFIG_PJS_DEMUXER 0
++#define CONFIG_PMP_DEMUXER 0
++#define CONFIG_PVA_DEMUXER 0
++#define CONFIG_PVF_DEMUXER 0
++#define CONFIG_QCP_DEMUXER 0
++#define CONFIG_R3D_DEMUXER 0
++#define CONFIG_RAWVIDEO_DEMUXER 0
++#define CONFIG_REALTEXT_DEMUXER 0
++#define CONFIG_REDSPARK_DEMUXER 0
++#define CONFIG_RL2_DEMUXER 0
++#define CONFIG_RM_DEMUXER 0
++#define CONFIG_ROQ_DEMUXER 0
++#define CONFIG_RPL_DEMUXER 0
++#define CONFIG_RSD_DEMUXER 0
++#define CONFIG_RSO_DEMUXER 0
++#define CONFIG_RTP_DEMUXER 0
++#define CONFIG_RTSP_DEMUXER 0
++#define CONFIG_SAMI_DEMUXER 0
++#define CONFIG_SAP_DEMUXER 0
++#define CONFIG_SBG_DEMUXER 0
++#define CONFIG_SDP_DEMUXER 0
++#define CONFIG_SDR2_DEMUXER 0
++#define CONFIG_SEGAFILM_DEMUXER 0
++#define CONFIG_SHORTEN_DEMUXER 0
++#define CONFIG_SIFF_DEMUXER 0
++#define CONFIG_SLN_DEMUXER 0
++#define CONFIG_SMACKER_DEMUXER 0
++#define CONFIG_SMJPEG_DEMUXER 0
++#define CONFIG_SMUSH_DEMUXER 0
++#define CONFIG_SOL_DEMUXER 0
++#define CONFIG_SOX_DEMUXER 0
++#define CONFIG_SPDIF_DEMUXER 0
++#define CONFIG_SRT_DEMUXER 0
++#define CONFIG_STR_DEMUXER 0
++#define CONFIG_STL_DEMUXER 0
++#define CONFIG_SUBVIEWER1_DEMUXER 0
++#define CONFIG_SUBVIEWER_DEMUXER 0
++#define CONFIG_SUP_DEMUXER 0
++#define CONFIG_SVAG_DEMUXER 0
++#define CONFIG_SWF_DEMUXER 0
++#define CONFIG_TAK_DEMUXER 0
++#define CONFIG_TEDCAPTIONS_DEMUXER 0
++#define CONFIG_THP_DEMUXER 0
++#define CONFIG_THREEDOSTR_DEMUXER 0
++#define CONFIG_TIERTEXSEQ_DEMUXER 0
++#define CONFIG_TMV_DEMUXER 0
++#define CONFIG_TRUEHD_DEMUXER 0
++#define CONFIG_TTA_DEMUXER 0
++#define CONFIG_TXD_DEMUXER 0
++#define CONFIG_TTY_DEMUXER 0
++#define CONFIG_VAG_DEMUXER 0
++#define CONFIG_VC1_DEMUXER 0
++#define CONFIG_VC1T_DEMUXER 0
++#define CONFIG_VIVO_DEMUXER 0
++#define CONFIG_VMD_DEMUXER 0
++#define CONFIG_VOBSUB_DEMUXER 0
++#define CONFIG_VOC_DEMUXER 0
++#define CONFIG_VPLAYER_DEMUXER 0
++#define CONFIG_VQF_DEMUXER 0
++#define CONFIG_W64_DEMUXER 0
++#define CONFIG_WAV_DEMUXER 1
++#define CONFIG_WC3_DEMUXER 0
++#define CONFIG_WEBM_DASH_MANIFEST_DEMUXER 0
++#define CONFIG_WEBVTT_DEMUXER 0
++#define CONFIG_WSAUD_DEMUXER 0
++#define CONFIG_WSVQA_DEMUXER 0
++#define CONFIG_WTV_DEMUXER 0
++#define CONFIG_WVE_DEMUXER 0
++#define CONFIG_WV_DEMUXER 0
++#define CONFIG_XA_DEMUXER 0
++#define CONFIG_XBIN_DEMUXER 0
++#define CONFIG_XMV_DEMUXER 0
++#define CONFIG_XVAG_DEMUXER 0
++#define CONFIG_XWMA_DEMUXER 0
++#define CONFIG_YOP_DEMUXER 0
++#define CONFIG_YUV4MPEGPIPE_DEMUXER 0
++#define CONFIG_IMAGE_BMP_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_DDS_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_DPX_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_EXR_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_J2K_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_JPEG_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_JPEGLS_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_PICTOR_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_PNG_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_QDRAW_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_SGI_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_SUNRAST_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_TIFF_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_WEBP_PIPE_DEMUXER 0
++#define CONFIG_LIBGME_DEMUXER 0
++#define CONFIG_LIBMODPLUG_DEMUXER 0
++#define CONFIG_LIBNUT_DEMUXER 0
++#define CONFIG_LIBQUVI_DEMUXER 0
++#define CONFIG_A64MULTI_ENCODER 0
++#define CONFIG_A64MULTI5_ENCODER 0
++#define CONFIG_ALIAS_PIX_ENCODER 0
++#define CONFIG_AMV_ENCODER 0
++#define CONFIG_APNG_ENCODER 0
++#define CONFIG_ASV1_ENCODER 0
++#define CONFIG_ASV2_ENCODER 0
++#define CONFIG_AVRP_ENCODER 0
++#define CONFIG_AVUI_ENCODER 0
++#define CONFIG_AYUV_ENCODER 0
++#define CONFIG_BMP_ENCODER 0
++#define CONFIG_CINEPAK_ENCODER 0
++#define CONFIG_CLJR_ENCODER 0
++#define CONFIG_COMFORTNOISE_ENCODER 0
++#define CONFIG_DNXHD_ENCODER 0
++#define CONFIG_DPX_ENCODER 0
++#define CONFIG_DVVIDEO_ENCODER 0
++#define CONFIG_FFV1_ENCODER 0
++#define CONFIG_FFVHUFF_ENCODER 0
++#define CONFIG_FLASHSV_ENCODER 0
++#define CONFIG_FLASHSV2_ENCODER 0
++#define CONFIG_FLV_ENCODER 0
++#define CONFIG_GIF_ENCODER 0
++#define CONFIG_H261_ENCODER 0
++#define CONFIG_H263_ENCODER 0
++#define CONFIG_H263P_ENCODER 0
++#define CONFIG_HAP_ENCODER 0
++#define CONFIG_HUFFYUV_ENCODER 0
++#define CONFIG_JPEG2000_ENCODER 0
++#define CONFIG_JPEGLS_ENCODER 0
++#define CONFIG_LJPEG_ENCODER 0
++#define CONFIG_MJPEG_ENCODER 0
++#define CONFIG_MPEG1VIDEO_ENCODER 0
++#define CONFIG_MPEG2VIDEO_ENCODER 0
++#define CONFIG_MPEG4_ENCODER 0
++#define CONFIG_MSMPEG4V2_ENCODER 0
++#define CONFIG_MSMPEG4V3_ENCODER 0
++#define CONFIG_MSVIDEO1_ENCODER 0
++#define CONFIG_PAM_ENCODER 0
++#define CONFIG_PBM_ENCODER 0
++#define CONFIG_PCX_ENCODER 0
++#define CONFIG_PGM_ENCODER 0
++#define CONFIG_PGMYUV_ENCODER 0
++#define CONFIG_PNG_ENCODER 0
++#define CONFIG_PPM_ENCODER 0
++#define CONFIG_PRORES_ENCODER 0
++#define CONFIG_PRORES_AW_ENCODER 0
++#define CONFIG_PRORES_KS_ENCODER 0
++#define CONFIG_QTRLE_ENCODER 0
++#define CONFIG_R10K_ENCODER 0
++#define CONFIG_R210_ENCODER 0
++#define CONFIG_RAWVIDEO_ENCODER 0
++#define CONFIG_ROQ_ENCODER 0
++#define CONFIG_RV10_ENCODER 0
++#define CONFIG_RV20_ENCODER 0
++#define CONFIG_S302M_ENCODER 0
++#define CONFIG_SGI_ENCODER 0
++#define CONFIG_SNOW_ENCODER 0
++#define CONFIG_SUNRAST_ENCODER 0
++#define CONFIG_SVQ1_ENCODER 0
++#define CONFIG_TARGA_ENCODER 0
++#define CONFIG_TIFF_ENCODER 0
++#define CONFIG_UTVIDEO_ENCODER 0
++#define CONFIG_V210_ENCODER 0
++#define CONFIG_V308_ENCODER 0
++#define CONFIG_V408_ENCODER 0
++#define CONFIG_V410_ENCODER 0
++#define CONFIG_WRAPPED_AVFRAME_ENCODER 0
++#define CONFIG_WMV1_ENCODER 0
++#define CONFIG_WMV2_ENCODER 0
++#define CONFIG_XBM_ENCODER 0
++#define CONFIG_XFACE_ENCODER 0
++#define CONFIG_XWD_ENCODER 0
++#define CONFIG_Y41P_ENCODER 0
++#define CONFIG_YUV4_ENCODER 0
++#define CONFIG_ZLIB_ENCODER 0
++#define CONFIG_ZMBV_ENCODER 0
++#define CONFIG_AAC_ENCODER 0
++#define CONFIG_AC3_ENCODER 0
++#define CONFIG_AC3_FIXED_ENCODER 0
++#define CONFIG_ALAC_ENCODER 0
++#define CONFIG_DCA_ENCODER 0
++#define CONFIG_EAC3_ENCODER 0
++#define CONFIG_FLAC_ENCODER 0
++#define CONFIG_G723_1_ENCODER 0
++#define CONFIG_MP2_ENCODER 0
++#define CONFIG_MP2FIXED_ENCODER 0
++#define CONFIG_NELLYMOSER_ENCODER 0
++#define CONFIG_RA_144_ENCODER 0
++#define CONFIG_SONIC_ENCODER 0
++#define CONFIG_SONIC_LS_ENCODER 0
++#define CONFIG_TTA_ENCODER 0
++#define CONFIG_VORBIS_ENCODER 0
++#define CONFIG_WAVPACK_ENCODER 0
++#define CONFIG_WMAV1_ENCODER 0
++#define CONFIG_WMAV2_ENCODER 0
++#define CONFIG_PCM_ALAW_ENCODER 0
++#define CONFIG_PCM_F32BE_ENCODER 0
++#define CONFIG_PCM_F32LE_ENCODER 0
++#define CONFIG_PCM_F64BE_ENCODER 0
++#define CONFIG_PCM_F64LE_ENCODER 0
++#define CONFIG_PCM_MULAW_ENCODER 0
++#define CONFIG_PCM_S8_ENCODER 0
++#define CONFIG_PCM_S8_PLANAR_ENCODER 0
++#define CONFIG_PCM_S16BE_ENCODER 0
++#define CONFIG_PCM_S16BE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S16LE_ENCODER 0
++#define CONFIG_PCM_S16LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S24BE_ENCODER 0
++#define CONFIG_PCM_S24DAUD_ENCODER 0
++#define CONFIG_PCM_S24LE_ENCODER 0
++#define CONFIG_PCM_S24LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S32BE_ENCODER 0
++#define CONFIG_PCM_S32LE_ENCODER 0
++#define CONFIG_PCM_S32LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_U8_ENCODER 0
++#define CONFIG_PCM_U16BE_ENCODER 0
++#define CONFIG_PCM_U16LE_ENCODER 0
++#define CONFIG_PCM_U24BE_ENCODER 0
++#define CONFIG_PCM_U24LE_ENCODER 0
++#define CONFIG_PCM_U32BE_ENCODER 0
++#define CONFIG_PCM_U32LE_ENCODER 0
++#define CONFIG_ROQ_DPCM_ENCODER 0
++#define CONFIG_ADPCM_ADX_ENCODER 0
++#define CONFIG_ADPCM_G722_ENCODER 0
++#define CONFIG_ADPCM_G726_ENCODER 0
++#define CONFIG_ADPCM_IMA_QT_ENCODER 0
++#define CONFIG_ADPCM_IMA_WAV_ENCODER 0
++#define CONFIG_ADPCM_MS_ENCODER 0
++#define CONFIG_ADPCM_SWF_ENCODER 0
++#define CONFIG_ADPCM_YAMAHA_ENCODER 0
++#define CONFIG_SSA_ENCODER 0
++#define CONFIG_ASS_ENCODER 0
++#define CONFIG_DVBSUB_ENCODER 0
++#define CONFIG_DVDSUB_ENCODER 0
++#define CONFIG_MOVTEXT_ENCODER 0
++#define CONFIG_SRT_ENCODER 0
++#define CONFIG_SUBRIP_ENCODER 0
++#define CONFIG_WEBVTT_ENCODER 0
++#define CONFIG_XSUB_ENCODER 0
++#define CONFIG_LIBFAAC_ENCODER 0
++#define CONFIG_LIBFDK_AAC_ENCODER 0
++#define CONFIG_LIBGSM_ENCODER 0
++#define CONFIG_LIBGSM_MS_ENCODER 0
++#define CONFIG_LIBILBC_ENCODER 0
++#define CONFIG_LIBMP3LAME_ENCODER 0
++#define CONFIG_LIBOPENCORE_AMRNB_ENCODER 0
++#define CONFIG_LIBOPENJPEG_ENCODER 0
++#define CONFIG_LIBOPUS_ENCODER 0
++#define CONFIG_LIBSCHROEDINGER_ENCODER 0
++#define CONFIG_LIBSHINE_ENCODER 0
++#define CONFIG_LIBSPEEX_ENCODER 0
++#define CONFIG_LIBTHEORA_ENCODER 0
++#define CONFIG_LIBTWOLAME_ENCODER 0
++#define CONFIG_LIBUTVIDEO_ENCODER 0
++#define CONFIG_LIBVO_AACENC_ENCODER 0
++#define CONFIG_LIBVO_AMRWBENC_ENCODER 0
++#define CONFIG_LIBVORBIS_ENCODER 0
++#define CONFIG_LIBVPX_VP8_ENCODER 0
++#define CONFIG_LIBVPX_VP9_ENCODER 0
++#define CONFIG_LIBWAVPACK_ENCODER 0
++#define CONFIG_LIBWEBP_ANIM_ENCODER 0
++#define CONFIG_LIBWEBP_ENCODER 0
++#define CONFIG_LIBX262_ENCODER 0
++#define CONFIG_LIBX264_ENCODER 0
++#define CONFIG_LIBX264RGB_ENCODER 0
++#define CONFIG_LIBX265_ENCODER 0
++#define CONFIG_LIBXAVS_ENCODER 0
++#define CONFIG_LIBXVID_ENCODER 0
++#define CONFIG_LIBAACPLUS_ENCODER 0
++#define CONFIG_LIBOPENH264_ENCODER 0
++#define CONFIG_H264_QSV_ENCODER 0
++#define CONFIG_NVENC_ENCODER 0
++#define CONFIG_NVENC_H264_ENCODER 0
++#define CONFIG_NVENC_HEVC_ENCODER 0
++#define CONFIG_HEVC_QSV_ENCODER 0
++#define CONFIG_LIBKVAZAAR_ENCODER 0
++#define CONFIG_MPEG2_QSV_ENCODER 0
++#define CONFIG_ACROSSFADE_FILTER 0
++#define CONFIG_ADELAY_FILTER 0
++#define CONFIG_AECHO_FILTER 0
++#define CONFIG_AEVAL_FILTER 0
++#define CONFIG_AFADE_FILTER 0
++#define CONFIG_AFORMAT_FILTER 0
++#define CONFIG_AGATE_FILTER 0
++#define CONFIG_AINTERLEAVE_FILTER 0
++#define CONFIG_ALIMITER_FILTER 0
++#define CONFIG_ALLPASS_FILTER 0
++#define CONFIG_AMERGE_FILTER 0
++#define CONFIG_AMIX_FILTER 0
++#define CONFIG_ANULL_FILTER 0
++#define CONFIG_APAD_FILTER 0
++#define CONFIG_APERMS_FILTER 0
++#define CONFIG_APHASER_FILTER 0
++#define CONFIG_ARESAMPLE_FILTER 0
++#define CONFIG_AREVERSE_FILTER 0
++#define CONFIG_ASELECT_FILTER 0
++#define CONFIG_ASENDCMD_FILTER 0
++#define CONFIG_ASETNSAMPLES_FILTER 0
++#define CONFIG_ASETPTS_FILTER 0
++#define CONFIG_ASETRATE_FILTER 0
++#define CONFIG_ASETTB_FILTER 0
++#define CONFIG_ASHOWINFO_FILTER 0
++#define CONFIG_ASPLIT_FILTER 0
++#define CONFIG_ASTATS_FILTER 0
++#define CONFIG_ASTREAMSYNC_FILTER 0
++#define CONFIG_ASYNCTS_FILTER 0
++#define CONFIG_ATEMPO_FILTER 0
++#define CONFIG_ATRIM_FILTER 0
++#define CONFIG_AZMQ_FILTER 0
++#define CONFIG_BANDPASS_FILTER 0
++#define CONFIG_BANDREJECT_FILTER 0
++#define CONFIG_BASS_FILTER 0
++#define CONFIG_BIQUAD_FILTER 0
++#define CONFIG_BS2B_FILTER 0
++#define CONFIG_CHANNELMAP_FILTER 0
++#define CONFIG_CHANNELSPLIT_FILTER 0
++#define CONFIG_CHORUS_FILTER 0
++#define CONFIG_COMPAND_FILTER 0
++#define CONFIG_DCSHIFT_FILTER 0
++#define CONFIG_DYNAUDNORM_FILTER 0
++#define CONFIG_EARWAX_FILTER 0
++#define CONFIG_EBUR128_FILTER 0
++#define CONFIG_EQUALIZER_FILTER 0
++#define CONFIG_EXTRASTEREO_FILTER 0
++#define CONFIG_FLANGER_FILTER 0
++#define CONFIG_HIGHPASS_FILTER 0
++#define CONFIG_JOIN_FILTER 0
++#define CONFIG_LADSPA_FILTER 0
++#define CONFIG_LOWPASS_FILTER 0
++#define CONFIG_PAN_FILTER 0
++#define CONFIG_REPLAYGAIN_FILTER 0
++#define CONFIG_RESAMPLE_FILTER 0
++#define CONFIG_RUBBERBAND_FILTER 0
++#define CONFIG_SIDECHAINCOMPRESS_FILTER 0
++#define CONFIG_SILENCEDETECT_FILTER 0
++#define CONFIG_SILENCEREMOVE_FILTER 0
++#define CONFIG_STEREOTOOLS_FILTER 0
++#define CONFIG_STEREOWIDEN_FILTER 0
++#define CONFIG_TREBLE_FILTER 0
++#define CONFIG_TREMOLO_FILTER 0
++#define CONFIG_VIBRATO_FILTER 0
++#define CONFIG_VOLUME_FILTER 0
++#define CONFIG_VOLUMEDETECT_FILTER 0
++#define CONFIG_AEVALSRC_FILTER 0
++#define CONFIG_ANULLSRC_FILTER 0
++#define CONFIG_FLITE_FILTER 0
++#define CONFIG_SINE_FILTER 0
++#define CONFIG_ANULLSINK_FILTER 0
++#define CONFIG_ALPHAEXTRACT_FILTER 0
++#define CONFIG_ALPHAMERGE_FILTER 0
++#define CONFIG_ATADENOISE_FILTER 0
++#define CONFIG_ASS_FILTER 0
++#define CONFIG_BBOX_FILTER 0
++#define CONFIG_BLACKDETECT_FILTER 0
++#define CONFIG_BLACKFRAME_FILTER 0
++#define CONFIG_BLEND_FILTER 0
++#define CONFIG_BOXBLUR_FILTER 0
++#define CONFIG_CHROMAKEY_FILTER 0
++#define CONFIG_CODECVIEW_FILTER 0
++#define CONFIG_COLORBALANCE_FILTER 0
++#define CONFIG_COLORCHANNELMIXER_FILTER 0
++#define CONFIG_COLORKEY_FILTER 0
++#define CONFIG_COLORLEVELS_FILTER 0
++#define CONFIG_COLORMATRIX_FILTER 0
++#define CONFIG_COPY_FILTER 0
++#define CONFIG_COVER_RECT_FILTER 0
++#define CONFIG_CROP_FILTER 0
++#define CONFIG_CROPDETECT_FILTER 0
++#define CONFIG_CURVES_FILTER 0
++#define CONFIG_DCTDNOIZ_FILTER 0
++#define CONFIG_DEBAND_FILTER 0
++#define CONFIG_DECIMATE_FILTER 0
++#define CONFIG_DEFLATE_FILTER 0
++#define CONFIG_DEJUDDER_FILTER 0
++#define CONFIG_DELOGO_FILTER 0
++#define CONFIG_DESHAKE_FILTER 0
++#define CONFIG_DETELECINE_FILTER 0
++#define CONFIG_DILATION_FILTER 0
++#define CONFIG_DISPLACE_FILTER 0
++#define CONFIG_DRAWBOX_FILTER 0
++#define CONFIG_DRAWGRAPH_FILTER 0
++#define CONFIG_DRAWGRID_FILTER 0
++#define CONFIG_DRAWTEXT_FILTER 0
++#define CONFIG_EDGEDETECT_FILTER 0
++#define CONFIG_ELBG_FILTER 0
++#define CONFIG_EQ_FILTER 0
++#define CONFIG_EROSION_FILTER 0
++#define CONFIG_EXTRACTPLANES_FILTER 0
++#define CONFIG_FADE_FILTER 0
++#define CONFIG_FFTFILT_FILTER 0
++#define CONFIG_FIELD_FILTER 0
++#define CONFIG_FIELDMATCH_FILTER 0
++#define CONFIG_FIELDORDER_FILTER 0
++#define CONFIG_FIND_RECT_FILTER 0
++#define CONFIG_FORMAT_FILTER 0
++#define CONFIG_FPS_FILTER 0
++#define CONFIG_FRAMEPACK_FILTER 0
++#define CONFIG_FRAMERATE_FILTER 0
++#define CONFIG_FRAMESTEP_FILTER 0
++#define CONFIG_FREI0R_FILTER 0
++#define CONFIG_FSPP_FILTER 0
++#define CONFIG_GEQ_FILTER 0
++#define CONFIG_GRADFUN_FILTER 0
++#define CONFIG_HALDCLUT_FILTER 0
++#define CONFIG_HFLIP_FILTER 0
++#define CONFIG_HISTEQ_FILTER 0
++#define CONFIG_HISTOGRAM_FILTER 0
++#define CONFIG_HQDN3D_FILTER 0
++#define CONFIG_HQX_FILTER 0
++#define CONFIG_HSTACK_FILTER 0
++#define CONFIG_HUE_FILTER 0
++#define CONFIG_IDET_FILTER 0
++#define CONFIG_IL_FILTER 0
++#define CONFIG_INFLATE_FILTER 0
++#define CONFIG_INTERLACE_FILTER 0
++#define CONFIG_INTERLEAVE_FILTER 0
++#define CONFIG_KERNDEINT_FILTER 0
++#define CONFIG_LENSCORRECTION_FILTER 0
++#define CONFIG_LUT3D_FILTER 0
++#define CONFIG_LUT_FILTER 0
++#define CONFIG_LUTRGB_FILTER 0
++#define CONFIG_LUTYUV_FILTER 0
++#define CONFIG_MASKEDMERGE_FILTER 0
++#define CONFIG_MCDEINT_FILTER 0
++#define CONFIG_MERGEPLANES_FILTER 0
++#define CONFIG_MPDECIMATE_FILTER 0
++#define CONFIG_NEGATE_FILTER 0
++#define CONFIG_NOFORMAT_FILTER 0
++#define CONFIG_NOISE_FILTER 0
++#define CONFIG_NULL_FILTER 0
++#define CONFIG_OCR_FILTER 0
++#define CONFIG_OCV_FILTER 0
++#define CONFIG_OVERLAY_FILTER 0
++#define CONFIG_OWDENOISE_FILTER 0
++#define CONFIG_PAD_FILTER 0
++#define CONFIG_PALETTEGEN_FILTER 0
++#define CONFIG_PALETTEUSE_FILTER 0
++#define CONFIG_PERMS_FILTER 0
++#define CONFIG_PERSPECTIVE_FILTER 0
++#define CONFIG_PHASE_FILTER 0
++#define CONFIG_PIXDESCTEST_FILTER 0
++#define CONFIG_PP_FILTER 0
++#define CONFIG_PP7_FILTER 0
++#define CONFIG_PSNR_FILTER 0
++#define CONFIG_PULLUP_FILTER 0
++#define CONFIG_QP_FILTER 0
++#define CONFIG_RANDOM_FILTER 0
++#define CONFIG_REMOVEGRAIN_FILTER 0
++#define CONFIG_REMOVELOGO_FILTER 0
++#define CONFIG_REPEATFIELDS_FILTER 0
++#define CONFIG_REVERSE_FILTER 0
++#define CONFIG_ROTATE_FILTER 0
++#define CONFIG_SAB_FILTER 0
++#define CONFIG_SCALE_FILTER 0
++#define CONFIG_SCALE2REF_FILTER 0
++#define CONFIG_SELECT_FILTER 0
++#define CONFIG_SELECTIVECOLOR_FILTER 0
++#define CONFIG_SENDCMD_FILTER 0
++#define CONFIG_SEPARATEFIELDS_FILTER 0
++#define CONFIG_SETDAR_FILTER 0
++#define CONFIG_SETFIELD_FILTER 0
++#define CONFIG_SETPTS_FILTER 0
++#define CONFIG_SETSAR_FILTER 0
++#define CONFIG_SETTB_FILTER 0
++#define CONFIG_SHOWINFO_FILTER 0
++#define CONFIG_SHOWPALETTE_FILTER 0
++#define CONFIG_SHUFFLEFRAMES_FILTER 0
++#define CONFIG_SHUFFLEPLANES_FILTER 0
++#define CONFIG_SIGNALSTATS_FILTER 0
++#define CONFIG_SMARTBLUR_FILTER 0
++#define CONFIG_SPLIT_FILTER 0
++#define CONFIG_SPP_FILTER 0
++#define CONFIG_SSIM_FILTER 0
++#define CONFIG_STEREO3D_FILTER 0
++#define CONFIG_SUBTITLES_FILTER 0
++#define CONFIG_SUPER2XSAI_FILTER 0
++#define CONFIG_SWAPUV_FILTER 0
++#define CONFIG_TBLEND_FILTER 0
++#define CONFIG_TELECINE_FILTER 0
++#define CONFIG_THUMBNAIL_FILTER 0
++#define CONFIG_TILE_FILTER 0
++#define CONFIG_TINTERLACE_FILTER 0
++#define CONFIG_TRANSPOSE_FILTER 0
++#define CONFIG_TRIM_FILTER 0
++#define CONFIG_UNSHARP_FILTER 0
++#define CONFIG_USPP_FILTER 0
++#define CONFIG_VECTORSCOPE_FILTER 0
++#define CONFIG_VFLIP_FILTER 0
++#define CONFIG_VIDSTABDETECT_FILTER 0
++#define CONFIG_VIDSTABTRANSFORM_FILTER 0
++#define CONFIG_VIGNETTE_FILTER 0
++#define CONFIG_VSTACK_FILTER 0
++#define CONFIG_W3FDIF_FILTER 0
++#define CONFIG_WAVEFORM_FILTER 0
++#define CONFIG_XBR_FILTER 0
++#define CONFIG_YADIF_FILTER 0
++#define CONFIG_ZMQ_FILTER 0
++#define CONFIG_ZOOMPAN_FILTER 0
++#define CONFIG_ZSCALE_FILTER 0
++#define CONFIG_ALLRGB_FILTER 0
++#define CONFIG_ALLYUV_FILTER 0
++#define CONFIG_CELLAUTO_FILTER 0
++#define CONFIG_COLOR_FILTER 0
++#define CONFIG_FREI0R_SRC_FILTER 0
++#define CONFIG_HALDCLUTSRC_FILTER 0
++#define CONFIG_LIFE_FILTER 0
++#define CONFIG_MANDELBROT_FILTER 0
++#define CONFIG_MPTESTSRC_FILTER 0
++#define CONFIG_NULLSRC_FILTER 0
++#define CONFIG_RGBTESTSRC_FILTER 0
++#define CONFIG_SMPTEBARS_FILTER 0
++#define CONFIG_SMPTEHDBARS_FILTER 0
++#define CONFIG_TESTSRC_FILTER 0
++#define CONFIG_NULLSINK_FILTER 0
++#define CONFIG_ADRAWGRAPH_FILTER 0
++#define CONFIG_APHASEMETER_FILTER 0
++#define CONFIG_AVECTORSCOPE_FILTER 0
++#define CONFIG_CONCAT_FILTER 0
++#define CONFIG_SHOWCQT_FILTER 0
++#define CONFIG_SHOWFREQS_FILTER 0
++#define CONFIG_SHOWSPECTRUM_FILTER 0
++#define CONFIG_SHOWVOLUME_FILTER 0
++#define CONFIG_SHOWWAVES_FILTER 0
++#define CONFIG_SHOWWAVESPIC_FILTER 0
++#define CONFIG_AMOVIE_FILTER 0
++#define CONFIG_MOVIE_FILTER 0
++#define CONFIG_H263_VAAPI_HWACCEL 0
++#define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_H264_D3D11VA_HWACCEL 0
++#define CONFIG_H264_DXVA2_HWACCEL 0
++#define CONFIG_H264_MMAL_HWACCEL 0
++#define CONFIG_H264_QSV_HWACCEL 0
++#define CONFIG_H264_VAAPI_HWACCEL 0
++#define CONFIG_H264_VDA_HWACCEL 0
++#define CONFIG_H264_VDA_OLD_HWACCEL 0
++#define CONFIG_H264_VDPAU_HWACCEL 0
++#define CONFIG_H264_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_HEVC_D3D11VA_HWACCEL 0
++#define CONFIG_HEVC_DXVA2_HWACCEL 0
++#define CONFIG_HEVC_QSV_HWACCEL 0
++#define CONFIG_HEVC_VAAPI_HWACCEL 0
++#define CONFIG_HEVC_VDPAU_HWACCEL 0
++#define CONFIG_MPEG1_XVMC_HWACCEL 0
++#define CONFIG_MPEG1_VDPAU_HWACCEL 0
++#define CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_MPEG2_XVMC_HWACCEL 0
++#define CONFIG_MPEG2_D3D11VA_HWACCEL 0
++#define CONFIG_MPEG2_DXVA2_HWACCEL 0
++#define CONFIG_MPEG2_MMAL_HWACCEL 0
++#define CONFIG_MPEG2_QSV_HWACCEL 0
++#define CONFIG_MPEG2_VAAPI_HWACCEL 0
++#define CONFIG_MPEG2_VDPAU_HWACCEL 0
++#define CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_MPEG4_VAAPI_HWACCEL 0
++#define CONFIG_MPEG4_VDPAU_HWACCEL 0
++#define CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_VC1_D3D11VA_HWACCEL 0
++#define CONFIG_VC1_DXVA2_HWACCEL 0
++#define CONFIG_VC1_VAAPI_HWACCEL 0
++#define CONFIG_VC1_VDPAU_HWACCEL 0
++#define CONFIG_VC1_QSV_HWACCEL 0
++#define CONFIG_WMV3_D3D11VA_HWACCEL 0
++#define CONFIG_WMV3_DXVA2_HWACCEL 0
++#define CONFIG_WMV3_VAAPI_HWACCEL 0
++#define CONFIG_WMV3_VDPAU_HWACCEL 0
++#define CONFIG_ALSA_INDEV 0
++#define CONFIG_AVFOUNDATION_INDEV 0
++#define CONFIG_BKTR_INDEV 0
++#define CONFIG_DECKLINK_INDEV 0
++#define CONFIG_DSHOW_INDEV 0
++#define CONFIG_DV1394_INDEV 0
++#define CONFIG_FBDEV_INDEV 0
++#define CONFIG_GDIGRAB_INDEV 0
++#define CONFIG_IEC61883_INDEV 0
++#define CONFIG_JACK_INDEV 0
++#define CONFIG_LAVFI_INDEV 0
++#define CONFIG_OPENAL_INDEV 0
++#define CONFIG_OSS_INDEV 0
++#define CONFIG_PULSE_INDEV 0
++#define CONFIG_QTKIT_INDEV 0
++#define CONFIG_SNDIO_INDEV 0
++#define CONFIG_V4L2_INDEV 0
++#define CONFIG_VFWCAP_INDEV 0
++#define CONFIG_X11GRAB_INDEV 0
++#define CONFIG_X11GRAB_XCB_INDEV 0
++#define CONFIG_LIBCDIO_INDEV 0
++#define CONFIG_LIBDC1394_INDEV 0
++#define CONFIG_A64_MUXER 0
++#define CONFIG_AC3_MUXER 0
++#define CONFIG_ADTS_MUXER 0
++#define CONFIG_ADX_MUXER 0
++#define CONFIG_AIFF_MUXER 0
++#define CONFIG_AMR_MUXER 0
++#define CONFIG_APNG_MUXER 0
++#define CONFIG_ASF_MUXER 0
++#define CONFIG_ASS_MUXER 0
++#define CONFIG_AST_MUXER 0
++#define CONFIG_ASF_STREAM_MUXER 0
++#define CONFIG_AU_MUXER 0
++#define CONFIG_AVI_MUXER 0
++#define CONFIG_AVM2_MUXER 0
++#define CONFIG_BIT_MUXER 0
++#define CONFIG_CAF_MUXER 0
++#define CONFIG_CAVSVIDEO_MUXER 0
++#define CONFIG_CRC_MUXER 0
++#define CONFIG_DASH_MUXER 0
++#define CONFIG_DATA_MUXER 0
++#define CONFIG_DAUD_MUXER 0
++#define CONFIG_DIRAC_MUXER 0
++#define CONFIG_DNXHD_MUXER 0
++#define CONFIG_DTS_MUXER 0
++#define CONFIG_DV_MUXER 0
++#define CONFIG_EAC3_MUXER 0
++#define CONFIG_F4V_MUXER 0
++#define CONFIG_FFM_MUXER 0
++#define CONFIG_FFMETADATA_MUXER 0
++#define CONFIG_FILMSTRIP_MUXER 0
++#define CONFIG_FLAC_MUXER 0
++#define CONFIG_FLV_MUXER 0
++#define CONFIG_FRAMECRC_MUXER 0
++#define CONFIG_FRAMEMD5_MUXER 0
++#define CONFIG_G722_MUXER 0
++#define CONFIG_G723_1_MUXER 0
++#define CONFIG_GIF_MUXER 0
++#define CONFIG_GXF_MUXER 0
++#define CONFIG_H261_MUXER 0
++#define CONFIG_H263_MUXER 0
++#define CONFIG_H264_MUXER 0
++#define CONFIG_HDS_MUXER 0
++#define CONFIG_HEVC_MUXER 0
++#define CONFIG_HLS_MUXER 0
++#define CONFIG_ICO_MUXER 0
++#define CONFIG_ILBC_MUXER 0
++#define CONFIG_IMAGE2_MUXER 0
++#define CONFIG_IMAGE2PIPE_MUXER 0
++#define CONFIG_IPOD_MUXER 0
++#define CONFIG_IRCAM_MUXER 0
++#define CONFIG_ISMV_MUXER 0
++#define CONFIG_IVF_MUXER 0
++#define CONFIG_JACOSUB_MUXER 0
++#define CONFIG_LATM_MUXER 0
++#define CONFIG_LRC_MUXER 0
++#define CONFIG_M4V_MUXER 0
++#define CONFIG_MD5_MUXER 0
++#define CONFIG_MATROSKA_MUXER 0
++#define CONFIG_MATROSKA_AUDIO_MUXER 0
++#define CONFIG_MICRODVD_MUXER 0
++#define CONFIG_MJPEG_MUXER 0
++#define CONFIG_MLP_MUXER 0
++#define CONFIG_MMF_MUXER 0
++#define CONFIG_MOV_MUXER 0
++#define CONFIG_MP2_MUXER 0
++#define CONFIG_MP3_MUXER 0
++#define CONFIG_MP4_MUXER 0
++#define CONFIG_MPEG1SYSTEM_MUXER 0
++#define CONFIG_MPEG1VCD_MUXER 0
++#define CONFIG_MPEG1VIDEO_MUXER 0
++#define CONFIG_MPEG2DVD_MUXER 0
++#define CONFIG_MPEG2SVCD_MUXER 0
++#define CONFIG_MPEG2VIDEO_MUXER 0
++#define CONFIG_MPEG2VOB_MUXER 0
++#define CONFIG_MPEGTS_MUXER 0
++#define CONFIG_MPJPEG_MUXER 0
++#define CONFIG_MXF_MUXER 0
++#define CONFIG_MXF_D10_MUXER 0
++#define CONFIG_MXF_OPATOM_MUXER 0
++#define CONFIG_NULL_MUXER 0
++#define CONFIG_NUT_MUXER 0
++#define CONFIG_OGA_MUXER 0
++#define CONFIG_OGG_MUXER 0
++#define CONFIG_OMA_MUXER 0
++#define CONFIG_OPUS_MUXER 0
++#define CONFIG_PCM_ALAW_MUXER 0
++#define CONFIG_PCM_MULAW_MUXER 0
++#define CONFIG_PCM_F64BE_MUXER 0
++#define CONFIG_PCM_F64LE_MUXER 0
++#define CONFIG_PCM_F32BE_MUXER 0
++#define CONFIG_PCM_F32LE_MUXER 0
++#define CONFIG_PCM_S32BE_MUXER 0
++#define CONFIG_PCM_S32LE_MUXER 0
++#define CONFIG_PCM_S24BE_MUXER 0
++#define CONFIG_PCM_S24LE_MUXER 0
++#define CONFIG_PCM_S16BE_MUXER 0
++#define CONFIG_PCM_S16LE_MUXER 0
++#define CONFIG_PCM_S8_MUXER 0
++#define CONFIG_PCM_U32BE_MUXER 0
++#define CONFIG_PCM_U32LE_MUXER 0
++#define CONFIG_PCM_U24BE_MUXER 0
++#define CONFIG_PCM_U24LE_MUXER 0
++#define CONFIG_PCM_U16BE_MUXER 0
++#define CONFIG_PCM_U16LE_MUXER 0
++#define CONFIG_PCM_U8_MUXER 0
++#define CONFIG_PSP_MUXER 0
++#define CONFIG_RAWVIDEO_MUXER 0
++#define CONFIG_RM_MUXER 0
++#define CONFIG_ROQ_MUXER 0
++#define CONFIG_RSO_MUXER 0
++#define CONFIG_RTP_MUXER 0
++#define CONFIG_RTP_MPEGTS_MUXER 0
++#define CONFIG_RTSP_MUXER 0
++#define CONFIG_SAP_MUXER 0
++#define CONFIG_SEGMENT_MUXER 0
++#define CONFIG_STREAM_SEGMENT_MUXER 0
++#define CONFIG_SINGLEJPEG_MUXER 0
++#define CONFIG_SMJPEG_MUXER 0
++#define CONFIG_SMOOTHSTREAMING_MUXER 0
++#define CONFIG_SOX_MUXER 0
++#define CONFIG_SPX_MUXER 0
++#define CONFIG_SPDIF_MUXER 0
++#define CONFIG_SRT_MUXER 0
++#define CONFIG_SWF_MUXER 0
++#define CONFIG_TEE_MUXER 0
++#define CONFIG_TG2_MUXER 0
++#define CONFIG_TGP_MUXER 0
++#define CONFIG_MKVTIMESTAMP_V2_MUXER 0
++#define CONFIG_TRUEHD_MUXER 0
++#define CONFIG_UNCODEDFRAMECRC_MUXER 0
++#define CONFIG_VC1_MUXER 0
++#define CONFIG_VC1T_MUXER 0
++#define CONFIG_VOC_MUXER 0
++#define CONFIG_W64_MUXER 0
++#define CONFIG_WAV_MUXER 0
++#define CONFIG_WEBM_MUXER 0
++#define CONFIG_WEBM_DASH_MANIFEST_MUXER 0
++#define CONFIG_WEBM_CHUNK_MUXER 0
++#define CONFIG_WEBP_MUXER 0
++#define CONFIG_WEBVTT_MUXER 0
++#define CONFIG_WTV_MUXER 0
++#define CONFIG_WV_MUXER 0
++#define CONFIG_YUV4MPEGPIPE_MUXER 0
++#define CONFIG_CHROMAPRINT_MUXER 0
++#define CONFIG_LIBNUT_MUXER 0
++#define CONFIG_ALSA_OUTDEV 0
++#define CONFIG_CACA_OUTDEV 0
++#define CONFIG_DECKLINK_OUTDEV 0
++#define CONFIG_FBDEV_OUTDEV 0
++#define CONFIG_OPENGL_OUTDEV 0
++#define CONFIG_OSS_OUTDEV 0
++#define CONFIG_PULSE_OUTDEV 0
++#define CONFIG_SDL_OUTDEV 0
++#define CONFIG_SNDIO_OUTDEV 0
++#define CONFIG_V4L2_OUTDEV 0
++#define CONFIG_XV_OUTDEV 0
++#define CONFIG_AAC_PARSER 1
++#define CONFIG_AAC_LATM_PARSER 0
++#define CONFIG_AC3_PARSER 0
++#define CONFIG_ADX_PARSER 0
++#define CONFIG_BMP_PARSER 0
++#define CONFIG_CAVSVIDEO_PARSER 0
++#define CONFIG_COOK_PARSER 0
++#define CONFIG_DCA_PARSER 0
++#define CONFIG_DIRAC_PARSER 0
++#define CONFIG_DNXHD_PARSER 0
++#define CONFIG_DPX_PARSER 0
++#define CONFIG_DVBSUB_PARSER 0
++#define CONFIG_DVDSUB_PARSER 0
++#define CONFIG_DVD_NAV_PARSER 0
++#define CONFIG_FLAC_PARSER 0
++#define CONFIG_G729_PARSER 0
++#define CONFIG_GSM_PARSER 0
++#define CONFIG_H261_PARSER 0
++#define CONFIG_H263_PARSER 0
++#define CONFIG_H264_PARSER 1
++#define CONFIG_HEVC_PARSER 0
++#define CONFIG_MJPEG_PARSER 0
++#define CONFIG_MLP_PARSER 0
++#define CONFIG_MPEG4VIDEO_PARSER 0
++#define CONFIG_MPEGAUDIO_PARSER 1
++#define CONFIG_MPEGVIDEO_PARSER 0
++#define CONFIG_OPUS_PARSER 1
++#define CONFIG_PNG_PARSER 0
++#define CONFIG_PNM_PARSER 0
++#define CONFIG_RV30_PARSER 0
++#define CONFIG_RV40_PARSER 0
++#define CONFIG_TAK_PARSER 0
++#define CONFIG_VC1_PARSER 0
++#define CONFIG_VORBIS_PARSER 1
++#define CONFIG_VP3_PARSER 1
++#define CONFIG_VP8_PARSER 1
++#define CONFIG_VP9_PARSER 0
++#define CONFIG_ASYNC_PROTOCOL 0
++#define CONFIG_BLURAY_PROTOCOL 0
++#define CONFIG_CACHE_PROTOCOL 0
++#define CONFIG_CONCAT_PROTOCOL 0
++#define CONFIG_CRYPTO_PROTOCOL 0
++#define CONFIG_DATA_PROTOCOL 0
++#define CONFIG_FFRTMPCRYPT_PROTOCOL 0
++#define CONFIG_FFRTMPHTTP_PROTOCOL 0
++#define CONFIG_FILE_PROTOCOL 0
++#define CONFIG_FTP_PROTOCOL 0
++#define CONFIG_GOPHER_PROTOCOL 0
++#define CONFIG_HLS_PROTOCOL 0
++#define CONFIG_HTTP_PROTOCOL 0
++#define CONFIG_HTTPPROXY_PROTOCOL 0
++#define CONFIG_HTTPS_PROTOCOL 0
++#define CONFIG_ICECAST_PROTOCOL 0
++#define CONFIG_MMSH_PROTOCOL 0
++#define CONFIG_MMST_PROTOCOL 0
++#define CONFIG_MD5_PROTOCOL 0
++#define CONFIG_PIPE_PROTOCOL 0
++#define CONFIG_RTMP_PROTOCOL 0
++#define CONFIG_RTMPE_PROTOCOL 0
++#define CONFIG_RTMPS_PROTOCOL 0
++#define CONFIG_RTMPT_PROTOCOL 0
++#define CONFIG_RTMPTE_PROTOCOL 0
++#define CONFIG_RTMPTS_PROTOCOL 0
++#define CONFIG_RTP_PROTOCOL 0
++#define CONFIG_SCTP_PROTOCOL 0
++#define CONFIG_SRTP_PROTOCOL 0
++#define CONFIG_SUBFILE_PROTOCOL 0
++#define CONFIG_TCP_PROTOCOL 0
++#define CONFIG_TLS_SECURETRANSPORT_PROTOCOL 0
++#define CONFIG_TLS_GNUTLS_PROTOCOL 0
++#define CONFIG_TLS_OPENSSL_PROTOCOL 0
++#define CONFIG_UDP_PROTOCOL 0
++#define CONFIG_UDPLITE_PROTOCOL 0
++#define CONFIG_UNIX_PROTOCOL 0
++#define CONFIG_LIBRTMP_PROTOCOL 0
++#define CONFIG_LIBRTMPE_PROTOCOL 0
++#define CONFIG_LIBRTMPS_PROTOCOL 0
++#define CONFIG_LIBRTMPT_PROTOCOL 0
++#define CONFIG_LIBRTMPTE_PROTOCOL 0
++#define CONFIG_LIBSSH_PROTOCOL 0
++#define CONFIG_LIBSMBCLIENT_PROTOCOL 0
++#endif /* FFMPEG_CONFIG_H */
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm
new file mode 100644
index 0000000..8ffd14a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm
@@ -0,0 +1,2021 @@
+$OpenBSD: patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_asm,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/chromium/config/Chrome/openbsd/x64/config.asm.orig.port Fri Jan 22 20:01:51 2016
++++ third_party/ffmpeg/chromium/config/Chrome/openbsd/x64/config.asm Fri Jan 22 23:21:30 2016
+@@ -0,0 +1,2017 @@
++%define ARCH_AARCH64 0
++%define ARCH_ALPHA 0
++%define ARCH_ARM 0
++%define ARCH_AVR32 0
++%define ARCH_AVR32_AP 0
++%define ARCH_AVR32_UC 0
++%define ARCH_BFIN 0
++%define ARCH_IA64 0
++%define ARCH_M68K 0
++%define ARCH_MIPS 0
++%define ARCH_MIPS64 0
++%define ARCH_PARISC 0
++%define ARCH_PPC 0
++%define ARCH_PPC64 0
++%define ARCH_S390 0
++%define ARCH_SH4 0
++%define ARCH_SPARC 0
++%define ARCH_SPARC64 0
++%define ARCH_TILEGX 0
++%define ARCH_TILEPRO 0
++%define ARCH_TOMI 0
++%define ARCH_X86 1
++%define ARCH_X86_32 0
++%define ARCH_X86_64 1
++%define HAVE_ARMV5TE 0
++%define HAVE_ARMV6 0
++%define HAVE_ARMV6T2 0
++%define HAVE_ARMV8 0
++%define HAVE_NEON 0
++%define HAVE_VFP 0
++%define HAVE_VFPV3 0
++%define HAVE_SETEND 0
++%define HAVE_ALTIVEC 0
++%define HAVE_DCBZL 0
++%define HAVE_LDBRX 0
++%define HAVE_POWER8 0
++%define HAVE_PPC4XX 0
++%define HAVE_VSX 0
++%define HAVE_AESNI 1
++%define HAVE_AMD3DNOW 1
++%define HAVE_AMD3DNOWEXT 1
++%define HAVE_AVX 1
++%define HAVE_AVX2 1
++%define HAVE_FMA3 1
++%define HAVE_FMA4 1
++%define HAVE_MMX 1
++%define HAVE_MMXEXT 1
++%define HAVE_SSE 1
++%define HAVE_SSE2 1
++%define HAVE_SSE3 1
++%define HAVE_SSE4 1
++%define HAVE_SSE42 1
++%define HAVE_SSSE3 1
++%define HAVE_XOP 1
++%define HAVE_CPUNOP 1
++%define HAVE_I686 1
++%define HAVE_MIPSFPU 0
++%define HAVE_MIPS32R2 0
++%define HAVE_MIPS32R5 0
++%define HAVE_MIPS64R6 0
++%define HAVE_MIPSDSPR1 0
++%define HAVE_MIPSDSPR2 0
++%define HAVE_MSA 0
++%define HAVE_LOONGSON2 1
++%define HAVE_LOONGSON3 1
++%define HAVE_MMI 0
++%define HAVE_ARMV5TE_EXTERNAL 0
++%define HAVE_ARMV6_EXTERNAL 0
++%define HAVE_ARMV6T2_EXTERNAL 0
++%define HAVE_ARMV8_EXTERNAL 0
++%define HAVE_NEON_EXTERNAL 0
++%define HAVE_VFP_EXTERNAL 0
++%define HAVE_VFPV3_EXTERNAL 0
++%define HAVE_SETEND_EXTERNAL 0
++%define HAVE_ALTIVEC_EXTERNAL 0
++%define HAVE_DCBZL_EXTERNAL 0
++%define HAVE_LDBRX_EXTERNAL 0
++%define HAVE_POWER8_EXTERNAL 0
++%define HAVE_PPC4XX_EXTERNAL 0
++%define HAVE_VSX_EXTERNAL 0
++%define HAVE_AESNI_EXTERNAL 1
++%define HAVE_AMD3DNOW_EXTERNAL 1
++%define HAVE_AMD3DNOWEXT_EXTERNAL 1
++%define HAVE_AVX_EXTERNAL 1
++%define HAVE_AVX2_EXTERNAL 1
++%define HAVE_FMA3_EXTERNAL 1
++%define HAVE_FMA4_EXTERNAL 1
++%define HAVE_MMX_EXTERNAL 1
++%define HAVE_MMXEXT_EXTERNAL 1
++%define HAVE_SSE_EXTERNAL 1
++%define HAVE_SSE2_EXTERNAL 1
++%define HAVE_SSE3_EXTERNAL 1
++%define HAVE_SSE4_EXTERNAL 1
++%define HAVE_SSE42_EXTERNAL 1
++%define HAVE_SSSE3_EXTERNAL 1
++%define HAVE_XOP_EXTERNAL 1
++%define HAVE_CPUNOP_EXTERNAL 0
++%define HAVE_I686_EXTERNAL 0
++%define HAVE_MIPSFPU_EXTERNAL 0
++%define HAVE_MIPS32R2_EXTERNAL 0
++%define HAVE_MIPS32R5_EXTERNAL 0
++%define HAVE_MIPS64R6_EXTERNAL 0
++%define HAVE_MIPSDSPR1_EXTERNAL 0
++%define HAVE_MIPSDSPR2_EXTERNAL 0
++%define HAVE_MSA_EXTERNAL 0
++%define HAVE_LOONGSON2_EXTERNAL 0
++%define HAVE_LOONGSON3_EXTERNAL 0
++%define HAVE_MMI_EXTERNAL 0
++%define HAVE_ARMV5TE_INLINE 0
++%define HAVE_ARMV6_INLINE 0
++%define HAVE_ARMV6T2_INLINE 0
++%define HAVE_ARMV8_INLINE 0
++%define HAVE_NEON_INLINE 0
++%define HAVE_VFP_INLINE 0
++%define HAVE_VFPV3_INLINE 0
++%define HAVE_SETEND_INLINE 0
++%define HAVE_ALTIVEC_INLINE 0
++%define HAVE_DCBZL_INLINE 0
++%define HAVE_LDBRX_INLINE 0
++%define HAVE_POWER8_INLINE 0
++%define HAVE_PPC4XX_INLINE 0
++%define HAVE_VSX_INLINE 0
++%define HAVE_AESNI_INLINE 1
++%define HAVE_AMD3DNOW_INLINE 1
++%define HAVE_AMD3DNOWEXT_INLINE 1
++%define HAVE_AVX_INLINE 1
++%define HAVE_AVX2_INLINE 1
++%define HAVE_FMA3_INLINE 1
++%define HAVE_FMA4_INLINE 1
++%define HAVE_MMX_INLINE 1
++%define HAVE_MMXEXT_INLINE 1
++%define HAVE_SSE_INLINE 1
++%define HAVE_SSE2_INLINE 1
++%define HAVE_SSE3_INLINE 1
++%define HAVE_SSE4_INLINE 1
++%define HAVE_SSE42_INLINE 1
++%define HAVE_SSSE3_INLINE 1
++%define HAVE_XOP_INLINE 1
++%define HAVE_CPUNOP_INLINE 0
++%define HAVE_I686_INLINE 0
++%define HAVE_MIPSFPU_INLINE 0
++%define HAVE_MIPS32R2_INLINE 0
++%define HAVE_MIPS32R5_INLINE 0
++%define HAVE_MIPS64R6_INLINE 0
++%define HAVE_MIPSDSPR1_INLINE 0
++%define HAVE_MIPSDSPR2_INLINE 0
++%define HAVE_MSA_INLINE 0
++%define HAVE_LOONGSON2_INLINE 0
++%define HAVE_LOONGSON3_INLINE 0
++%define HAVE_MMI_INLINE 0
++%define HAVE_ALIGNED_STACK 1
++%define HAVE_FAST_64BIT 1
++%define HAVE_FAST_CLZ 1
++%define HAVE_FAST_CMOV 1
++%define HAVE_LOCAL_ALIGNED_8 1
++%define HAVE_LOCAL_ALIGNED_16 1
++%define HAVE_LOCAL_ALIGNED_32 1
++%define HAVE_SIMD_ALIGN_16 1
++%define HAVE_ATOMICS_GCC 1
++%define HAVE_ATOMICS_SUNCC 0
++%define HAVE_ATOMICS_WIN32 0
++%define HAVE_ATOMIC_CAS_PTR 0
++%define HAVE_ATOMIC_COMPARE_EXCHANGE 1
++%define HAVE_MACHINE_RW_BARRIER 0
++%define HAVE_MEMORYBARRIER 0
++%define HAVE_MM_EMPTY 1
++%define HAVE_RDTSC 0
++%define HAVE_SARESTART 1
++%define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
++%define HAVE_INLINE_ASM 1
++%define HAVE_SYMVER 0
++%define HAVE_YASM 1
++%define HAVE_BIGENDIAN 0
++%define HAVE_FAST_UNALIGNED 1
++%define HAVE_INCOMPATIBLE_LIBAV_ABI 0
++%define HAVE_ALSA_ASOUNDLIB_H 0
++%define HAVE_ALTIVEC_H 0
++%define HAVE_ARPA_INET_H 0
++%define HAVE_ASM_TYPES_H 0
++%define HAVE_CDIO_PARANOIA_H 0
++%define HAVE_CDIO_PARANOIA_PARANOIA_H 0
++%define HAVE_DEV_BKTR_IOCTL_BT848_H 0
++%define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
++%define HAVE_DEV_IC_BT8XX_H 1
++%define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
++%define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
++%define HAVE_DIRECT_H 0
++%define HAVE_DIRENT_H 1
++%define HAVE_DLFCN_H 1
++%define HAVE_D3D11_H 0
++%define HAVE_DXVA_H 0
++%define HAVE_ES2_GL_H 0
++%define HAVE_GSM_H 0
++%define HAVE_IO_H 0
++%define HAVE_MACH_MACH_TIME_H 0
++%define HAVE_MACHINE_IOCTL_BT848_H 0
++%define HAVE_MACHINE_IOCTL_METEOR_H 0
++%define HAVE_MALLOC_H 1
++%define HAVE_OPENJPEG_1_5_OPENJPEG_H 0
++%define HAVE_OPENGL_GL3_H 0
++%define HAVE_POLL_H 1
++%define HAVE_SNDIO_H 1
++%define HAVE_SOUNDCARD_H 1
++%define HAVE_SYS_MMAN_H 1
++%define HAVE_SYS_PARAM_H 1
++%define HAVE_SYS_RESOURCE_H 1
++%define HAVE_SYS_SELECT_H 1
++%define HAVE_SYS_SOUNDCARD_H 0
++%define HAVE_SYS_TIME_H 1
++%define HAVE_SYS_UN_H 1
++%define HAVE_SYS_VIDEOIO_H 1
++%define HAVE_TERMIOS_H 1
++%define HAVE_UDPLITE_H 0
++%define HAVE_UNISTD_H 1
++%define HAVE_VALGRIND_VALGRIND_H 0
++%define HAVE_WINDOWS_H 0
++%define HAVE_WINSOCK2_H 0
++%define HAVE_INTRINSICS_NEON 0
++%define HAVE_ATANF 1
++%define HAVE_ATAN2F 1
++%define HAVE_CBRT 1
++%define HAVE_CBRTF 1
++%define HAVE_COPYSIGN 1
++%define HAVE_COSF 1
++%define HAVE_ERF 1
++%define HAVE_EXP2 1
++%define HAVE_EXP2F 1
++%define HAVE_EXPF 1
++%define HAVE_ISINF 1
++%define HAVE_ISNAN 1
++%define HAVE_LDEXPF 1
++%define HAVE_LLRINT 1
++%define HAVE_LLRINTF 1
++%define HAVE_LOG2 1
++%define HAVE_LOG2F 1
++%define HAVE_LOG10F 1
++%define HAVE_LRINT 1
++%define HAVE_LRINTF 1
++%define HAVE_POWF 1
++%define HAVE_RINT 1
++%define HAVE_ROUND 1
++%define HAVE_ROUNDF 1
++%define HAVE_SINF 1
++%define HAVE_TRUNC 1
++%define HAVE_TRUNCF 1
++%define HAVE_ACCESS 1
++%define HAVE_ALIGNED_MALLOC 0
++%define HAVE_CLOCK_GETTIME 1
++%define HAVE_CLOSESOCKET 0
++%define HAVE_COMMANDLINETOARGVW 0
++%define HAVE_COTASKMEMFREE 0
++%define HAVE_CRYPTGENRANDOM 0
++%define HAVE_DLOPEN 1
++%define HAVE_FCNTL 1
++%define HAVE_FLT_LIM 1
++%define HAVE_FORK 1
++%define HAVE_GETADDRINFO 0
++%define HAVE_GETHRTIME 0
++%define HAVE_GETOPT 1
++%define HAVE_GETPROCESSAFFINITYMASK 0
++%define HAVE_GETPROCESSMEMORYINFO 0
++%define HAVE_GETPROCESSTIMES 0
++%define HAVE_GETRUSAGE 1
++%define HAVE_GETSYSTEMTIMEASFILETIME 0
++%define HAVE_GETTIMEOFDAY 1
++%define HAVE_GLOB 1
++%define HAVE_GLXGETPROCADDRESS 0
++%define HAVE_GMTIME_R 1
++%define HAVE_INET_ATON 0
++%define HAVE_ISATTY 1
++%define HAVE_JACK_PORT_GET_LATENCY_RANGE 0
++%define HAVE_KBHIT 0
++%define HAVE_LOCALTIME_R 1
++%define HAVE_LSTAT 1
++%define HAVE_LZO1X_999_COMPRESS 0
++%define HAVE_MACH_ABSOLUTE_TIME 0
++%define HAVE_MAPVIEWOFFILE 0
++%define HAVE_MEMALIGN 0
++%define HAVE_MKSTEMP 1
++%define HAVE_MMAP 1
++%define HAVE_MPROTECT 1
++%define HAVE_NANOSLEEP 1
++%define HAVE_PEEKNAMEDPIPE 0
++%define HAVE_POSIX_MEMALIGN 1
++%define HAVE_PTHREAD_CANCEL 1
++%define HAVE_SCHED_GETAFFINITY 0
++%define HAVE_SETCONSOLETEXTATTRIBUTE 0
++%define HAVE_SETCONSOLECTRLHANDLER 0
++%define HAVE_SETMODE 0
++%define HAVE_SETRLIMIT 1
++%define HAVE_SLEEP 0
++%define HAVE_STRERROR_R 1
++%define HAVE_SYSCONF 1
++%define HAVE_SYSCTL 1
++%define HAVE_USLEEP 1
++%define HAVE_UTGETOSTYPEFROMSTRING 0
++%define HAVE_VIRTUALALLOC 0
++%define HAVE_WGLGETPROCADDRESS 0
++%define HAVE_PTHREADS 1
++%define HAVE_OS2THREADS 0
++%define HAVE_W32THREADS 0
++%define HAVE_AS_DN_DIRECTIVE 0
++%define HAVE_AS_FUNC 0
++%define HAVE_AS_OBJECT_ARCH 0
++%define HAVE_ASM_MOD_Q 0
++%define HAVE_ATTRIBUTE_MAY_ALIAS 1
++%define HAVE_ATTRIBUTE_PACKED 1
++%define HAVE_EBP_AVAILABLE 1
++%define HAVE_EBX_AVAILABLE 1
++%define HAVE_GNU_AS 0
++%define HAVE_GNU_WINDRES 0
++%define HAVE_IBM_ASM 0
++%define HAVE_INLINE_ASM_LABELS 1
++%define HAVE_INLINE_ASM_NONLOCAL_LABELS 1
++%define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 1
++%define HAVE_PRAGMA_DEPRECATED 1
++%define HAVE_RSYNC_CONTIMEOUT 1
++%define HAVE_SYMVER_ASM_LABEL 1
++%define HAVE_SYMVER_GNU_ASM 1
++%define HAVE_VFP_ARGS 0
++%define HAVE_XFORM_ASM 0
++%define HAVE_XMM_CLOBBERS 1
++%define HAVE_CONDITION_VARIABLE_PTR 0
++%define HAVE_SOCKLEN_T 0
++%define HAVE_STRUCT_ADDRINFO 0
++%define HAVE_STRUCT_DCADEC_EXSS_INFO_MATRIX_ENCODING 0
++%define HAVE_STRUCT_GROUP_SOURCE_REQ 0
++%define HAVE_STRUCT_IP_MREQ_SOURCE 0
++%define HAVE_STRUCT_IPV6_MREQ 0
++%define HAVE_STRUCT_POLLFD 0
++%define HAVE_STRUCT_RUSAGE_RU_MAXRSS 1
++%define HAVE_STRUCT_SCTP_EVENT_SUBSCRIBE 0
++%define HAVE_STRUCT_SOCKADDR_IN6 0
++%define HAVE_STRUCT_SOCKADDR_SA_LEN 0
++%define HAVE_STRUCT_SOCKADDR_STORAGE 0
++%define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
++%define HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE 1
++%define HAVE_ATOMICS_NATIVE 1
++%define HAVE_DOS_PATHS 0
++%define HAVE_DXVA2API_COBJ 0
++%define HAVE_DXVA2_LIB 0
++%define HAVE_WINRT 0
++%define HAVE_LIBC_MSVCRT 0
++%define HAVE_LIBDC1394_1 0
++%define HAVE_LIBDC1394_2 0
++%define HAVE_MAKEINFO 1
++%define HAVE_MAKEINFO_HTML 0
++%define HAVE_PERL 1
++%define HAVE_POD2MAN 1
++%define HAVE_SDL 0
++%define HAVE_SECTION_DATA_REL_RO 0
++%define HAVE_TEXI2HTML 1
++%define HAVE_THREADS 1
++%define HAVE_VAAPI_X11 0
++%define HAVE_VDPAU_X11 0
++%define HAVE_XLIB 0
++%define CONFIG_BSFS 0
++%define CONFIG_DECODERS 1
++%define CONFIG_ENCODERS 0
++%define CONFIG_HWACCELS 0
++%define CONFIG_PARSERS 1
++%define CONFIG_INDEVS 0
++%define CONFIG_OUTDEVS 0
++%define CONFIG_FILTERS 0
++%define CONFIG_DEMUXERS 1
++%define CONFIG_MUXERS 0
++%define CONFIG_PROTOCOLS 0
++%define CONFIG_DOC 0
++%define CONFIG_HTMLPAGES 0
++%define CONFIG_MANPAGES 0
++%define CONFIG_PODPAGES 0
++%define CONFIG_TXTPAGES 0
++%define CONFIG_AVIO_READING_EXAMPLE 1
++%define CONFIG_AVIO_DIR_CMD_EXAMPLE 1
++%define CONFIG_DECODING_ENCODING_EXAMPLE 1
++%define CONFIG_DEMUXING_DECODING_EXAMPLE 1
++%define CONFIG_EXTRACT_MVS_EXAMPLE 1
++%define CONFIG_FILTER_AUDIO_EXAMPLE 0
++%define CONFIG_FILTERING_AUDIO_EXAMPLE 0
++%define CONFIG_FILTERING_VIDEO_EXAMPLE 0
++%define CONFIG_METADATA_EXAMPLE 1
++%define CONFIG_MUXING_EXAMPLE 0
++%define CONFIG_QSVDEC_EXAMPLE 0
++%define CONFIG_REMUXING_EXAMPLE 1
++%define CONFIG_RESAMPLING_AUDIO_EXAMPLE 0
++%define CONFIG_SCALING_VIDEO_EXAMPLE 0
++%define CONFIG_TRANSCODE_AAC_EXAMPLE 0
++%define CONFIG_TRANSCODING_EXAMPLE 0
++%define CONFIG_AVISYNTH 0
++%define CONFIG_BZLIB 0
++%define CONFIG_CHROMAPRINT 0
++%define CONFIG_CRYSTALHD 0
++%define CONFIG_DECKLINK 0
++%define CONFIG_FREI0R 0
++%define CONFIG_GNUTLS 0
++%define CONFIG_ICONV 0
++%define CONFIG_LADSPA 0
++%define CONFIG_LIBAACPLUS 0
++%define CONFIG_LIBASS 0
++%define CONFIG_LIBBLURAY 0
++%define CONFIG_LIBBS2B 0
++%define CONFIG_LIBCACA 0
++%define CONFIG_LIBCDIO 0
++%define CONFIG_LIBCELT 0
++%define CONFIG_LIBDC1394 0
++%define CONFIG_LIBDCADEC 0
++%define CONFIG_LIBFAAC 0
++%define CONFIG_LIBFDK_AAC 0
++%define CONFIG_LIBFLITE 0
++%define CONFIG_LIBFONTCONFIG 0
++%define CONFIG_LIBFREETYPE 0
++%define CONFIG_LIBFRIBIDI 0
++%define CONFIG_LIBGME 0
++%define CONFIG_LIBGSM 0
++%define CONFIG_LIBIEC61883 0
++%define CONFIG_LIBILBC 0
++%define CONFIG_LIBKVAZAAR 0
++%define CONFIG_LIBMFX 0
++%define CONFIG_LIBMODPLUG 0
++%define CONFIG_LIBMP3LAME 0
++%define CONFIG_LIBNUT 0
++%define CONFIG_LIBOPENCORE_AMRNB 0
++%define CONFIG_LIBOPENCORE_AMRWB 0
++%define CONFIG_LIBOPENCV 0
++%define CONFIG_LIBOPENH264 0
++%define CONFIG_LIBOPENJPEG 0
++%define CONFIG_LIBOPUS 0
++%define CONFIG_LIBPULSE 0
++%define CONFIG_LIBQUVI 0
++%define CONFIG_LIBRTMP 0
++%define CONFIG_LIBRUBBERBAND 0
++%define CONFIG_LIBSCHROEDINGER 0
++%define CONFIG_LIBSHINE 0
++%define CONFIG_LIBSMBCLIENT 0
++%define CONFIG_LIBSNAPPY 0
++%define CONFIG_LIBSOXR 0
++%define CONFIG_LIBSPEEX 0
++%define CONFIG_LIBSSH 0
++%define CONFIG_LIBSTAGEFRIGHT_H264 0
++%define CONFIG_LIBTESSERACT 0
++%define CONFIG_LIBTHEORA 0
++%define CONFIG_LIBTWOLAME 0
++%define CONFIG_LIBUTVIDEO 0
++%define CONFIG_LIBV4L2 0
++%define CONFIG_LIBVIDSTAB 0
++%define CONFIG_LIBVO_AACENC 0
++%define CONFIG_LIBVO_AMRWBENC 0
++%define CONFIG_LIBVORBIS 0
++%define CONFIG_LIBVPX 0
++%define CONFIG_LIBWAVPACK 0
++%define CONFIG_LIBWEBP 0
++%define CONFIG_LIBX264 0
++%define CONFIG_LIBX265 0
++%define CONFIG_LIBXAVS 0
++%define CONFIG_LIBXCB 1
++%define CONFIG_LIBXCB_SHM 1
++%define CONFIG_LIBXCB_SHAPE 1
++%define CONFIG_LIBXCB_XFIXES 1
++%define CONFIG_LIBXVID 0
++%define CONFIG_LIBZIMG 0
++%define CONFIG_LIBZMQ 0
++%define CONFIG_LIBZVBI 0
++%define CONFIG_LZMA 0
++%define CONFIG_MMAL 0
++%define CONFIG_NVENC 0
++%define CONFIG_OPENAL 0
++%define CONFIG_OPENCL 0
++%define CONFIG_OPENGL 0
++%define CONFIG_OPENSSL 0
++%define CONFIG_SDL 0
++%define CONFIG_SECURETRANSPORT 0
++%define CONFIG_X11GRAB 0
++%define CONFIG_XLIB 0
++%define CONFIG_ZLIB 0
++%define CONFIG_FTRAPV 0
++%define CONFIG_GRAY 0
++%define CONFIG_HARDCODED_TABLES 0
++%define CONFIG_RUNTIME_CPUDETECT 1
++%define CONFIG_SAFE_BITSTREAM_READER 1
++%define CONFIG_SHARED 0
++%define CONFIG_SMALL 0
++%define CONFIG_STATIC 1
++%define CONFIG_SWSCALE_ALPHA 1
++%define CONFIG_D3D11VA 0
++%define CONFIG_DXVA2 0
++%define CONFIG_VAAPI 0
++%define CONFIG_VDA 0
++%define CONFIG_VDPAU 0
++%define CONFIG_VIDEOTOOLBOX 0
++%define CONFIG_XVMC 0
++%define CONFIG_GPL 0
++%define CONFIG_NONFREE 0
++%define CONFIG_VERSION3 0
++%define CONFIG_AVCODEC 1
++%define CONFIG_AVDEVICE 0
++%define CONFIG_AVFILTER 0
++%define CONFIG_AVFORMAT 1
++%define CONFIG_AVRESAMPLE 0
++%define CONFIG_AVUTIL 1
++%define CONFIG_POSTPROC 0
++%define CONFIG_SWRESAMPLE 0
++%define CONFIG_SWSCALE 0
++%define CONFIG_FFPLAY 0
++%define CONFIG_FFPROBE 0
++%define CONFIG_FFSERVER 0
++%define CONFIG_FFMPEG 0
++%define CONFIG_DCT 1
++%define CONFIG_DWT 0
++%define CONFIG_ERROR_RESILIENCE 0
++%define CONFIG_FAAN 1
++%define CONFIG_FAST_UNALIGNED 1
++%define CONFIG_FFT 1
++%define CONFIG_LSP 0
++%define CONFIG_LZO 0
++%define CONFIG_MDCT 1
++%define CONFIG_PIXELUTILS 0
++%define CONFIG_NETWORK 0
++%define CONFIG_RDFT 1
++%define CONFIG_FONTCONFIG 0
++%define CONFIG_INCOMPATIBLE_LIBAV_ABI 0
++%define CONFIG_MEMALIGN_HACK 0
++%define CONFIG_MEMORY_POISONING 0
++%define CONFIG_NEON_CLOBBER_TEST 0
++%define CONFIG_PIC 1
++%define CONFIG_POD2MAN 1
++%define CONFIG_RAISE_MAJOR 0
++%define CONFIG_THUMB 0
++%define CONFIG_VALGRIND_BACKTRACE 0
++%define CONFIG_XMM_CLOBBER_TEST 0
++%define CONFIG_AANDCTTABLES 0
++%define CONFIG_AC3DSP 0
++%define CONFIG_AUDIO_FRAME_QUEUE 0
++%define CONFIG_AUDIODSP 0
++%define CONFIG_BLOCKDSP 0
++%define CONFIG_BSWAPDSP 0
++%define CONFIG_CABAC 1
++%define CONFIG_DVPROFILE 0
++%define CONFIG_EXIF 0
++%define CONFIG_FAANDCT 0
++%define CONFIG_FAANIDCT 0
++%define CONFIG_FDCTDSP 0
++%define CONFIG_FLACDSP 0
++%define CONFIG_FMTCONVERT 0
++%define CONFIG_FRAME_THREAD_ENCODER 0
++%define CONFIG_G722DSP 0
++%define CONFIG_GCRYPT 0
++%define CONFIG_GMP 0
++%define CONFIG_GOLOMB 1
++%define CONFIG_GPLV3 0
++%define CONFIG_H263DSP 0
++%define CONFIG_H264CHROMA 1
++%define CONFIG_H264DSP 1
++%define CONFIG_H264PRED 1
++%define CONFIG_H264QPEL 1
++%define CONFIG_HPELDSP 1
++%define CONFIG_HUFFMAN 0
++%define CONFIG_HUFFYUVDSP 0
++%define CONFIG_HUFFYUVENCDSP 0
++%define CONFIG_IDCTDSP 0
++%define CONFIG_IIRFILTER 0
++%define CONFIG_IMDCT15 1
++%define CONFIG_INTRAX8 0
++%define CONFIG_IVIDSP 0
++%define CONFIG_JPEGTABLES 0
++%define CONFIG_LIBX262 0
++%define CONFIG_LGPLV3 0
++%define CONFIG_LLAUDDSP 0
++%define CONFIG_LLVIDDSP 0
++%define CONFIG_LPC 0
++%define CONFIG_LZF 0
++%define CONFIG_ME_CMP 0
++%define CONFIG_MPEG_ER 0
++%define CONFIG_MPEGAUDIO 1
++%define CONFIG_MPEGAUDIODSP 1
++%define CONFIG_MPEGVIDEO 0
++%define CONFIG_MPEGVIDEOENC 0
++%define CONFIG_MSS34DSP 0
++%define CONFIG_PIXBLOCKDSP 0
++%define CONFIG_QPELDSP 0
++%define CONFIG_QSV 0
++%define CONFIG_QSVDEC 0
++%define CONFIG_QSVENC 0
++%define CONFIG_RANGECODER 0
++%define CONFIG_RIFFDEC 1
++%define CONFIG_RIFFENC 0
++%define CONFIG_RTPDEC 0
++%define CONFIG_RTPENC_CHAIN 0
++%define CONFIG_RV34DSP 0
++%define CONFIG_SINEWIN 1
++%define CONFIG_SNAPPY 0
++%define CONFIG_STARTCODE 1
++%define CONFIG_TEXTUREDSP 0
++%define CONFIG_TEXTUREDSPENC 0
++%define CONFIG_TPELDSP 0
++%define CONFIG_VIDEODSP 1
++%define CONFIG_VP3DSP 1
++%define CONFIG_VP56DSP 0
++%define CONFIG_VP8DSP 1
++%define CONFIG_WMA_FREQS 0
++%define CONFIG_WMV2DSP 0
++%define CONFIG_AAC_ADTSTOASC_BSF 0
++%define CONFIG_CHOMP_BSF 0
++%define CONFIG_DUMP_EXTRADATA_BSF 0
++%define CONFIG_H264_MP4TOANNEXB_BSF 0
++%define CONFIG_HEVC_MP4TOANNEXB_BSF 0
++%define CONFIG_IMX_DUMP_HEADER_BSF 0
++%define CONFIG_MJPEG2JPEG_BSF 0
++%define CONFIG_MJPEGA_DUMP_HEADER_BSF 0
++%define CONFIG_MP3_HEADER_DECOMPRESS_BSF 0
++%define CONFIG_MPEG4_UNPACK_BFRAMES_BSF 0
++%define CONFIG_MOV2TEXTSUB_BSF 0
++%define CONFIG_NOISE_BSF 0
++%define CONFIG_REMOVE_EXTRADATA_BSF 0
++%define CONFIG_TEXT2MOVSUB_BSF 0
++%define CONFIG_AASC_DECODER 0
++%define CONFIG_AIC_DECODER 0
++%define CONFIG_ALIAS_PIX_DECODER 0
++%define CONFIG_AMV_DECODER 0
++%define CONFIG_ANM_DECODER 0
++%define CONFIG_ANSI_DECODER 0
++%define CONFIG_APNG_DECODER 0
++%define CONFIG_ASV1_DECODER 0
++%define CONFIG_ASV2_DECODER 0
++%define CONFIG_AURA_DECODER 0
++%define CONFIG_AURA2_DECODER 0
++%define CONFIG_AVRP_DECODER 0
++%define CONFIG_AVRN_DECODER 0
++%define CONFIG_AVS_DECODER 0
++%define CONFIG_AVUI_DECODER 0
++%define CONFIG_AYUV_DECODER 0
++%define CONFIG_BETHSOFTVID_DECODER 0
++%define CONFIG_BFI_DECODER 0
++%define CONFIG_BINK_DECODER 0
++%define CONFIG_BMP_DECODER 0
++%define CONFIG_BMV_VIDEO_DECODER 0
++%define CONFIG_BRENDER_PIX_DECODER 0
++%define CONFIG_C93_DECODER 0
++%define CONFIG_CAVS_DECODER 0
++%define CONFIG_CDGRAPHICS_DECODER 0
++%define CONFIG_CDXL_DECODER 0
++%define CONFIG_CINEPAK_DECODER 0
++%define CONFIG_CLJR_DECODER 0
++%define CONFIG_CLLC_DECODER 0
++%define CONFIG_COMFORTNOISE_DECODER 0
++%define CONFIG_CPIA_DECODER 0
++%define CONFIG_CSCD_DECODER 0
++%define CONFIG_CYUV_DECODER 0
++%define CONFIG_DDS_DECODER 0
++%define CONFIG_DFA_DECODER 0
++%define CONFIG_DIRAC_DECODER 0
++%define CONFIG_DNXHD_DECODER 0
++%define CONFIG_DPX_DECODER 0
++%define CONFIG_DSICINVIDEO_DECODER 0
++%define CONFIG_DVVIDEO_DECODER 0
++%define CONFIG_DXA_DECODER 0
++%define CONFIG_DXTORY_DECODER 0
++%define CONFIG_DXV_DECODER 0
++%define CONFIG_EACMV_DECODER 0
++%define CONFIG_EAMAD_DECODER 0
++%define CONFIG_EATGQ_DECODER 0
++%define CONFIG_EATGV_DECODER 0
++%define CONFIG_EATQI_DECODER 0
++%define CONFIG_EIGHTBPS_DECODER 0
++%define CONFIG_EIGHTSVX_EXP_DECODER 0
++%define CONFIG_EIGHTSVX_FIB_DECODER 0
++%define CONFIG_ESCAPE124_DECODER 0
++%define CONFIG_ESCAPE130_DECODER 0
++%define CONFIG_EXR_DECODER 0
++%define CONFIG_FFV1_DECODER 0
++%define CONFIG_FFVHUFF_DECODER 0
++%define CONFIG_FIC_DECODER 0
++%define CONFIG_FLASHSV_DECODER 0
++%define CONFIG_FLASHSV2_DECODER 0
++%define CONFIG_FLIC_DECODER 0
++%define CONFIG_FLV_DECODER 0
++%define CONFIG_FOURXM_DECODER 0
++%define CONFIG_FRAPS_DECODER 0
++%define CONFIG_FRWU_DECODER 0
++%define CONFIG_G2M_DECODER 0
++%define CONFIG_GIF_DECODER 0
++%define CONFIG_H261_DECODER 0
++%define CONFIG_H263_DECODER 0
++%define CONFIG_H263I_DECODER 0
++%define CONFIG_H263P_DECODER 0
++%define CONFIG_H264_DECODER 1
++%define CONFIG_H264_CRYSTALHD_DECODER 0
++%define CONFIG_H264_MMAL_DECODER 0
++%define CONFIG_H264_QSV_DECODER 0
++%define CONFIG_H264_VDA_DECODER 0
++%define CONFIG_H264_VDPAU_DECODER 0
++%define CONFIG_HAP_DECODER 0
++%define CONFIG_HEVC_DECODER 0
++%define CONFIG_HEVC_QSV_DECODER 0
++%define CONFIG_HNM4_VIDEO_DECODER 0
++%define CONFIG_HQ_HQA_DECODER 0
++%define CONFIG_HQX_DECODER 0
++%define CONFIG_HUFFYUV_DECODER 0
++%define CONFIG_IDCIN_DECODER 0
++%define CONFIG_IFF_ILBM_DECODER 0
++%define CONFIG_INDEO2_DECODER 0
++%define CONFIG_INDEO3_DECODER 0
++%define CONFIG_INDEO4_DECODER 0
++%define CONFIG_INDEO5_DECODER 0
++%define CONFIG_INTERPLAY_VIDEO_DECODER 0
++%define CONFIG_JPEG2000_DECODER 0
++%define CONFIG_JPEGLS_DECODER 0
++%define CONFIG_JV_DECODER 0
++%define CONFIG_KGV1_DECODER 0
++%define CONFIG_KMVC_DECODER 0
++%define CONFIG_LAGARITH_DECODER 0
++%define CONFIG_LOCO_DECODER 0
++%define CONFIG_MDEC_DECODER 0
++%define CONFIG_MIMIC_DECODER 0
++%define CONFIG_MJPEG_DECODER 0
++%define CONFIG_MJPEGB_DECODER 0
++%define CONFIG_MMVIDEO_DECODER 0
++%define CONFIG_MOTIONPIXELS_DECODER 0
++%define CONFIG_MPEG_XVMC_DECODER 0
++%define CONFIG_MPEG1VIDEO_DECODER 0
++%define CONFIG_MPEG2VIDEO_DECODER 0
++%define CONFIG_MPEG4_DECODER 0
++%define CONFIG_MPEG4_CRYSTALHD_DECODER 0
++%define CONFIG_MPEG4_VDPAU_DECODER 0
++%define CONFIG_MPEGVIDEO_DECODER 0
++%define CONFIG_MPEG_VDPAU_DECODER 0
++%define CONFIG_MPEG1_VDPAU_DECODER 0
++%define CONFIG_MPEG2_MMAL_DECODER 0
++%define CONFIG_MPEG2_CRYSTALHD_DECODER 0
++%define CONFIG_MPEG2_QSV_DECODER 0
++%define CONFIG_MSA1_DECODER 0
++%define CONFIG_MSMPEG4_CRYSTALHD_DECODER 0
++%define CONFIG_MSMPEG4V1_DECODER 0
++%define CONFIG_MSMPEG4V2_DECODER 0
++%define CONFIG_MSMPEG4V3_DECODER 0
++%define CONFIG_MSRLE_DECODER 0
++%define CONFIG_MSS1_DECODER 0
++%define CONFIG_MSS2_DECODER 0
++%define CONFIG_MSVIDEO1_DECODER 0
++%define CONFIG_MSZH_DECODER 0
++%define CONFIG_MTS2_DECODER 0
++%define CONFIG_MVC1_DECODER 0
++%define CONFIG_MVC2_DECODER 0
++%define CONFIG_MXPEG_DECODER 0
++%define CONFIG_NUV_DECODER 0
++%define CONFIG_PAF_VIDEO_DECODER 0
++%define CONFIG_PAM_DECODER 0
++%define CONFIG_PBM_DECODER 0
++%define CONFIG_PCX_DECODER 0
++%define CONFIG_PGM_DECODER 0
++%define CONFIG_PGMYUV_DECODER 0
++%define CONFIG_PICTOR_DECODER 0
++%define CONFIG_PNG_DECODER 0
++%define CONFIG_PPM_DECODER 0
++%define CONFIG_PRORES_DECODER 0
++%define CONFIG_PRORES_LGPL_DECODER 0
++%define CONFIG_PTX_DECODER 0
++%define CONFIG_QDRAW_DECODER 0
++%define CONFIG_QPEG_DECODER 0
++%define CONFIG_QTRLE_DECODER 0
++%define CONFIG_R10K_DECODER 0
++%define CONFIG_R210_DECODER 0
++%define CONFIG_RAWVIDEO_DECODER 0
++%define CONFIG_RL2_DECODER 0
++%define CONFIG_ROQ_DECODER 0
++%define CONFIG_RPZA_DECODER 0
++%define CONFIG_RSCC_DECODER 0
++%define CONFIG_RV10_DECODER 0
++%define CONFIG_RV20_DECODER 0
++%define CONFIG_RV30_DECODER 0
++%define CONFIG_RV40_DECODER 0
++%define CONFIG_S302M_DECODER 0
++%define CONFIG_SANM_DECODER 0
++%define CONFIG_SCREENPRESSO_DECODER 0
++%define CONFIG_SDX2_DPCM_DECODER 0
++%define CONFIG_SGI_DECODER 0
++%define CONFIG_SGIRLE_DECODER 0
++%define CONFIG_SMACKER_DECODER 0
++%define CONFIG_SMC_DECODER 0
++%define CONFIG_SMVJPEG_DECODER 0
++%define CONFIG_SNOW_DECODER 0
++%define CONFIG_SP5X_DECODER 0
++%define CONFIG_SUNRAST_DECODER 0
++%define CONFIG_SVQ1_DECODER 0
++%define CONFIG_SVQ3_DECODER 0
++%define CONFIG_TARGA_DECODER 0
++%define CONFIG_TARGA_Y216_DECODER 0
++%define CONFIG_TDSC_DECODER 0
++%define CONFIG_THEORA_DECODER 1
++%define CONFIG_THP_DECODER 0
++%define CONFIG_TIERTEXSEQVIDEO_DECODER 0
++%define CONFIG_TIFF_DECODER 0
++%define CONFIG_TMV_DECODER 0
++%define CONFIG_TRUEMOTION1_DECODER 0
++%define CONFIG_TRUEMOTION2_DECODER 0
++%define CONFIG_TSCC_DECODER 0
++%define CONFIG_TSCC2_DECODER 0
++%define CONFIG_TXD_DECODER 0
++%define CONFIG_ULTI_DECODER 0
++%define CONFIG_UTVIDEO_DECODER 0
++%define CONFIG_V210_DECODER 0
++%define CONFIG_V210X_DECODER 0
++%define CONFIG_V308_DECODER 0
++%define CONFIG_V408_DECODER 0
++%define CONFIG_V410_DECODER 0
++%define CONFIG_VB_DECODER 0
++%define CONFIG_VBLE_DECODER 0
++%define CONFIG_VC1_DECODER 0
++%define CONFIG_VC1_CRYSTALHD_DECODER 0
++%define CONFIG_VC1_VDPAU_DECODER 0
++%define CONFIG_VC1IMAGE_DECODER 0
++%define CONFIG_VC1_QSV_DECODER 0
++%define CONFIG_VCR1_DECODER 0
++%define CONFIG_VMDVIDEO_DECODER 0
++%define CONFIG_VMNC_DECODER 0
++%define CONFIG_VP3_DECODER 1
++%define CONFIG_VP5_DECODER 0
++%define CONFIG_VP6_DECODER 0
++%define CONFIG_VP6A_DECODER 0
++%define CONFIG_VP6F_DECODER 0
++%define CONFIG_VP7_DECODER 0
++%define CONFIG_VP8_DECODER 1
++%define CONFIG_VP9_DECODER 0
++%define CONFIG_VQA_DECODER 0
++%define CONFIG_WEBP_DECODER 0
++%define CONFIG_WMV1_DECODER 0
++%define CONFIG_WMV2_DECODER 0
++%define CONFIG_WMV3_DECODER 0
++%define CONFIG_WMV3_CRYSTALHD_DECODER 0
++%define CONFIG_WMV3_VDPAU_DECODER 0
++%define CONFIG_WMV3IMAGE_DECODER 0
++%define CONFIG_WNV1_DECODER 0
++%define CONFIG_XAN_WC3_DECODER 0
++%define CONFIG_XAN_WC4_DECODER 0
++%define CONFIG_XBM_DECODER 0
++%define CONFIG_XFACE_DECODER 0
++%define CONFIG_XL_DECODER 0
++%define CONFIG_XWD_DECODER 0
++%define CONFIG_Y41P_DECODER 0
++%define CONFIG_YOP_DECODER 0
++%define CONFIG_YUV4_DECODER 0
++%define CONFIG_ZERO12V_DECODER 0
++%define CONFIG_ZEROCODEC_DECODER 0
++%define CONFIG_ZLIB_DECODER 0
++%define CONFIG_ZMBV_DECODER 0
++%define CONFIG_AAC_DECODER 1
++%define CONFIG_AAC_FIXED_DECODER 0
++%define CONFIG_AAC_LATM_DECODER 0
++%define CONFIG_AC3_DECODER 0
++%define CONFIG_AC3_FIXED_DECODER 0
++%define CONFIG_ALAC_DECODER 0
++%define CONFIG_ALS_DECODER 0
++%define CONFIG_AMRNB_DECODER 0
++%define CONFIG_AMRWB_DECODER 0
++%define CONFIG_APE_DECODER 0
++%define CONFIG_ATRAC1_DECODER 0
++%define CONFIG_ATRAC3_DECODER 0
++%define CONFIG_ATRAC3P_DECODER 0
++%define CONFIG_BINKAUDIO_DCT_DECODER 0
++%define CONFIG_BINKAUDIO_RDFT_DECODER 0
++%define CONFIG_BMV_AUDIO_DECODER 0
++%define CONFIG_COOK_DECODER 0
++%define CONFIG_DCA_DECODER 0
++%define CONFIG_DSD_LSBF_DECODER 0
++%define CONFIG_DSD_MSBF_DECODER 0
++%define CONFIG_DSD_LSBF_PLANAR_DECODER 0
++%define CONFIG_DSD_MSBF_PLANAR_DECODER 0
++%define CONFIG_DSICINAUDIO_DECODER 0
++%define CONFIG_DSS_SP_DECODER 0
++%define CONFIG_EAC3_DECODER 0
++%define CONFIG_EVRC_DECODER 0
++%define CONFIG_FFWAVESYNTH_DECODER 0
++%define CONFIG_FLAC_DECODER 0
++%define CONFIG_G723_1_DECODER 0
++%define CONFIG_G729_DECODER 0
++%define CONFIG_GSM_DECODER 0
++%define CONFIG_GSM_MS_DECODER 0
++%define CONFIG_IAC_DECODER 0
++%define CONFIG_IMC_DECODER 0
++%define CONFIG_INTERPLAY_ACM_DECODER 0
++%define CONFIG_MACE3_DECODER 0
++%define CONFIG_MACE6_DECODER 0
++%define CONFIG_METASOUND_DECODER 0
++%define CONFIG_MLP_DECODER 0
++%define CONFIG_MP1_DECODER 0
++%define CONFIG_MP1FLOAT_DECODER 0
++%define CONFIG_MP2_DECODER 0
++%define CONFIG_MP2FLOAT_DECODER 0
++%define CONFIG_MP3_DECODER 1
++%define CONFIG_MP3FLOAT_DECODER 0
++%define CONFIG_MP3ADU_DECODER 0
++%define CONFIG_MP3ADUFLOAT_DECODER 0
++%define CONFIG_MP3ON4_DECODER 0
++%define CONFIG_MP3ON4FLOAT_DECODER 0
++%define CONFIG_MPC7_DECODER 0
++%define CONFIG_MPC8_DECODER 0
++%define CONFIG_NELLYMOSER_DECODER 0
++%define CONFIG_ON2AVC_DECODER 0
++%define CONFIG_OPUS_DECODER 0
++%define CONFIG_PAF_AUDIO_DECODER 0
++%define CONFIG_QCELP_DECODER 0
++%define CONFIG_QDM2_DECODER 0
++%define CONFIG_RA_144_DECODER 0
++%define CONFIG_RA_288_DECODER 0
++%define CONFIG_RALF_DECODER 0
++%define CONFIG_SHORTEN_DECODER 0
++%define CONFIG_SIPR_DECODER 0
++%define CONFIG_SMACKAUD_DECODER 0
++%define CONFIG_SONIC_DECODER 0
++%define CONFIG_TAK_DECODER 0
++%define CONFIG_TRUEHD_DECODER 0
++%define CONFIG_TRUESPEECH_DECODER 0
++%define CONFIG_TTA_DECODER 0
++%define CONFIG_TWINVQ_DECODER 0
++%define CONFIG_VMDAUDIO_DECODER 0
++%define CONFIG_VORBIS_DECODER 1
++%define CONFIG_WAVPACK_DECODER 0
++%define CONFIG_WMALOSSLESS_DECODER 0
++%define CONFIG_WMAPRO_DECODER 0
++%define CONFIG_WMAV1_DECODER 0
++%define CONFIG_WMAV2_DECODER 0
++%define CONFIG_WMAVOICE_DECODER 0
++%define CONFIG_WS_SND1_DECODER 0
++%define CONFIG_PCM_ALAW_DECODER 1
++%define CONFIG_PCM_BLURAY_DECODER 0
++%define CONFIG_PCM_DVD_DECODER 0
++%define CONFIG_PCM_F32BE_DECODER 0
++%define CONFIG_PCM_F32LE_DECODER 1
++%define CONFIG_PCM_F64BE_DECODER 0
++%define CONFIG_PCM_F64LE_DECODER 0
++%define CONFIG_PCM_LXF_DECODER 0
++%define CONFIG_PCM_MULAW_DECODER 1
++%define CONFIG_PCM_S8_DECODER 0
++%define CONFIG_PCM_S8_PLANAR_DECODER 0
++%define CONFIG_PCM_S16BE_DECODER 1
++%define CONFIG_PCM_S16BE_PLANAR_DECODER 0
++%define CONFIG_PCM_S16LE_DECODER 1
++%define CONFIG_PCM_S16LE_PLANAR_DECODER 0
++%define CONFIG_PCM_S24BE_DECODER 1
++%define CONFIG_PCM_S24DAUD_DECODER 0
++%define CONFIG_PCM_S24LE_DECODER 1
++%define CONFIG_PCM_S24LE_PLANAR_DECODER 0
++%define CONFIG_PCM_S32BE_DECODER 0
++%define CONFIG_PCM_S32LE_DECODER 0
++%define CONFIG_PCM_S32LE_PLANAR_DECODER 0
++%define CONFIG_PCM_U8_DECODER 1
++%define CONFIG_PCM_U16BE_DECODER 0
++%define CONFIG_PCM_U16LE_DECODER 0
++%define CONFIG_PCM_U24BE_DECODER 0
++%define CONFIG_PCM_U24LE_DECODER 0
++%define CONFIG_PCM_U32BE_DECODER 0
++%define CONFIG_PCM_U32LE_DECODER 0
++%define CONFIG_PCM_ZORK_DECODER 0
++%define CONFIG_INTERPLAY_DPCM_DECODER 0
++%define CONFIG_ROQ_DPCM_DECODER 0
++%define CONFIG_SOL_DPCM_DECODER 0
++%define CONFIG_XAN_DPCM_DECODER 0
++%define CONFIG_ADPCM_4XM_DECODER 0
++%define CONFIG_ADPCM_ADX_DECODER 0
++%define CONFIG_ADPCM_AFC_DECODER 0
++%define CONFIG_ADPCM_AICA_DECODER 0
++%define CONFIG_ADPCM_CT_DECODER 0
++%define CONFIG_ADPCM_DTK_DECODER 0
++%define CONFIG_ADPCM_EA_DECODER 0
++%define CONFIG_ADPCM_EA_MAXIS_XA_DECODER 0
++%define CONFIG_ADPCM_EA_R1_DECODER 0
++%define CONFIG_ADPCM_EA_R2_DECODER 0
++%define CONFIG_ADPCM_EA_R3_DECODER 0
++%define CONFIG_ADPCM_EA_XAS_DECODER 0
++%define CONFIG_ADPCM_G722_DECODER 0
++%define CONFIG_ADPCM_G726_DECODER 0
++%define CONFIG_ADPCM_G726LE_DECODER 0
++%define CONFIG_ADPCM_IMA_AMV_DECODER 0
++%define CONFIG_ADPCM_IMA_APC_DECODER 0
++%define CONFIG_ADPCM_IMA_DK3_DECODER 0
++%define CONFIG_ADPCM_IMA_DK4_DECODER 0
++%define CONFIG_ADPCM_IMA_EA_EACS_DECODER 0
++%define CONFIG_ADPCM_IMA_EA_SEAD_DECODER 0
++%define CONFIG_ADPCM_IMA_ISS_DECODER 0
++%define CONFIG_ADPCM_IMA_OKI_DECODER 0
++%define CONFIG_ADPCM_IMA_QT_DECODER 0
++%define CONFIG_ADPCM_IMA_RAD_DECODER 0
++%define CONFIG_ADPCM_IMA_SMJPEG_DECODER 0
++%define CONFIG_ADPCM_IMA_WAV_DECODER 0
++%define CONFIG_ADPCM_IMA_WS_DECODER 0
++%define CONFIG_ADPCM_MS_DECODER 0
++%define CONFIG_ADPCM_PSX_DECODER 0
++%define CONFIG_ADPCM_SBPRO_2_DECODER 0
++%define CONFIG_ADPCM_SBPRO_3_DECODER 0
++%define CONFIG_ADPCM_SBPRO_4_DECODER 0
++%define CONFIG_ADPCM_SWF_DECODER 0
++%define CONFIG_ADPCM_THP_DECODER 0
++%define CONFIG_ADPCM_THP_LE_DECODER 0
++%define CONFIG_ADPCM_VIMA_DECODER 0
++%define CONFIG_ADPCM_XA_DECODER 0
++%define CONFIG_ADPCM_YAMAHA_DECODER 0
++%define CONFIG_SSA_DECODER 0
++%define CONFIG_ASS_DECODER 0
++%define CONFIG_CCAPTION_DECODER 0
++%define CONFIG_DVBSUB_DECODER 0
++%define CONFIG_DVDSUB_DECODER 0
++%define CONFIG_JACOSUB_DECODER 0
++%define CONFIG_MICRODVD_DECODER 0
++%define CONFIG_MOVTEXT_DECODER 0
++%define CONFIG_MPL2_DECODER 0
++%define CONFIG_PGSSUB_DECODER 0
++%define CONFIG_PJS_DECODER 0
++%define CONFIG_REALTEXT_DECODER 0
++%define CONFIG_SAMI_DECODER 0
++%define CONFIG_SRT_DECODER 0
++%define CONFIG_STL_DECODER 0
++%define CONFIG_SUBRIP_DECODER 0
++%define CONFIG_SUBVIEWER_DECODER 0
++%define CONFIG_SUBVIEWER1_DECODER 0
++%define CONFIG_TEXT_DECODER 0
++%define CONFIG_VPLAYER_DECODER 0
++%define CONFIG_WEBVTT_DECODER 0
++%define CONFIG_XSUB_DECODER 0
++%define CONFIG_LIBCELT_DECODER 0
++%define CONFIG_LIBDCADEC_DECODER 0
++%define CONFIG_LIBFDK_AAC_DECODER 0
++%define CONFIG_LIBGSM_DECODER 0
++%define CONFIG_LIBGSM_MS_DECODER 0
++%define CONFIG_LIBILBC_DECODER 0
++%define CONFIG_LIBOPENCORE_AMRNB_DECODER 0
++%define CONFIG_LIBOPENCORE_AMRWB_DECODER 0
++%define CONFIG_LIBOPENJPEG_DECODER 0
++%define CONFIG_LIBOPUS_DECODER 0
++%define CONFIG_LIBSCHROEDINGER_DECODER 0
++%define CONFIG_LIBSPEEX_DECODER 0
++%define CONFIG_LIBSTAGEFRIGHT_H264_DECODER 0
++%define CONFIG_LIBUTVIDEO_DECODER 0
++%define CONFIG_LIBVORBIS_DECODER 0
++%define CONFIG_LIBVPX_VP8_DECODER 0
++%define CONFIG_LIBVPX_VP9_DECODER 0
++%define CONFIG_LIBZVBI_TELETEXT_DECODER 0
++%define CONFIG_BINTEXT_DECODER 0
++%define CONFIG_XBIN_DECODER 0
++%define CONFIG_IDF_DECODER 0
++%define CONFIG_AA_DEMUXER 0
++%define CONFIG_AAC_DEMUXER 1
++%define CONFIG_AC3_DEMUXER 0
++%define CONFIG_ACM_DEMUXER 0
++%define CONFIG_ACT_DEMUXER 0
++%define CONFIG_ADF_DEMUXER 0
++%define CONFIG_ADP_DEMUXER 0
++%define CONFIG_ADS_DEMUXER 0
++%define CONFIG_ADX_DEMUXER 0
++%define CONFIG_AEA_DEMUXER 0
++%define CONFIG_AFC_DEMUXER 0
++%define CONFIG_AIFF_DEMUXER 0
++%define CONFIG_AMR_DEMUXER 0
++%define CONFIG_ANM_DEMUXER 0
++%define CONFIG_APC_DEMUXER 0
++%define CONFIG_APE_DEMUXER 0
++%define CONFIG_APNG_DEMUXER 0
++%define CONFIG_AQTITLE_DEMUXER 0
++%define CONFIG_ASF_DEMUXER 0
++%define CONFIG_ASF_O_DEMUXER 0
++%define CONFIG_ASS_DEMUXER 0
++%define CONFIG_AST_DEMUXER 0
++%define CONFIG_AU_DEMUXER 0
++%define CONFIG_AVI_DEMUXER 0
++%define CONFIG_AVISYNTH_DEMUXER 0
++%define CONFIG_AVR_DEMUXER 0
++%define CONFIG_AVS_DEMUXER 0
++%define CONFIG_BETHSOFTVID_DEMUXER 0
++%define CONFIG_BFI_DEMUXER 0
++%define CONFIG_BINTEXT_DEMUXER 0
++%define CONFIG_BINK_DEMUXER 0
++%define CONFIG_BIT_DEMUXER 0
++%define CONFIG_BMV_DEMUXER 0
++%define CONFIG_BFSTM_DEMUXER 0
++%define CONFIG_BRSTM_DEMUXER 0
++%define CONFIG_BOA_DEMUXER 0
++%define CONFIG_C93_DEMUXER 0
++%define CONFIG_CAF_DEMUXER 0
++%define CONFIG_CAVSVIDEO_DEMUXER 0
++%define CONFIG_CDG_DEMUXER 0
++%define CONFIG_CDXL_DEMUXER 0
++%define CONFIG_CINE_DEMUXER 0
++%define CONFIG_CONCAT_DEMUXER 0
++%define CONFIG_DATA_DEMUXER 0
++%define CONFIG_DAUD_DEMUXER 0
++%define CONFIG_DCSTR_DEMUXER 0
++%define CONFIG_DFA_DEMUXER 0
++%define CONFIG_DIRAC_DEMUXER 0
++%define CONFIG_DNXHD_DEMUXER 0
++%define CONFIG_DSF_DEMUXER 0
++%define CONFIG_DSICIN_DEMUXER 0
++%define CONFIG_DSS_DEMUXER 0
++%define CONFIG_DTS_DEMUXER 0
++%define CONFIG_DTSHD_DEMUXER 0
++%define CONFIG_DV_DEMUXER 0
++%define CONFIG_DVBSUB_DEMUXER 0
++%define CONFIG_DXA_DEMUXER 0
++%define CONFIG_EA_DEMUXER 0
++%define CONFIG_EA_CDATA_DEMUXER 0
++%define CONFIG_EAC3_DEMUXER 0
++%define CONFIG_EPAF_DEMUXER 0
++%define CONFIG_FFM_DEMUXER 0
++%define CONFIG_FFMETADATA_DEMUXER 0
++%define CONFIG_FILMSTRIP_DEMUXER 0
++%define CONFIG_FLAC_DEMUXER 0
++%define CONFIG_FLIC_DEMUXER 0
++%define CONFIG_FLV_DEMUXER 0
++%define CONFIG_LIVE_FLV_DEMUXER 0
++%define CONFIG_FOURXM_DEMUXER 0
++%define CONFIG_FRM_DEMUXER 0
++%define CONFIG_G722_DEMUXER 0
++%define CONFIG_G723_1_DEMUXER 0
++%define CONFIG_G729_DEMUXER 0
++%define CONFIG_GENH_DEMUXER 0
++%define CONFIG_GIF_DEMUXER 0
++%define CONFIG_GSM_DEMUXER 0
++%define CONFIG_GXF_DEMUXER 0
++%define CONFIG_H261_DEMUXER 0
++%define CONFIG_H263_DEMUXER 0
++%define CONFIG_H264_DEMUXER 0
++%define CONFIG_HEVC_DEMUXER 0
++%define CONFIG_HLS_DEMUXER 0
++%define CONFIG_HNM_DEMUXER 0
++%define CONFIG_ICO_DEMUXER 0
++%define CONFIG_IDCIN_DEMUXER 0
++%define CONFIG_IDF_DEMUXER 0
++%define CONFIG_IFF_DEMUXER 0
++%define CONFIG_ILBC_DEMUXER 0
++%define CONFIG_IMAGE2_DEMUXER 0
++%define CONFIG_IMAGE2PIPE_DEMUXER 0
++%define CONFIG_IMAGE2_ALIAS_PIX_DEMUXER 0
++%define CONFIG_IMAGE2_BRENDER_PIX_DEMUXER 0
++%define CONFIG_INGENIENT_DEMUXER 0
++%define CONFIG_IPMOVIE_DEMUXER 0
++%define CONFIG_IRCAM_DEMUXER 0
++%define CONFIG_ISS_DEMUXER 0
++%define CONFIG_IV8_DEMUXER 0
++%define CONFIG_IVF_DEMUXER 0
++%define CONFIG_JACOSUB_DEMUXER 0
++%define CONFIG_JV_DEMUXER 0
++%define CONFIG_LMLM4_DEMUXER 0
++%define CONFIG_LOAS_DEMUXER 0
++%define CONFIG_LRC_DEMUXER 0
++%define CONFIG_LVF_DEMUXER 0
++%define CONFIG_LXF_DEMUXER 0
++%define CONFIG_M4V_DEMUXER 0
++%define CONFIG_MATROSKA_DEMUXER 1
++%define CONFIG_MGSTS_DEMUXER 0
++%define CONFIG_MICRODVD_DEMUXER 0
++%define CONFIG_MJPEG_DEMUXER 0
++%define CONFIG_MLP_DEMUXER 0
++%define CONFIG_MLV_DEMUXER 0
++%define CONFIG_MM_DEMUXER 0
++%define CONFIG_MMF_DEMUXER 0
++%define CONFIG_MOV_DEMUXER 1
++%define CONFIG_MP3_DEMUXER 1
++%define CONFIG_MPC_DEMUXER 0
++%define CONFIG_MPC8_DEMUXER 0
++%define CONFIG_MPEGPS_DEMUXER 0
++%define CONFIG_MPEGTS_DEMUXER 0
++%define CONFIG_MPEGTSRAW_DEMUXER 0
++%define CONFIG_MPEGVIDEO_DEMUXER 0
++%define CONFIG_MPJPEG_DEMUXER 0
++%define CONFIG_MPL2_DEMUXER 0
++%define CONFIG_MPSUB_DEMUXER 0
++%define CONFIG_MSF_DEMUXER 0
++%define CONFIG_MSNWC_TCP_DEMUXER 0
++%define CONFIG_MTV_DEMUXER 0
++%define CONFIG_MV_DEMUXER 0
++%define CONFIG_MVI_DEMUXER 0
++%define CONFIG_MXF_DEMUXER 0
++%define CONFIG_MXG_DEMUXER 0
++%define CONFIG_NC_DEMUXER 0
++%define CONFIG_NISTSPHERE_DEMUXER 0
++%define CONFIG_NSV_DEMUXER 0
++%define CONFIG_NUT_DEMUXER 0
++%define CONFIG_NUV_DEMUXER 0
++%define CONFIG_OGG_DEMUXER 1
++%define CONFIG_OMA_DEMUXER 0
++%define CONFIG_PAF_DEMUXER 0
++%define CONFIG_PCM_ALAW_DEMUXER 0
++%define CONFIG_PCM_MULAW_DEMUXER 0
++%define CONFIG_PCM_F64BE_DEMUXER 0
++%define CONFIG_PCM_F64LE_DEMUXER 0
++%define CONFIG_PCM_F32BE_DEMUXER 0
++%define CONFIG_PCM_F32LE_DEMUXER 0
++%define CONFIG_PCM_S32BE_DEMUXER 0
++%define CONFIG_PCM_S32LE_DEMUXER 0
++%define CONFIG_PCM_S24BE_DEMUXER 0
++%define CONFIG_PCM_S24LE_DEMUXER 0
++%define CONFIG_PCM_S16BE_DEMUXER 0
++%define CONFIG_PCM_S16LE_DEMUXER 0
++%define CONFIG_PCM_S8_DEMUXER 0
++%define CONFIG_PCM_U32BE_DEMUXER 0
++%define CONFIG_PCM_U32LE_DEMUXER 0
++%define CONFIG_PCM_U24BE_DEMUXER 0
++%define CONFIG_PCM_U24LE_DEMUXER 0
++%define CONFIG_PCM_U16BE_DEMUXER 0
++%define CONFIG_PCM_U16LE_DEMUXER 0
++%define CONFIG_PCM_U8_DEMUXER 0
++%define CONFIG_PJS_DEMUXER 0
++%define CONFIG_PMP_DEMUXER 0
++%define CONFIG_PVA_DEMUXER 0
++%define CONFIG_PVF_DEMUXER 0
++%define CONFIG_QCP_DEMUXER 0
++%define CONFIG_R3D_DEMUXER 0
++%define CONFIG_RAWVIDEO_DEMUXER 0
++%define CONFIG_REALTEXT_DEMUXER 0
++%define CONFIG_REDSPARK_DEMUXER 0
++%define CONFIG_RL2_DEMUXER 0
++%define CONFIG_RM_DEMUXER 0
++%define CONFIG_ROQ_DEMUXER 0
++%define CONFIG_RPL_DEMUXER 0
++%define CONFIG_RSD_DEMUXER 0
++%define CONFIG_RSO_DEMUXER 0
++%define CONFIG_RTP_DEMUXER 0
++%define CONFIG_RTSP_DEMUXER 0
++%define CONFIG_SAMI_DEMUXER 0
++%define CONFIG_SAP_DEMUXER 0
++%define CONFIG_SBG_DEMUXER 0
++%define CONFIG_SDP_DEMUXER 0
++%define CONFIG_SDR2_DEMUXER 0
++%define CONFIG_SEGAFILM_DEMUXER 0
++%define CONFIG_SHORTEN_DEMUXER 0
++%define CONFIG_SIFF_DEMUXER 0
++%define CONFIG_SLN_DEMUXER 0
++%define CONFIG_SMACKER_DEMUXER 0
++%define CONFIG_SMJPEG_DEMUXER 0
++%define CONFIG_SMUSH_DEMUXER 0
++%define CONFIG_SOL_DEMUXER 0
++%define CONFIG_SOX_DEMUXER 0
++%define CONFIG_SPDIF_DEMUXER 0
++%define CONFIG_SRT_DEMUXER 0
++%define CONFIG_STR_DEMUXER 0
++%define CONFIG_STL_DEMUXER 0
++%define CONFIG_SUBVIEWER1_DEMUXER 0
++%define CONFIG_SUBVIEWER_DEMUXER 0
++%define CONFIG_SUP_DEMUXER 0
++%define CONFIG_SVAG_DEMUXER 0
++%define CONFIG_SWF_DEMUXER 0
++%define CONFIG_TAK_DEMUXER 0
++%define CONFIG_TEDCAPTIONS_DEMUXER 0
++%define CONFIG_THP_DEMUXER 0
++%define CONFIG_THREEDOSTR_DEMUXER 0
++%define CONFIG_TIERTEXSEQ_DEMUXER 0
++%define CONFIG_TMV_DEMUXER 0
++%define CONFIG_TRUEHD_DEMUXER 0
++%define CONFIG_TTA_DEMUXER 0
++%define CONFIG_TXD_DEMUXER 0
++%define CONFIG_TTY_DEMUXER 0
++%define CONFIG_VAG_DEMUXER 0
++%define CONFIG_VC1_DEMUXER 0
++%define CONFIG_VC1T_DEMUXER 0
++%define CONFIG_VIVO_DEMUXER 0
++%define CONFIG_VMD_DEMUXER 0
++%define CONFIG_VOBSUB_DEMUXER 0
++%define CONFIG_VOC_DEMUXER 0
++%define CONFIG_VPLAYER_DEMUXER 0
++%define CONFIG_VQF_DEMUXER 0
++%define CONFIG_W64_DEMUXER 0
++%define CONFIG_WAV_DEMUXER 1
++%define CONFIG_WC3_DEMUXER 0
++%define CONFIG_WEBM_DASH_MANIFEST_DEMUXER 0
++%define CONFIG_WEBVTT_DEMUXER 0
++%define CONFIG_WSAUD_DEMUXER 0
++%define CONFIG_WSVQA_DEMUXER 0
++%define CONFIG_WTV_DEMUXER 0
++%define CONFIG_WVE_DEMUXER 0
++%define CONFIG_WV_DEMUXER 0
++%define CONFIG_XA_DEMUXER 0
++%define CONFIG_XBIN_DEMUXER 0
++%define CONFIG_XMV_DEMUXER 0
++%define CONFIG_XVAG_DEMUXER 0
++%define CONFIG_XWMA_DEMUXER 0
++%define CONFIG_YOP_DEMUXER 0
++%define CONFIG_YUV4MPEGPIPE_DEMUXER 0
++%define CONFIG_IMAGE_BMP_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_DDS_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_DPX_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_EXR_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_J2K_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_JPEG_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_JPEGLS_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_PICTOR_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_PNG_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_QDRAW_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_SGI_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_SUNRAST_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_TIFF_PIPE_DEMUXER 0
++%define CONFIG_IMAGE_WEBP_PIPE_DEMUXER 0
++%define CONFIG_LIBGME_DEMUXER 0
++%define CONFIG_LIBMODPLUG_DEMUXER 0
++%define CONFIG_LIBNUT_DEMUXER 0
++%define CONFIG_LIBQUVI_DEMUXER 0
++%define CONFIG_A64MULTI_ENCODER 0
++%define CONFIG_A64MULTI5_ENCODER 0
++%define CONFIG_ALIAS_PIX_ENCODER 0
++%define CONFIG_AMV_ENCODER 0
++%define CONFIG_APNG_ENCODER 0
++%define CONFIG_ASV1_ENCODER 0
++%define CONFIG_ASV2_ENCODER 0
++%define CONFIG_AVRP_ENCODER 0
++%define CONFIG_AVUI_ENCODER 0
++%define CONFIG_AYUV_ENCODER 0
++%define CONFIG_BMP_ENCODER 0
++%define CONFIG_CINEPAK_ENCODER 0
++%define CONFIG_CLJR_ENCODER 0
++%define CONFIG_COMFORTNOISE_ENCODER 0
++%define CONFIG_DNXHD_ENCODER 0
++%define CONFIG_DPX_ENCODER 0
++%define CONFIG_DVVIDEO_ENCODER 0
++%define CONFIG_FFV1_ENCODER 0
++%define CONFIG_FFVHUFF_ENCODER 0
++%define CONFIG_FLASHSV_ENCODER 0
++%define CONFIG_FLASHSV2_ENCODER 0
++%define CONFIG_FLV_ENCODER 0
++%define CONFIG_GIF_ENCODER 0
++%define CONFIG_H261_ENCODER 0
++%define CONFIG_H263_ENCODER 0
++%define CONFIG_H263P_ENCODER 0
++%define CONFIG_HAP_ENCODER 0
++%define CONFIG_HUFFYUV_ENCODER 0
++%define CONFIG_JPEG2000_ENCODER 0
++%define CONFIG_JPEGLS_ENCODER 0
++%define CONFIG_LJPEG_ENCODER 0
++%define CONFIG_MJPEG_ENCODER 0
++%define CONFIG_MPEG1VIDEO_ENCODER 0
++%define CONFIG_MPEG2VIDEO_ENCODER 0
++%define CONFIG_MPEG4_ENCODER 0
++%define CONFIG_MSMPEG4V2_ENCODER 0
++%define CONFIG_MSMPEG4V3_ENCODER 0
++%define CONFIG_MSVIDEO1_ENCODER 0
++%define CONFIG_PAM_ENCODER 0
++%define CONFIG_PBM_ENCODER 0
++%define CONFIG_PCX_ENCODER 0
++%define CONFIG_PGM_ENCODER 0
++%define CONFIG_PGMYUV_ENCODER 0
++%define CONFIG_PNG_ENCODER 0
++%define CONFIG_PPM_ENCODER 0
++%define CONFIG_PRORES_ENCODER 0
++%define CONFIG_PRORES_AW_ENCODER 0
++%define CONFIG_PRORES_KS_ENCODER 0
++%define CONFIG_QTRLE_ENCODER 0
++%define CONFIG_R10K_ENCODER 0
++%define CONFIG_R210_ENCODER 0
++%define CONFIG_RAWVIDEO_ENCODER 0
++%define CONFIG_ROQ_ENCODER 0
++%define CONFIG_RV10_ENCODER 0
++%define CONFIG_RV20_ENCODER 0
++%define CONFIG_S302M_ENCODER 0
++%define CONFIG_SGI_ENCODER 0
++%define CONFIG_SNOW_ENCODER 0
++%define CONFIG_SUNRAST_ENCODER 0
++%define CONFIG_SVQ1_ENCODER 0
++%define CONFIG_TARGA_ENCODER 0
++%define CONFIG_TIFF_ENCODER 0
++%define CONFIG_UTVIDEO_ENCODER 0
++%define CONFIG_V210_ENCODER 0
++%define CONFIG_V308_ENCODER 0
++%define CONFIG_V408_ENCODER 0
++%define CONFIG_V410_ENCODER 0
++%define CONFIG_WRAPPED_AVFRAME_ENCODER 0
++%define CONFIG_WMV1_ENCODER 0
++%define CONFIG_WMV2_ENCODER 0
++%define CONFIG_XBM_ENCODER 0
++%define CONFIG_XFACE_ENCODER 0
++%define CONFIG_XWD_ENCODER 0
++%define CONFIG_Y41P_ENCODER 0
++%define CONFIG_YUV4_ENCODER 0
++%define CONFIG_ZLIB_ENCODER 0
++%define CONFIG_ZMBV_ENCODER 0
++%define CONFIG_AAC_ENCODER 0
++%define CONFIG_AC3_ENCODER 0
++%define CONFIG_AC3_FIXED_ENCODER 0
++%define CONFIG_ALAC_ENCODER 0
++%define CONFIG_DCA_ENCODER 0
++%define CONFIG_EAC3_ENCODER 0
++%define CONFIG_FLAC_ENCODER 0
++%define CONFIG_G723_1_ENCODER 0
++%define CONFIG_MP2_ENCODER 0
++%define CONFIG_MP2FIXED_ENCODER 0
++%define CONFIG_NELLYMOSER_ENCODER 0
++%define CONFIG_RA_144_ENCODER 0
++%define CONFIG_SONIC_ENCODER 0
++%define CONFIG_SONIC_LS_ENCODER 0
++%define CONFIG_TTA_ENCODER 0
++%define CONFIG_VORBIS_ENCODER 0
++%define CONFIG_WAVPACK_ENCODER 0
++%define CONFIG_WMAV1_ENCODER 0
++%define CONFIG_WMAV2_ENCODER 0
++%define CONFIG_PCM_ALAW_ENCODER 0
++%define CONFIG_PCM_F32BE_ENCODER 0
++%define CONFIG_PCM_F32LE_ENCODER 0
++%define CONFIG_PCM_F64BE_ENCODER 0
++%define CONFIG_PCM_F64LE_ENCODER 0
++%define CONFIG_PCM_MULAW_ENCODER 0
++%define CONFIG_PCM_S8_ENCODER 0
++%define CONFIG_PCM_S8_PLANAR_ENCODER 0
++%define CONFIG_PCM_S16BE_ENCODER 0
++%define CONFIG_PCM_S16BE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S16LE_ENCODER 0
++%define CONFIG_PCM_S16LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S24BE_ENCODER 0
++%define CONFIG_PCM_S24DAUD_ENCODER 0
++%define CONFIG_PCM_S24LE_ENCODER 0
++%define CONFIG_PCM_S24LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_S32BE_ENCODER 0
++%define CONFIG_PCM_S32LE_ENCODER 0
++%define CONFIG_PCM_S32LE_PLANAR_ENCODER 0
++%define CONFIG_PCM_U8_ENCODER 0
++%define CONFIG_PCM_U16BE_ENCODER 0
++%define CONFIG_PCM_U16LE_ENCODER 0
++%define CONFIG_PCM_U24BE_ENCODER 0
++%define CONFIG_PCM_U24LE_ENCODER 0
++%define CONFIG_PCM_U32BE_ENCODER 0
++%define CONFIG_PCM_U32LE_ENCODER 0
++%define CONFIG_ROQ_DPCM_ENCODER 0
++%define CONFIG_ADPCM_ADX_ENCODER 0
++%define CONFIG_ADPCM_G722_ENCODER 0
++%define CONFIG_ADPCM_G726_ENCODER 0
++%define CONFIG_ADPCM_IMA_QT_ENCODER 0
++%define CONFIG_ADPCM_IMA_WAV_ENCODER 0
++%define CONFIG_ADPCM_MS_ENCODER 0
++%define CONFIG_ADPCM_SWF_ENCODER 0
++%define CONFIG_ADPCM_YAMAHA_ENCODER 0
++%define CONFIG_SSA_ENCODER 0
++%define CONFIG_ASS_ENCODER 0
++%define CONFIG_DVBSUB_ENCODER 0
++%define CONFIG_DVDSUB_ENCODER 0
++%define CONFIG_MOVTEXT_ENCODER 0
++%define CONFIG_SRT_ENCODER 0
++%define CONFIG_SUBRIP_ENCODER 0
++%define CONFIG_WEBVTT_ENCODER 0
++%define CONFIG_XSUB_ENCODER 0
++%define CONFIG_LIBFAAC_ENCODER 0
++%define CONFIG_LIBFDK_AAC_ENCODER 0
++%define CONFIG_LIBGSM_ENCODER 0
++%define CONFIG_LIBGSM_MS_ENCODER 0
++%define CONFIG_LIBILBC_ENCODER 0
++%define CONFIG_LIBMP3LAME_ENCODER 0
++%define CONFIG_LIBOPENCORE_AMRNB_ENCODER 0
++%define CONFIG_LIBOPENJPEG_ENCODER 0
++%define CONFIG_LIBOPUS_ENCODER 0
++%define CONFIG_LIBSCHROEDINGER_ENCODER 0
++%define CONFIG_LIBSHINE_ENCODER 0
++%define CONFIG_LIBSPEEX_ENCODER 0
++%define CONFIG_LIBTHEORA_ENCODER 0
++%define CONFIG_LIBTWOLAME_ENCODER 0
++%define CONFIG_LIBUTVIDEO_ENCODER 0
++%define CONFIG_LIBVO_AACENC_ENCODER 0
++%define CONFIG_LIBVO_AMRWBENC_ENCODER 0
++%define CONFIG_LIBVORBIS_ENCODER 0
++%define CONFIG_LIBVPX_VP8_ENCODER 0
++%define CONFIG_LIBVPX_VP9_ENCODER 0
++%define CONFIG_LIBWAVPACK_ENCODER 0
++%define CONFIG_LIBWEBP_ANIM_ENCODER 0
++%define CONFIG_LIBWEBP_ENCODER 0
++%define CONFIG_LIBX262_ENCODER 0
++%define CONFIG_LIBX264_ENCODER 0
++%define CONFIG_LIBX264RGB_ENCODER 0
++%define CONFIG_LIBX265_ENCODER 0
++%define CONFIG_LIBXAVS_ENCODER 0
++%define CONFIG_LIBXVID_ENCODER 0
++%define CONFIG_LIBAACPLUS_ENCODER 0
++%define CONFIG_LIBOPENH264_ENCODER 0
++%define CONFIG_H264_QSV_ENCODER 0
++%define CONFIG_NVENC_ENCODER 0
++%define CONFIG_NVENC_H264_ENCODER 0
++%define CONFIG_NVENC_HEVC_ENCODER 0
++%define CONFIG_HEVC_QSV_ENCODER 0
++%define CONFIG_LIBKVAZAAR_ENCODER 0
++%define CONFIG_MPEG2_QSV_ENCODER 0
++%define CONFIG_ACROSSFADE_FILTER 0
++%define CONFIG_ADELAY_FILTER 0
++%define CONFIG_AECHO_FILTER 0
++%define CONFIG_AEVAL_FILTER 0
++%define CONFIG_AFADE_FILTER 0
++%define CONFIG_AFORMAT_FILTER 0
++%define CONFIG_AGATE_FILTER 0
++%define CONFIG_AINTERLEAVE_FILTER 0
++%define CONFIG_ALIMITER_FILTER 0
++%define CONFIG_ALLPASS_FILTER 0
++%define CONFIG_AMERGE_FILTER 0
++%define CONFIG_AMIX_FILTER 0
++%define CONFIG_ANULL_FILTER 0
++%define CONFIG_APAD_FILTER 0
++%define CONFIG_APERMS_FILTER 0
++%define CONFIG_APHASER_FILTER 0
++%define CONFIG_ARESAMPLE_FILTER 0
++%define CONFIG_AREVERSE_FILTER 0
++%define CONFIG_ASELECT_FILTER 0
++%define CONFIG_ASENDCMD_FILTER 0
++%define CONFIG_ASETNSAMPLES_FILTER 0
++%define CONFIG_ASETPTS_FILTER 0
++%define CONFIG_ASETRATE_FILTER 0
++%define CONFIG_ASETTB_FILTER 0
++%define CONFIG_ASHOWINFO_FILTER 0
++%define CONFIG_ASPLIT_FILTER 0
++%define CONFIG_ASTATS_FILTER 0
++%define CONFIG_ASTREAMSYNC_FILTER 0
++%define CONFIG_ASYNCTS_FILTER 0
++%define CONFIG_ATEMPO_FILTER 0
++%define CONFIG_ATRIM_FILTER 0
++%define CONFIG_AZMQ_FILTER 0
++%define CONFIG_BANDPASS_FILTER 0
++%define CONFIG_BANDREJECT_FILTER 0
++%define CONFIG_BASS_FILTER 0
++%define CONFIG_BIQUAD_FILTER 0
++%define CONFIG_BS2B_FILTER 0
++%define CONFIG_CHANNELMAP_FILTER 0
++%define CONFIG_CHANNELSPLIT_FILTER 0
++%define CONFIG_CHORUS_FILTER 0
++%define CONFIG_COMPAND_FILTER 0
++%define CONFIG_DCSHIFT_FILTER 0
++%define CONFIG_DYNAUDNORM_FILTER 0
++%define CONFIG_EARWAX_FILTER 0
++%define CONFIG_EBUR128_FILTER 0
++%define CONFIG_EQUALIZER_FILTER 0
++%define CONFIG_EXTRASTEREO_FILTER 0
++%define CONFIG_FLANGER_FILTER 0
++%define CONFIG_HIGHPASS_FILTER 0
++%define CONFIG_JOIN_FILTER 0
++%define CONFIG_LADSPA_FILTER 0
++%define CONFIG_LOWPASS_FILTER 0
++%define CONFIG_PAN_FILTER 0
++%define CONFIG_REPLAYGAIN_FILTER 0
++%define CONFIG_RESAMPLE_FILTER 0
++%define CONFIG_RUBBERBAND_FILTER 0
++%define CONFIG_SIDECHAINCOMPRESS_FILTER 0
++%define CONFIG_SILENCEDETECT_FILTER 0
++%define CONFIG_SILENCEREMOVE_FILTER 0
++%define CONFIG_STEREOTOOLS_FILTER 0
++%define CONFIG_STEREOWIDEN_FILTER 0
++%define CONFIG_TREBLE_FILTER 0
++%define CONFIG_TREMOLO_FILTER 0
++%define CONFIG_VIBRATO_FILTER 0
++%define CONFIG_VOLUME_FILTER 0
++%define CONFIG_VOLUMEDETECT_FILTER 0
++%define CONFIG_AEVALSRC_FILTER 0
++%define CONFIG_ANULLSRC_FILTER 0
++%define CONFIG_FLITE_FILTER 0
++%define CONFIG_SINE_FILTER 0
++%define CONFIG_ANULLSINK_FILTER 0
++%define CONFIG_ALPHAEXTRACT_FILTER 0
++%define CONFIG_ALPHAMERGE_FILTER 0
++%define CONFIG_ATADENOISE_FILTER 0
++%define CONFIG_ASS_FILTER 0
++%define CONFIG_BBOX_FILTER 0
++%define CONFIG_BLACKDETECT_FILTER 0
++%define CONFIG_BLACKFRAME_FILTER 0
++%define CONFIG_BLEND_FILTER 0
++%define CONFIG_BOXBLUR_FILTER 0
++%define CONFIG_CHROMAKEY_FILTER 0
++%define CONFIG_CODECVIEW_FILTER 0
++%define CONFIG_COLORBALANCE_FILTER 0
++%define CONFIG_COLORCHANNELMIXER_FILTER 0
++%define CONFIG_COLORKEY_FILTER 0
++%define CONFIG_COLORLEVELS_FILTER 0
++%define CONFIG_COLORMATRIX_FILTER 0
++%define CONFIG_COPY_FILTER 0
++%define CONFIG_COVER_RECT_FILTER 0
++%define CONFIG_CROP_FILTER 0
++%define CONFIG_CROPDETECT_FILTER 0
++%define CONFIG_CURVES_FILTER 0
++%define CONFIG_DCTDNOIZ_FILTER 0
++%define CONFIG_DEBAND_FILTER 0
++%define CONFIG_DECIMATE_FILTER 0
++%define CONFIG_DEFLATE_FILTER 0
++%define CONFIG_DEJUDDER_FILTER 0
++%define CONFIG_DELOGO_FILTER 0
++%define CONFIG_DESHAKE_FILTER 0
++%define CONFIG_DETELECINE_FILTER 0
++%define CONFIG_DILATION_FILTER 0
++%define CONFIG_DISPLACE_FILTER 0
++%define CONFIG_DRAWBOX_FILTER 0
++%define CONFIG_DRAWGRAPH_FILTER 0
++%define CONFIG_DRAWGRID_FILTER 0
++%define CONFIG_DRAWTEXT_FILTER 0
++%define CONFIG_EDGEDETECT_FILTER 0
++%define CONFIG_ELBG_FILTER 0
++%define CONFIG_EQ_FILTER 0
++%define CONFIG_EROSION_FILTER 0
++%define CONFIG_EXTRACTPLANES_FILTER 0
++%define CONFIG_FADE_FILTER 0
++%define CONFIG_FFTFILT_FILTER 0
++%define CONFIG_FIELD_FILTER 0
++%define CONFIG_FIELDMATCH_FILTER 0
++%define CONFIG_FIELDORDER_FILTER 0
++%define CONFIG_FIND_RECT_FILTER 0
++%define CONFIG_FORMAT_FILTER 0
++%define CONFIG_FPS_FILTER 0
++%define CONFIG_FRAMEPACK_FILTER 0
++%define CONFIG_FRAMERATE_FILTER 0
++%define CONFIG_FRAMESTEP_FILTER 0
++%define CONFIG_FREI0R_FILTER 0
++%define CONFIG_FSPP_FILTER 0
++%define CONFIG_GEQ_FILTER 0
++%define CONFIG_GRADFUN_FILTER 0
++%define CONFIG_HALDCLUT_FILTER 0
++%define CONFIG_HFLIP_FILTER 0
++%define CONFIG_HISTEQ_FILTER 0
++%define CONFIG_HISTOGRAM_FILTER 0
++%define CONFIG_HQDN3D_FILTER 0
++%define CONFIG_HQX_FILTER 0
++%define CONFIG_HSTACK_FILTER 0
++%define CONFIG_HUE_FILTER 0
++%define CONFIG_IDET_FILTER 0
++%define CONFIG_IL_FILTER 0
++%define CONFIG_INFLATE_FILTER 0
++%define CONFIG_INTERLACE_FILTER 0
++%define CONFIG_INTERLEAVE_FILTER 0
++%define CONFIG_KERNDEINT_FILTER 0
++%define CONFIG_LENSCORRECTION_FILTER 0
++%define CONFIG_LUT3D_FILTER 0
++%define CONFIG_LUT_FILTER 0
++%define CONFIG_LUTRGB_FILTER 0
++%define CONFIG_LUTYUV_FILTER 0
++%define CONFIG_MASKEDMERGE_FILTER 0
++%define CONFIG_MCDEINT_FILTER 0
++%define CONFIG_MERGEPLANES_FILTER 0
++%define CONFIG_MPDECIMATE_FILTER 0
++%define CONFIG_NEGATE_FILTER 0
++%define CONFIG_NOFORMAT_FILTER 0
++%define CONFIG_NOISE_FILTER 0
++%define CONFIG_NULL_FILTER 0
++%define CONFIG_OCR_FILTER 0
++%define CONFIG_OCV_FILTER 0
++%define CONFIG_OVERLAY_FILTER 0
++%define CONFIG_OWDENOISE_FILTER 0
++%define CONFIG_PAD_FILTER 0
++%define CONFIG_PALETTEGEN_FILTER 0
++%define CONFIG_PALETTEUSE_FILTER 0
++%define CONFIG_PERMS_FILTER 0
++%define CONFIG_PERSPECTIVE_FILTER 0
++%define CONFIG_PHASE_FILTER 0
++%define CONFIG_PIXDESCTEST_FILTER 0
++%define CONFIG_PP_FILTER 0
++%define CONFIG_PP7_FILTER 0
++%define CONFIG_PSNR_FILTER 0
++%define CONFIG_PULLUP_FILTER 0
++%define CONFIG_QP_FILTER 0
++%define CONFIG_RANDOM_FILTER 0
++%define CONFIG_REMOVEGRAIN_FILTER 0
++%define CONFIG_REMOVELOGO_FILTER 0
++%define CONFIG_REPEATFIELDS_FILTER 0
++%define CONFIG_REVERSE_FILTER 0
++%define CONFIG_ROTATE_FILTER 0
++%define CONFIG_SAB_FILTER 0
++%define CONFIG_SCALE_FILTER 0
++%define CONFIG_SCALE2REF_FILTER 0
++%define CONFIG_SELECT_FILTER 0
++%define CONFIG_SELECTIVECOLOR_FILTER 0
++%define CONFIG_SENDCMD_FILTER 0
++%define CONFIG_SEPARATEFIELDS_FILTER 0
++%define CONFIG_SETDAR_FILTER 0
++%define CONFIG_SETFIELD_FILTER 0
++%define CONFIG_SETPTS_FILTER 0
++%define CONFIG_SETSAR_FILTER 0
++%define CONFIG_SETTB_FILTER 0
++%define CONFIG_SHOWINFO_FILTER 0
++%define CONFIG_SHOWPALETTE_FILTER 0
++%define CONFIG_SHUFFLEFRAMES_FILTER 0
++%define CONFIG_SHUFFLEPLANES_FILTER 0
++%define CONFIG_SIGNALSTATS_FILTER 0
++%define CONFIG_SMARTBLUR_FILTER 0
++%define CONFIG_SPLIT_FILTER 0
++%define CONFIG_SPP_FILTER 0
++%define CONFIG_SSIM_FILTER 0
++%define CONFIG_STEREO3D_FILTER 0
++%define CONFIG_SUBTITLES_FILTER 0
++%define CONFIG_SUPER2XSAI_FILTER 0
++%define CONFIG_SWAPUV_FILTER 0
++%define CONFIG_TBLEND_FILTER 0
++%define CONFIG_TELECINE_FILTER 0
++%define CONFIG_THUMBNAIL_FILTER 0
++%define CONFIG_TILE_FILTER 0
++%define CONFIG_TINTERLACE_FILTER 0
++%define CONFIG_TRANSPOSE_FILTER 0
++%define CONFIG_TRIM_FILTER 0
++%define CONFIG_UNSHARP_FILTER 0
++%define CONFIG_USPP_FILTER 0
++%define CONFIG_VECTORSCOPE_FILTER 0
++%define CONFIG_VFLIP_FILTER 0
++%define CONFIG_VIDSTABDETECT_FILTER 0
++%define CONFIG_VIDSTABTRANSFORM_FILTER 0
++%define CONFIG_VIGNETTE_FILTER 0
++%define CONFIG_VSTACK_FILTER 0
++%define CONFIG_W3FDIF_FILTER 0
++%define CONFIG_WAVEFORM_FILTER 0
++%define CONFIG_XBR_FILTER 0
++%define CONFIG_YADIF_FILTER 0
++%define CONFIG_ZMQ_FILTER 0
++%define CONFIG_ZOOMPAN_FILTER 0
++%define CONFIG_ZSCALE_FILTER 0
++%define CONFIG_ALLRGB_FILTER 0
++%define CONFIG_ALLYUV_FILTER 0
++%define CONFIG_CELLAUTO_FILTER 0
++%define CONFIG_COLOR_FILTER 0
++%define CONFIG_FREI0R_SRC_FILTER 0
++%define CONFIG_HALDCLUTSRC_FILTER 0
++%define CONFIG_LIFE_FILTER 0
++%define CONFIG_MANDELBROT_FILTER 0
++%define CONFIG_MPTESTSRC_FILTER 0
++%define CONFIG_NULLSRC_FILTER 0
++%define CONFIG_RGBTESTSRC_FILTER 0
++%define CONFIG_SMPTEBARS_FILTER 0
++%define CONFIG_SMPTEHDBARS_FILTER 0
++%define CONFIG_TESTSRC_FILTER 0
++%define CONFIG_NULLSINK_FILTER 0
++%define CONFIG_ADRAWGRAPH_FILTER 0
++%define CONFIG_APHASEMETER_FILTER 0
++%define CONFIG_AVECTORSCOPE_FILTER 0
++%define CONFIG_CONCAT_FILTER 0
++%define CONFIG_SHOWCQT_FILTER 0
++%define CONFIG_SHOWFREQS_FILTER 0
++%define CONFIG_SHOWSPECTRUM_FILTER 0
++%define CONFIG_SHOWVOLUME_FILTER 0
++%define CONFIG_SHOWWAVES_FILTER 0
++%define CONFIG_SHOWWAVESPIC_FILTER 0
++%define CONFIG_AMOVIE_FILTER 0
++%define CONFIG_MOVIE_FILTER 0
++%define CONFIG_H263_VAAPI_HWACCEL 0
++%define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_H264_D3D11VA_HWACCEL 0
++%define CONFIG_H264_DXVA2_HWACCEL 0
++%define CONFIG_H264_MMAL_HWACCEL 0
++%define CONFIG_H264_QSV_HWACCEL 0
++%define CONFIG_H264_VAAPI_HWACCEL 0
++%define CONFIG_H264_VDA_HWACCEL 0
++%define CONFIG_H264_VDA_OLD_HWACCEL 0
++%define CONFIG_H264_VDPAU_HWACCEL 0
++%define CONFIG_H264_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_HEVC_D3D11VA_HWACCEL 0
++%define CONFIG_HEVC_DXVA2_HWACCEL 0
++%define CONFIG_HEVC_QSV_HWACCEL 0
++%define CONFIG_HEVC_VAAPI_HWACCEL 0
++%define CONFIG_HEVC_VDPAU_HWACCEL 0
++%define CONFIG_MPEG1_XVMC_HWACCEL 0
++%define CONFIG_MPEG1_VDPAU_HWACCEL 0
++%define CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_MPEG2_XVMC_HWACCEL 0
++%define CONFIG_MPEG2_D3D11VA_HWACCEL 0
++%define CONFIG_MPEG2_DXVA2_HWACCEL 0
++%define CONFIG_MPEG2_MMAL_HWACCEL 0
++%define CONFIG_MPEG2_QSV_HWACCEL 0
++%define CONFIG_MPEG2_VAAPI_HWACCEL 0
++%define CONFIG_MPEG2_VDPAU_HWACCEL 0
++%define CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_MPEG4_VAAPI_HWACCEL 0
++%define CONFIG_MPEG4_VDPAU_HWACCEL 0
++%define CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL 0
++%define CONFIG_VC1_D3D11VA_HWACCEL 0
++%define CONFIG_VC1_DXVA2_HWACCEL 0
++%define CONFIG_VC1_VAAPI_HWACCEL 0
++%define CONFIG_VC1_VDPAU_HWACCEL 0
++%define CONFIG_VC1_QSV_HWACCEL 0
++%define CONFIG_WMV3_D3D11VA_HWACCEL 0
++%define CONFIG_WMV3_DXVA2_HWACCEL 0
++%define CONFIG_WMV3_VAAPI_HWACCEL 0
++%define CONFIG_WMV3_VDPAU_HWACCEL 0
++%define CONFIG_ALSA_INDEV 0
++%define CONFIG_AVFOUNDATION_INDEV 0
++%define CONFIG_BKTR_INDEV 0
++%define CONFIG_DECKLINK_INDEV 0
++%define CONFIG_DSHOW_INDEV 0
++%define CONFIG_DV1394_INDEV 0
++%define CONFIG_FBDEV_INDEV 0
++%define CONFIG_GDIGRAB_INDEV 0
++%define CONFIG_IEC61883_INDEV 0
++%define CONFIG_JACK_INDEV 0
++%define CONFIG_LAVFI_INDEV 0
++%define CONFIG_OPENAL_INDEV 0
++%define CONFIG_OSS_INDEV 0
++%define CONFIG_PULSE_INDEV 0
++%define CONFIG_QTKIT_INDEV 0
++%define CONFIG_SNDIO_INDEV 0
++%define CONFIG_V4L2_INDEV 0
++%define CONFIG_VFWCAP_INDEV 0
++%define CONFIG_X11GRAB_INDEV 0
++%define CONFIG_X11GRAB_XCB_INDEV 0
++%define CONFIG_LIBCDIO_INDEV 0
++%define CONFIG_LIBDC1394_INDEV 0
++%define CONFIG_A64_MUXER 0
++%define CONFIG_AC3_MUXER 0
++%define CONFIG_ADTS_MUXER 0
++%define CONFIG_ADX_MUXER 0
++%define CONFIG_AIFF_MUXER 0
++%define CONFIG_AMR_MUXER 0
++%define CONFIG_APNG_MUXER 0
++%define CONFIG_ASF_MUXER 0
++%define CONFIG_ASS_MUXER 0
++%define CONFIG_AST_MUXER 0
++%define CONFIG_ASF_STREAM_MUXER 0
++%define CONFIG_AU_MUXER 0
++%define CONFIG_AVI_MUXER 0
++%define CONFIG_AVM2_MUXER 0
++%define CONFIG_BIT_MUXER 0
++%define CONFIG_CAF_MUXER 0
++%define CONFIG_CAVSVIDEO_MUXER 0
++%define CONFIG_CRC_MUXER 0
++%define CONFIG_DASH_MUXER 0
++%define CONFIG_DATA_MUXER 0
++%define CONFIG_DAUD_MUXER 0
++%define CONFIG_DIRAC_MUXER 0
++%define CONFIG_DNXHD_MUXER 0
++%define CONFIG_DTS_MUXER 0
++%define CONFIG_DV_MUXER 0
++%define CONFIG_EAC3_MUXER 0
++%define CONFIG_F4V_MUXER 0
++%define CONFIG_FFM_MUXER 0
++%define CONFIG_FFMETADATA_MUXER 0
++%define CONFIG_FILMSTRIP_MUXER 0
++%define CONFIG_FLAC_MUXER 0
++%define CONFIG_FLV_MUXER 0
++%define CONFIG_FRAMECRC_MUXER 0
++%define CONFIG_FRAMEMD5_MUXER 0
++%define CONFIG_G722_MUXER 0
++%define CONFIG_G723_1_MUXER 0
++%define CONFIG_GIF_MUXER 0
++%define CONFIG_GXF_MUXER 0
++%define CONFIG_H261_MUXER 0
++%define CONFIG_H263_MUXER 0
++%define CONFIG_H264_MUXER 0
++%define CONFIG_HDS_MUXER 0
++%define CONFIG_HEVC_MUXER 0
++%define CONFIG_HLS_MUXER 0
++%define CONFIG_ICO_MUXER 0
++%define CONFIG_ILBC_MUXER 0
++%define CONFIG_IMAGE2_MUXER 0
++%define CONFIG_IMAGE2PIPE_MUXER 0
++%define CONFIG_IPOD_MUXER 0
++%define CONFIG_IRCAM_MUXER 0
++%define CONFIG_ISMV_MUXER 0
++%define CONFIG_IVF_MUXER 0
++%define CONFIG_JACOSUB_MUXER 0
++%define CONFIG_LATM_MUXER 0
++%define CONFIG_LRC_MUXER 0
++%define CONFIG_M4V_MUXER 0
++%define CONFIG_MD5_MUXER 0
++%define CONFIG_MATROSKA_MUXER 0
++%define CONFIG_MATROSKA_AUDIO_MUXER 0
++%define CONFIG_MICRODVD_MUXER 0
++%define CONFIG_MJPEG_MUXER 0
++%define CONFIG_MLP_MUXER 0
++%define CONFIG_MMF_MUXER 0
++%define CONFIG_MOV_MUXER 0
++%define CONFIG_MP2_MUXER 0
++%define CONFIG_MP3_MUXER 0
++%define CONFIG_MP4_MUXER 0
++%define CONFIG_MPEG1SYSTEM_MUXER 0
++%define CONFIG_MPEG1VCD_MUXER 0
++%define CONFIG_MPEG1VIDEO_MUXER 0
++%define CONFIG_MPEG2DVD_MUXER 0
++%define CONFIG_MPEG2SVCD_MUXER 0
++%define CONFIG_MPEG2VIDEO_MUXER 0
++%define CONFIG_MPEG2VOB_MUXER 0
++%define CONFIG_MPEGTS_MUXER 0
++%define CONFIG_MPJPEG_MUXER 0
++%define CONFIG_MXF_MUXER 0
++%define CONFIG_MXF_D10_MUXER 0
++%define CONFIG_MXF_OPATOM_MUXER 0
++%define CONFIG_NULL_MUXER 0
++%define CONFIG_NUT_MUXER 0
++%define CONFIG_OGA_MUXER 0
++%define CONFIG_OGG_MUXER 0
++%define CONFIG_OMA_MUXER 0
++%define CONFIG_OPUS_MUXER 0
++%define CONFIG_PCM_ALAW_MUXER 0
++%define CONFIG_PCM_MULAW_MUXER 0
++%define CONFIG_PCM_F64BE_MUXER 0
++%define CONFIG_PCM_F64LE_MUXER 0
++%define CONFIG_PCM_F32BE_MUXER 0
++%define CONFIG_PCM_F32LE_MUXER 0
++%define CONFIG_PCM_S32BE_MUXER 0
++%define CONFIG_PCM_S32LE_MUXER 0
++%define CONFIG_PCM_S24BE_MUXER 0
++%define CONFIG_PCM_S24LE_MUXER 0
++%define CONFIG_PCM_S16BE_MUXER 0
++%define CONFIG_PCM_S16LE_MUXER 0
++%define CONFIG_PCM_S8_MUXER 0
++%define CONFIG_PCM_U32BE_MUXER 0
++%define CONFIG_PCM_U32LE_MUXER 0
++%define CONFIG_PCM_U24BE_MUXER 0
++%define CONFIG_PCM_U24LE_MUXER 0
++%define CONFIG_PCM_U16BE_MUXER 0
++%define CONFIG_PCM_U16LE_MUXER 0
++%define CONFIG_PCM_U8_MUXER 0
++%define CONFIG_PSP_MUXER 0
++%define CONFIG_RAWVIDEO_MUXER 0
++%define CONFIG_RM_MUXER 0
++%define CONFIG_ROQ_MUXER 0
++%define CONFIG_RSO_MUXER 0
++%define CONFIG_RTP_MUXER 0
++%define CONFIG_RTP_MPEGTS_MUXER 0
++%define CONFIG_RTSP_MUXER 0
++%define CONFIG_SAP_MUXER 0
++%define CONFIG_SEGMENT_MUXER 0
++%define CONFIG_STREAM_SEGMENT_MUXER 0
++%define CONFIG_SINGLEJPEG_MUXER 0
++%define CONFIG_SMJPEG_MUXER 0
++%define CONFIG_SMOOTHSTREAMING_MUXER 0
++%define CONFIG_SOX_MUXER 0
++%define CONFIG_SPX_MUXER 0
++%define CONFIG_SPDIF_MUXER 0
++%define CONFIG_SRT_MUXER 0
++%define CONFIG_SWF_MUXER 0
++%define CONFIG_TEE_MUXER 0
++%define CONFIG_TG2_MUXER 0
++%define CONFIG_TGP_MUXER 0
++%define CONFIG_MKVTIMESTAMP_V2_MUXER 0
++%define CONFIG_TRUEHD_MUXER 0
++%define CONFIG_UNCODEDFRAMECRC_MUXER 0
++%define CONFIG_VC1_MUXER 0
++%define CONFIG_VC1T_MUXER 0
++%define CONFIG_VOC_MUXER 0
++%define CONFIG_W64_MUXER 0
++%define CONFIG_WAV_MUXER 0
++%define CONFIG_WEBM_MUXER 0
++%define CONFIG_WEBM_DASH_MANIFEST_MUXER 0
++%define CONFIG_WEBM_CHUNK_MUXER 0
++%define CONFIG_WEBP_MUXER 0
++%define CONFIG_WEBVTT_MUXER 0
++%define CONFIG_WTV_MUXER 0
++%define CONFIG_WV_MUXER 0
++%define CONFIG_YUV4MPEGPIPE_MUXER 0
++%define CONFIG_CHROMAPRINT_MUXER 0
++%define CONFIG_LIBNUT_MUXER 0
++%define CONFIG_ALSA_OUTDEV 0
++%define CONFIG_CACA_OUTDEV 0
++%define CONFIG_DECKLINK_OUTDEV 0
++%define CONFIG_FBDEV_OUTDEV 0
++%define CONFIG_OPENGL_OUTDEV 0
++%define CONFIG_OSS_OUTDEV 0
++%define CONFIG_PULSE_OUTDEV 0
++%define CONFIG_SDL_OUTDEV 0
++%define CONFIG_SNDIO_OUTDEV 0
++%define CONFIG_V4L2_OUTDEV 0
++%define CONFIG_XV_OUTDEV 0
++%define CONFIG_AAC_PARSER 1
++%define CONFIG_AAC_LATM_PARSER 0
++%define CONFIG_AC3_PARSER 0
++%define CONFIG_ADX_PARSER 0
++%define CONFIG_BMP_PARSER 0
++%define CONFIG_CAVSVIDEO_PARSER 0
++%define CONFIG_COOK_PARSER 0
++%define CONFIG_DCA_PARSER 0
++%define CONFIG_DIRAC_PARSER 0
++%define CONFIG_DNXHD_PARSER 0
++%define CONFIG_DPX_PARSER 0
++%define CONFIG_DVBSUB_PARSER 0
++%define CONFIG_DVDSUB_PARSER 0
++%define CONFIG_DVD_NAV_PARSER 0
++%define CONFIG_FLAC_PARSER 0
++%define CONFIG_G729_PARSER 0
++%define CONFIG_GSM_PARSER 0
++%define CONFIG_H261_PARSER 0
++%define CONFIG_H263_PARSER 0
++%define CONFIG_H264_PARSER 1
++%define CONFIG_HEVC_PARSER 0
++%define CONFIG_MJPEG_PARSER 0
++%define CONFIG_MLP_PARSER 0
++%define CONFIG_MPEG4VIDEO_PARSER 0
++%define CONFIG_MPEGAUDIO_PARSER 1
++%define CONFIG_MPEGVIDEO_PARSER 0
++%define CONFIG_OPUS_PARSER 1
++%define CONFIG_PNG_PARSER 0
++%define CONFIG_PNM_PARSER 0
++%define CONFIG_RV30_PARSER 0
++%define CONFIG_RV40_PARSER 0
++%define CONFIG_TAK_PARSER 0
++%define CONFIG_VC1_PARSER 0
++%define CONFIG_VORBIS_PARSER 1
++%define CONFIG_VP3_PARSER 1
++%define CONFIG_VP8_PARSER 1
++%define CONFIG_VP9_PARSER 0
++%define CONFIG_ASYNC_PROTOCOL 0
++%define CONFIG_BLURAY_PROTOCOL 0
++%define CONFIG_CACHE_PROTOCOL 0
++%define CONFIG_CONCAT_PROTOCOL 0
++%define CONFIG_CRYPTO_PROTOCOL 0
++%define CONFIG_DATA_PROTOCOL 0
++%define CONFIG_FFRTMPCRYPT_PROTOCOL 0
++%define CONFIG_FFRTMPHTTP_PROTOCOL 0
++%define CONFIG_FILE_PROTOCOL 0
++%define CONFIG_FTP_PROTOCOL 0
++%define CONFIG_GOPHER_PROTOCOL 0
++%define CONFIG_HLS_PROTOCOL 0
++%define CONFIG_HTTP_PROTOCOL 0
++%define CONFIG_HTTPPROXY_PROTOCOL 0
++%define CONFIG_HTTPS_PROTOCOL 0
++%define CONFIG_ICECAST_PROTOCOL 0
++%define CONFIG_MMSH_PROTOCOL 0
++%define CONFIG_MMST_PROTOCOL 0
++%define CONFIG_MD5_PROTOCOL 0
++%define CONFIG_PIPE_PROTOCOL 0
++%define CONFIG_RTMP_PROTOCOL 0
++%define CONFIG_RTMPE_PROTOCOL 0
++%define CONFIG_RTMPS_PROTOCOL 0
++%define CONFIG_RTMPT_PROTOCOL 0
++%define CONFIG_RTMPTE_PROTOCOL 0
++%define CONFIG_RTMPTS_PROTOCOL 0
++%define CONFIG_RTP_PROTOCOL 0
++%define CONFIG_SCTP_PROTOCOL 0
++%define CONFIG_SRTP_PROTOCOL 0
++%define CONFIG_SUBFILE_PROTOCOL 0
++%define CONFIG_TCP_PROTOCOL 0
++%define CONFIG_TLS_SECURETRANSPORT_PROTOCOL 0
++%define CONFIG_TLS_GNUTLS_PROTOCOL 0
++%define CONFIG_TLS_OPENSSL_PROTOCOL 0
++%define CONFIG_UDP_PROTOCOL 0
++%define CONFIG_UDPLITE_PROTOCOL 0
++%define CONFIG_UNIX_PROTOCOL 0
++%define CONFIG_LIBRTMP_PROTOCOL 0
++%define CONFIG_LIBRTMPE_PROTOCOL 0
++%define CONFIG_LIBRTMPS_PROTOCOL 0
++%define CONFIG_LIBRTMPT_PROTOCOL 0
++%define CONFIG_LIBRTMPTE_PROTOCOL 0
++%define CONFIG_LIBSSH_PROTOCOL 0
++%define CONFIG_LIBSMBCLIENT_PROTOCOL 0
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h
new file mode 100644
index 0000000..5709b29
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h
@@ -0,0 +1,2038 @@
+$OpenBSD: patch-third_party_ffmpeg_chromium_config_Chrome_openbsd_x64_config_h,v 1.17 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/chromium/config/Chrome/openbsd/x64/config.h.orig.port Fri Jan 22 20:01:51 2016
++++ third_party/ffmpeg/chromium/config/Chrome/openbsd/x64/config.h Fri Jan 22 23:21:27 2016
+@@ -0,0 +1,2034 @@
++/* Automatically generated by configure - do not modify! */
++#ifndef FFMPEG_CONFIG_H
++#define FFMPEG_CONFIG_H
++#define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat --enable-avutil --enable-fft --enable-rdft --enable-static --disable-bzlib --disable-error-resilience --disable-iconv --disable-lzo --disable-network --disable-sdl --disable-symver --disable-xlib --disable-zlib --disable-securetransport --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-decoder=vorbis --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-demuxer='ogg,matroska,wav' --enable-parser='opus,vorbis' --optflags='\0\0-O2\0\0' --enable-decoder='theora,vp8' --enable-parser='vp3,vp8' --enable-pic --enable-decoder='aac,h264,mp3' --enable-demuxer='aac,mp3,mov' --enable-parser='aac,h264,mpegaudio' --cc=clang --cxx='clang+='"
++#define FFMPEG_LICENSE "LGPL version 2.1 or later"
++#define CONFIG_THIS_YEAR 2015
++#define FFMPEG_DATADIR "/usr/local/share/ffmpeg"
++#define AVCONV_DATADIR "/usr/local/share/ffmpeg"
++#define CC_IDENT "clang version 3.5 (trunk)"
++#define av_restrict restrict
++#define EXTERN_PREFIX ""
++#define EXTERN_ASM
++#define BUILDSUF ""
++#define SLIBSUF ".so"
++#define HAVE_MMX2 HAVE_MMXEXT
++#define SWS_MAX_FILTER_SIZE 256
++#define ARCH_AARCH64 0
++#define ARCH_ALPHA 0
++#define ARCH_ARM 0
++#define ARCH_AVR32 0
++#define ARCH_AVR32_AP 0
++#define ARCH_AVR32_UC 0
++#define ARCH_BFIN 0
++#define ARCH_IA64 0
++#define ARCH_M68K 0
++#define ARCH_MIPS 0
++#define ARCH_MIPS64 0
++#define ARCH_PARISC 0
++#define ARCH_PPC 0
++#define ARCH_PPC64 0
++#define ARCH_S390 0
++#define ARCH_SH4 0
++#define ARCH_SPARC 0
++#define ARCH_SPARC64 0
++#define ARCH_TILEGX 0
++#define ARCH_TILEPRO 0
++#define ARCH_TOMI 0
++#define ARCH_X86 1
++#define ARCH_X86_32 0
++#define ARCH_X86_64 1
++#define HAVE_ARMV5TE 0
++#define HAVE_ARMV6 0
++#define HAVE_ARMV6T2 0
++#define HAVE_ARMV8 0
++#define HAVE_NEON 0
++#define HAVE_VFP 0
++#define HAVE_VFPV3 0
++#define HAVE_SETEND 0
++#define HAVE_ALTIVEC 0
++#define HAVE_DCBZL 0
++#define HAVE_LDBRX 0
++#define HAVE_POWER8 0
++#define HAVE_PPC4XX 0
++#define HAVE_VSX 0
++#define HAVE_AESNI 1
++#define HAVE_AMD3DNOW 1
++#define HAVE_AMD3DNOWEXT 1
++#define HAVE_AVX 1
++#define HAVE_AVX2 1
++#define HAVE_FMA3 1
++#define HAVE_FMA4 1
++#define HAVE_MMX 1
++#define HAVE_MMXEXT 1
++#define HAVE_SSE 1
++#define HAVE_SSE2 1
++#define HAVE_SSE3 1
++#define HAVE_SSE4 1
++#define HAVE_SSE42 1
++#define HAVE_SSSE3 1
++#define HAVE_XOP 1
++#define HAVE_CPUNOP 1
++#define HAVE_I686 1
++#define HAVE_MIPSFPU 0
++#define HAVE_MIPS32R2 0
++#define HAVE_MIPS32R5 0
++#define HAVE_MIPS64R6 0
++#define HAVE_MIPSDSPR1 0
++#define HAVE_MIPSDSPR2 0
++#define HAVE_MSA 0
++#define HAVE_LOONGSON2 1
++#define HAVE_LOONGSON3 1
++#define HAVE_MMI 0
++#define HAVE_ARMV5TE_EXTERNAL 0
++#define HAVE_ARMV6_EXTERNAL 0
++#define HAVE_ARMV6T2_EXTERNAL 0
++#define HAVE_ARMV8_EXTERNAL 0
++#define HAVE_NEON_EXTERNAL 0
++#define HAVE_VFP_EXTERNAL 0
++#define HAVE_VFPV3_EXTERNAL 0
++#define HAVE_SETEND_EXTERNAL 0
++#define HAVE_ALTIVEC_EXTERNAL 0
++#define HAVE_DCBZL_EXTERNAL 0
++#define HAVE_LDBRX_EXTERNAL 0
++#define HAVE_POWER8_EXTERNAL 0
++#define HAVE_PPC4XX_EXTERNAL 0
++#define HAVE_VSX_EXTERNAL 0
++#define HAVE_AESNI_EXTERNAL 1
++#define HAVE_AMD3DNOW_EXTERNAL 1
++#define HAVE_AMD3DNOWEXT_EXTERNAL 1
++#define HAVE_AVX_EXTERNAL 1
++#define HAVE_AVX2_EXTERNAL 1
++#define HAVE_FMA3_EXTERNAL 1
++#define HAVE_FMA4_EXTERNAL 1
++#define HAVE_MMX_EXTERNAL 1
++#define HAVE_MMXEXT_EXTERNAL 1
++#define HAVE_SSE_EXTERNAL 1
++#define HAVE_SSE2_EXTERNAL 1
++#define HAVE_SSE3_EXTERNAL 1
++#define HAVE_SSE4_EXTERNAL 1
++#define HAVE_SSE42_EXTERNAL 1
++#define HAVE_SSSE3_EXTERNAL 1
++#define HAVE_XOP_EXTERNAL 1
++#define HAVE_CPUNOP_EXTERNAL 0
++#define HAVE_I686_EXTERNAL 0
++#define HAVE_MIPSFPU_EXTERNAL 0
++#define HAVE_MIPS32R2_EXTERNAL 0
++#define HAVE_MIPS32R5_EXTERNAL 0
++#define HAVE_MIPS64R6_EXTERNAL 0
++#define HAVE_MIPSDSPR1_EXTERNAL 0
++#define HAVE_MIPSDSPR2_EXTERNAL 0
++#define HAVE_MSA_EXTERNAL 0
++#define HAVE_LOONGSON2_EXTERNAL 0
++#define HAVE_LOONGSON3_EXTERNAL 0
++#define HAVE_MMI_EXTERNAL 0
++#define HAVE_ARMV5TE_INLINE 0
++#define HAVE_ARMV6_INLINE 0
++#define HAVE_ARMV6T2_INLINE 0
++#define HAVE_ARMV8_INLINE 0
++#define HAVE_NEON_INLINE 0
++#define HAVE_VFP_INLINE 0
++#define HAVE_VFPV3_INLINE 0
++#define HAVE_SETEND_INLINE 0
++#define HAVE_ALTIVEC_INLINE 0
++#define HAVE_DCBZL_INLINE 0
++#define HAVE_LDBRX_INLINE 0
++#define HAVE_POWER8_INLINE 0
++#define HAVE_PPC4XX_INLINE 0
++#define HAVE_VSX_INLINE 0
++#define HAVE_AESNI_INLINE 1
++#define HAVE_AMD3DNOW_INLINE 1
++#define HAVE_AMD3DNOWEXT_INLINE 1
++#define HAVE_AVX_INLINE 1
++#define HAVE_AVX2_INLINE 1
++#define HAVE_FMA3_INLINE 1
++#define HAVE_FMA4_INLINE 1
++#define HAVE_MMX_INLINE 1
++#define HAVE_MMXEXT_INLINE 1
++#define HAVE_SSE_INLINE 1
++#define HAVE_SSE2_INLINE 1
++#define HAVE_SSE3_INLINE 1
++#define HAVE_SSE4_INLINE 1
++#define HAVE_SSE42_INLINE 1
++#define HAVE_SSSE3_INLINE 1
++#define HAVE_XOP_INLINE 1
++#define HAVE_CPUNOP_INLINE 0
++#define HAVE_I686_INLINE 0
++#define HAVE_MIPSFPU_INLINE 0
++#define HAVE_MIPS32R2_INLINE 0
++#define HAVE_MIPS32R5_INLINE 0
++#define HAVE_MIPS64R6_INLINE 0
++#define HAVE_MIPSDSPR1_INLINE 0
++#define HAVE_MIPSDSPR2_INLINE 0
++#define HAVE_MSA_INLINE 0
++#define HAVE_LOONGSON2_INLINE 0
++#define HAVE_LOONGSON3_INLINE 0
++#define HAVE_MMI_INLINE 0
++#define HAVE_ALIGNED_STACK 1
++#define HAVE_FAST_64BIT 1
++#define HAVE_FAST_CLZ 1
++#define HAVE_FAST_CMOV 1
++#define HAVE_LOCAL_ALIGNED_8 1
++#define HAVE_LOCAL_ALIGNED_16 1
++#define HAVE_LOCAL_ALIGNED_32 1
++#define HAVE_SIMD_ALIGN_16 1
++#define HAVE_ATOMICS_GCC 1
++#define HAVE_ATOMICS_SUNCC 0
++#define HAVE_ATOMICS_WIN32 0
++#define HAVE_ATOMIC_CAS_PTR 0
++#define HAVE_ATOMIC_COMPARE_EXCHANGE 1
++#define HAVE_MACHINE_RW_BARRIER 0
++#define HAVE_MEMORYBARRIER 0
++#define HAVE_MM_EMPTY 1
++#define HAVE_RDTSC 0
++#define HAVE_SARESTART 1
++#define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1
++#define HAVE_INLINE_ASM 1
++#define HAVE_SYMVER 0
++#define HAVE_YASM 1
++#define HAVE_BIGENDIAN 0
++#define HAVE_FAST_UNALIGNED 1
++#define HAVE_INCOMPATIBLE_LIBAV_ABI 0
++#define HAVE_ALSA_ASOUNDLIB_H 0
++#define HAVE_ALTIVEC_H 0
++#define HAVE_ARPA_INET_H 0
++#define HAVE_ASM_TYPES_H 0
++#define HAVE_CDIO_PARANOIA_H 0
++#define HAVE_CDIO_PARANOIA_PARANOIA_H 0
++#define HAVE_DEV_BKTR_IOCTL_BT848_H 0
++#define HAVE_DEV_BKTR_IOCTL_METEOR_H 0
++#define HAVE_DEV_IC_BT8XX_H 1
++#define HAVE_DEV_VIDEO_BKTR_IOCTL_BT848_H 0
++#define HAVE_DEV_VIDEO_METEOR_IOCTL_METEOR_H 0
++#define HAVE_DIRECT_H 0
++#define HAVE_DIRENT_H 1
++#define HAVE_DLFCN_H 1
++#define HAVE_D3D11_H 0
++#define HAVE_DXVA_H 0
++#define HAVE_ES2_GL_H 0
++#define HAVE_GSM_H 0
++#define HAVE_IO_H 0
++#define HAVE_MACH_MACH_TIME_H 0
++#define HAVE_MACHINE_IOCTL_BT848_H 0
++#define HAVE_MACHINE_IOCTL_METEOR_H 0
++#define HAVE_MALLOC_H 1
++#define HAVE_OPENJPEG_1_5_OPENJPEG_H 0
++#define HAVE_OPENGL_GL3_H 0
++#define HAVE_POLL_H 1
++#define HAVE_SNDIO_H 1
++#define HAVE_SOUNDCARD_H 1
++#define HAVE_SYS_MMAN_H 1
++#define HAVE_SYS_PARAM_H 1
++#define HAVE_SYS_RESOURCE_H 1
++#define HAVE_SYS_SELECT_H 1
++#define HAVE_SYS_SOUNDCARD_H 0
++#define HAVE_SYS_TIME_H 1
++#define HAVE_SYS_UN_H 1
++#define HAVE_SYS_VIDEOIO_H 1
++#define HAVE_TERMIOS_H 1
++#define HAVE_UDPLITE_H 0
++#define HAVE_UNISTD_H 1
++#define HAVE_VALGRIND_VALGRIND_H 0
++#define HAVE_WINDOWS_H 0
++#define HAVE_WINSOCK2_H 0
++#define HAVE_INTRINSICS_NEON 0
++#define HAVE_ATANF 1
++#define HAVE_ATAN2F 1
++#define HAVE_CBRT 1
++#define HAVE_CBRTF 1
++#define HAVE_COPYSIGN 1
++#define HAVE_COSF 1
++#define HAVE_ERF 1
++#define HAVE_EXP2 1
++#define HAVE_EXP2F 1
++#define HAVE_EXPF 1
++#define HAVE_ISINF 1
++#define HAVE_ISNAN 1
++#define HAVE_LDEXPF 1
++#define HAVE_LLRINT 1
++#define HAVE_LLRINTF 1
++#define HAVE_LOG2 1
++#define HAVE_LOG2F 1
++#define HAVE_LOG10F 1
++#define HAVE_LRINT 1
++#define HAVE_LRINTF 1
++#define HAVE_POWF 1
++#define HAVE_RINT 1
++#define HAVE_ROUND 1
++#define HAVE_ROUNDF 1
++#define HAVE_SINF 1
++#define HAVE_TRUNC 1
++#define HAVE_TRUNCF 1
++#define HAVE_ACCESS 1
++#define HAVE_ALIGNED_MALLOC 0
++#define HAVE_CLOCK_GETTIME 1
++#define HAVE_CLOSESOCKET 0
++#define HAVE_COMMANDLINETOARGVW 0
++#define HAVE_COTASKMEMFREE 0
++#define HAVE_CRYPTGENRANDOM 0
++#define HAVE_DLOPEN 1
++#define HAVE_FCNTL 1
++#define HAVE_FLT_LIM 1
++#define HAVE_FORK 1
++#define HAVE_GETADDRINFO 0
++#define HAVE_GETHRTIME 0
++#define HAVE_GETOPT 1
++#define HAVE_GETPROCESSAFFINITYMASK 0
++#define HAVE_GETPROCESSMEMORYINFO 0
++#define HAVE_GETPROCESSTIMES 0
++#define HAVE_GETRUSAGE 1
++#define HAVE_GETSYSTEMTIMEASFILETIME 0
++#define HAVE_GETTIMEOFDAY 1
++#define HAVE_GLOB 1
++#define HAVE_GLXGETPROCADDRESS 0
++#define HAVE_GMTIME_R 1
++#define HAVE_INET_ATON 0
++#define HAVE_ISATTY 1
++#define HAVE_JACK_PORT_GET_LATENCY_RANGE 0
++#define HAVE_KBHIT 0
++#define HAVE_LOCALTIME_R 1
++#define HAVE_LSTAT 1
++#define HAVE_LZO1X_999_COMPRESS 0
++#define HAVE_MACH_ABSOLUTE_TIME 0
++#define HAVE_MAPVIEWOFFILE 0
++#define HAVE_MEMALIGN 0
++#define HAVE_MKSTEMP 1
++#define HAVE_MMAP 1
++#define HAVE_MPROTECT 1
++#define HAVE_NANOSLEEP 1
++#define HAVE_PEEKNAMEDPIPE 0
++#define HAVE_POSIX_MEMALIGN 1
++#define HAVE_PTHREAD_CANCEL 1
++#define HAVE_SCHED_GETAFFINITY 0
++#define HAVE_SETCONSOLETEXTATTRIBUTE 0
++#define HAVE_SETCONSOLECTRLHANDLER 0
++#define HAVE_SETMODE 0
++#define HAVE_SETRLIMIT 1
++#define HAVE_SLEEP 0
++#define HAVE_STRERROR_R 1
++#define HAVE_SYSCONF 1
++#define HAVE_SYSCTL 1
++#define HAVE_USLEEP 1
++#define HAVE_UTGETOSTYPEFROMSTRING 0
++#define HAVE_VIRTUALALLOC 0
++#define HAVE_WGLGETPROCADDRESS 0
++#define HAVE_PTHREADS 1
++#define HAVE_OS2THREADS 0
++#define HAVE_W32THREADS 0
++#define HAVE_AS_DN_DIRECTIVE 0
++#define HAVE_AS_FUNC 0
++#define HAVE_AS_OBJECT_ARCH 0
++#define HAVE_ASM_MOD_Q 0
++#define HAVE_ATTRIBUTE_MAY_ALIAS 1
++#define HAVE_ATTRIBUTE_PACKED 1
++#define HAVE_EBP_AVAILABLE 1
++#define HAVE_EBX_AVAILABLE 1
++#define HAVE_GNU_AS 0
++#define HAVE_GNU_WINDRES 0
++#define HAVE_IBM_ASM 0
++#define HAVE_INLINE_ASM_LABELS 1
++#define HAVE_INLINE_ASM_NONLOCAL_LABELS 1
++#define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 1
++#define HAVE_PRAGMA_DEPRECATED 1
++#define HAVE_RSYNC_CONTIMEOUT 1
++#define HAVE_SYMVER_ASM_LABEL 1
++#define HAVE_SYMVER_GNU_ASM 1
++#define HAVE_VFP_ARGS 0
++#define HAVE_XFORM_ASM 0
++#define HAVE_XMM_CLOBBERS 1
++#define HAVE_CONDITION_VARIABLE_PTR 0
++#define HAVE_SOCKLEN_T 0
++#define HAVE_STRUCT_ADDRINFO 0
++#define HAVE_STRUCT_DCADEC_EXSS_INFO_MATRIX_ENCODING 0
++#define HAVE_STRUCT_GROUP_SOURCE_REQ 0
++#define HAVE_STRUCT_IP_MREQ_SOURCE 0
++#define HAVE_STRUCT_IPV6_MREQ 0
++#define HAVE_STRUCT_POLLFD 0
++#define HAVE_STRUCT_RUSAGE_RU_MAXRSS 1
++#define HAVE_STRUCT_SCTP_EVENT_SUBSCRIBE 0
++#define HAVE_STRUCT_SOCKADDR_IN6 0
++#define HAVE_STRUCT_SOCKADDR_SA_LEN 0
++#define HAVE_STRUCT_SOCKADDR_STORAGE 0
++#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
++#define HAVE_STRUCT_V4L2_FRMIVALENUM_DISCRETE 1
++#define HAVE_ATOMICS_NATIVE 1
++#define HAVE_DOS_PATHS 0
++#define HAVE_DXVA2API_COBJ 0
++#define HAVE_DXVA2_LIB 0
++#define HAVE_WINRT 0
++#define HAVE_LIBC_MSVCRT 0
++#define HAVE_LIBDC1394_1 0
++#define HAVE_LIBDC1394_2 0
++#define HAVE_MAKEINFO 1
++#define HAVE_MAKEINFO_HTML 0
++#define HAVE_PERL 1
++#define HAVE_POD2MAN 1
++#define HAVE_SDL 0
++#define HAVE_SECTION_DATA_REL_RO 0
++#define HAVE_TEXI2HTML 1
++#define HAVE_THREADS 1
++#define HAVE_VAAPI_X11 0
++#define HAVE_VDPAU_X11 0
++#define HAVE_XLIB 0
++#define CONFIG_BSFS 0
++#define CONFIG_DECODERS 1
++#define CONFIG_ENCODERS 0
++#define CONFIG_HWACCELS 0
++#define CONFIG_PARSERS 1
++#define CONFIG_INDEVS 0
++#define CONFIG_OUTDEVS 0
++#define CONFIG_FILTERS 0
++#define CONFIG_DEMUXERS 1
++#define CONFIG_MUXERS 0
++#define CONFIG_PROTOCOLS 0
++#define CONFIG_DOC 0
++#define CONFIG_HTMLPAGES 0
++#define CONFIG_MANPAGES 0
++#define CONFIG_PODPAGES 0
++#define CONFIG_TXTPAGES 0
++#define CONFIG_AVIO_READING_EXAMPLE 1
++#define CONFIG_AVIO_DIR_CMD_EXAMPLE 1
++#define CONFIG_DECODING_ENCODING_EXAMPLE 1
++#define CONFIG_DEMUXING_DECODING_EXAMPLE 1
++#define CONFIG_EXTRACT_MVS_EXAMPLE 1
++#define CONFIG_FILTER_AUDIO_EXAMPLE 0
++#define CONFIG_FILTERING_AUDIO_EXAMPLE 0
++#define CONFIG_FILTERING_VIDEO_EXAMPLE 0
++#define CONFIG_METADATA_EXAMPLE 1
++#define CONFIG_MUXING_EXAMPLE 0
++#define CONFIG_QSVDEC_EXAMPLE 0
++#define CONFIG_REMUXING_EXAMPLE 1
++#define CONFIG_RESAMPLING_AUDIO_EXAMPLE 0
++#define CONFIG_SCALING_VIDEO_EXAMPLE 0
++#define CONFIG_TRANSCODE_AAC_EXAMPLE 0
++#define CONFIG_TRANSCODING_EXAMPLE 0
++#define CONFIG_AVISYNTH 0
++#define CONFIG_BZLIB 0
++#define CONFIG_CHROMAPRINT 0
++#define CONFIG_CRYSTALHD 0
++#define CONFIG_DECKLINK 0
++#define CONFIG_FREI0R 0
++#define CONFIG_GNUTLS 0
++#define CONFIG_ICONV 0
++#define CONFIG_LADSPA 0
++#define CONFIG_LIBAACPLUS 0
++#define CONFIG_LIBASS 0
++#define CONFIG_LIBBLURAY 0
++#define CONFIG_LIBBS2B 0
++#define CONFIG_LIBCACA 0
++#define CONFIG_LIBCDIO 0
++#define CONFIG_LIBCELT 0
++#define CONFIG_LIBDC1394 0
++#define CONFIG_LIBDCADEC 0
++#define CONFIG_LIBFAAC 0
++#define CONFIG_LIBFDK_AAC 0
++#define CONFIG_LIBFLITE 0
++#define CONFIG_LIBFONTCONFIG 0
++#define CONFIG_LIBFREETYPE 0
++#define CONFIG_LIBFRIBIDI 0
++#define CONFIG_LIBGME 0
++#define CONFIG_LIBGSM 0
++#define CONFIG_LIBIEC61883 0
++#define CONFIG_LIBILBC 0
++#define CONFIG_LIBKVAZAAR 0
++#define CONFIG_LIBMFX 0
++#define CONFIG_LIBMODPLUG 0
++#define CONFIG_LIBMP3LAME 0
++#define CONFIG_LIBNUT 0
++#define CONFIG_LIBOPENCORE_AMRNB 0
++#define CONFIG_LIBOPENCORE_AMRWB 0
++#define CONFIG_LIBOPENCV 0
++#define CONFIG_LIBOPENH264 0
++#define CONFIG_LIBOPENJPEG 0
++#define CONFIG_LIBOPUS 0
++#define CONFIG_LIBPULSE 0
++#define CONFIG_LIBQUVI 0
++#define CONFIG_LIBRTMP 0
++#define CONFIG_LIBRUBBERBAND 0
++#define CONFIG_LIBSCHROEDINGER 0
++#define CONFIG_LIBSHINE 0
++#define CONFIG_LIBSMBCLIENT 0
++#define CONFIG_LIBSNAPPY 0
++#define CONFIG_LIBSOXR 0
++#define CONFIG_LIBSPEEX 0
++#define CONFIG_LIBSSH 0
++#define CONFIG_LIBSTAGEFRIGHT_H264 0
++#define CONFIG_LIBTESSERACT 0
++#define CONFIG_LIBTHEORA 0
++#define CONFIG_LIBTWOLAME 0
++#define CONFIG_LIBUTVIDEO 0
++#define CONFIG_LIBV4L2 0
++#define CONFIG_LIBVIDSTAB 0
++#define CONFIG_LIBVO_AACENC 0
++#define CONFIG_LIBVO_AMRWBENC 0
++#define CONFIG_LIBVORBIS 0
++#define CONFIG_LIBVPX 0
++#define CONFIG_LIBWAVPACK 0
++#define CONFIG_LIBWEBP 0
++#define CONFIG_LIBX264 0
++#define CONFIG_LIBX265 0
++#define CONFIG_LIBXAVS 0
++#define CONFIG_LIBXCB 1
++#define CONFIG_LIBXCB_SHM 1
++#define CONFIG_LIBXCB_SHAPE 1
++#define CONFIG_LIBXCB_XFIXES 1
++#define CONFIG_LIBXVID 0
++#define CONFIG_LIBZIMG 0
++#define CONFIG_LIBZMQ 0
++#define CONFIG_LIBZVBI 0
++#define CONFIG_LZMA 0
++#define CONFIG_MMAL 0
++#define CONFIG_NVENC 0
++#define CONFIG_OPENAL 0
++#define CONFIG_OPENCL 0
++#define CONFIG_OPENGL 0
++#define CONFIG_OPENSSL 0
++#define CONFIG_SDL 0
++#define CONFIG_SECURETRANSPORT 0
++#define CONFIG_X11GRAB 0
++#define CONFIG_XLIB 0
++#define CONFIG_ZLIB 0
++#define CONFIG_FTRAPV 0
++#define CONFIG_GRAY 0
++#define CONFIG_HARDCODED_TABLES 0
++#define CONFIG_RUNTIME_CPUDETECT 1
++#define CONFIG_SAFE_BITSTREAM_READER 1
++#define CONFIG_SHARED 0
++#define CONFIG_SMALL 0
++#define CONFIG_STATIC 1
++#define CONFIG_SWSCALE_ALPHA 1
++#define CONFIG_D3D11VA 0
++#define CONFIG_DXVA2 0
++#define CONFIG_VAAPI 0
++#define CONFIG_VDA 0
++#define CONFIG_VDPAU 0
++#define CONFIG_VIDEOTOOLBOX 0
++#define CONFIG_XVMC 0
++#define CONFIG_GPL 0
++#define CONFIG_NONFREE 0
++#define CONFIG_VERSION3 0
++#define CONFIG_AVCODEC 1
++#define CONFIG_AVDEVICE 0
++#define CONFIG_AVFILTER 0
++#define CONFIG_AVFORMAT 1
++#define CONFIG_AVRESAMPLE 0
++#define CONFIG_AVUTIL 1
++#define CONFIG_POSTPROC 0
++#define CONFIG_SWRESAMPLE 0
++#define CONFIG_SWSCALE 0
++#define CONFIG_FFPLAY 0
++#define CONFIG_FFPROBE 0
++#define CONFIG_FFSERVER 0
++#define CONFIG_FFMPEG 0
++#define CONFIG_DCT 1
++#define CONFIG_DWT 0
++#define CONFIG_ERROR_RESILIENCE 0
++#define CONFIG_FAAN 1
++#define CONFIG_FAST_UNALIGNED 1
++#define CONFIG_FFT 1
++#define CONFIG_LSP 0
++#define CONFIG_LZO 0
++#define CONFIG_MDCT 1
++#define CONFIG_PIXELUTILS 0
++#define CONFIG_NETWORK 0
++#define CONFIG_RDFT 1
++#define CONFIG_FONTCONFIG 0
++#define CONFIG_INCOMPATIBLE_LIBAV_ABI 0
++#define CONFIG_MEMALIGN_HACK 0
++#define CONFIG_MEMORY_POISONING 0
++#define CONFIG_NEON_CLOBBER_TEST 0
++#define CONFIG_PIC 1
++#define CONFIG_POD2MAN 1
++#define CONFIG_RAISE_MAJOR 0
++#define CONFIG_THUMB 0
++#define CONFIG_VALGRIND_BACKTRACE 0
++#define CONFIG_XMM_CLOBBER_TEST 0
++#define CONFIG_AANDCTTABLES 0
++#define CONFIG_AC3DSP 0
++#define CONFIG_AUDIO_FRAME_QUEUE 0
++#define CONFIG_AUDIODSP 0
++#define CONFIG_BLOCKDSP 0
++#define CONFIG_BSWAPDSP 0
++#define CONFIG_CABAC 1
++#define CONFIG_DVPROFILE 0
++#define CONFIG_EXIF 0
++#define CONFIG_FAANDCT 0
++#define CONFIG_FAANIDCT 0
++#define CONFIG_FDCTDSP 0
++#define CONFIG_FLACDSP 0
++#define CONFIG_FMTCONVERT 0
++#define CONFIG_FRAME_THREAD_ENCODER 0
++#define CONFIG_G722DSP 0
++#define CONFIG_GCRYPT 0
++#define CONFIG_GMP 0
++#define CONFIG_GOLOMB 1
++#define CONFIG_GPLV3 0
++#define CONFIG_H263DSP 0
++#define CONFIG_H264CHROMA 1
++#define CONFIG_H264DSP 1
++#define CONFIG_H264PRED 1
++#define CONFIG_H264QPEL 1
++#define CONFIG_HPELDSP 1
++#define CONFIG_HUFFMAN 0
++#define CONFIG_HUFFYUVDSP 0
++#define CONFIG_HUFFYUVENCDSP 0
++#define CONFIG_IDCTDSP 0
++#define CONFIG_IIRFILTER 0
++#define CONFIG_IMDCT15 1
++#define CONFIG_INTRAX8 0
++#define CONFIG_IVIDSP 0
++#define CONFIG_JPEGTABLES 0
++#define CONFIG_LIBX262 0
++#define CONFIG_LGPLV3 0
++#define CONFIG_LLAUDDSP 0
++#define CONFIG_LLVIDDSP 0
++#define CONFIG_LPC 0
++#define CONFIG_LZF 0
++#define CONFIG_ME_CMP 0
++#define CONFIG_MPEG_ER 0
++#define CONFIG_MPEGAUDIO 1
++#define CONFIG_MPEGAUDIODSP 1
++#define CONFIG_MPEGVIDEO 0
++#define CONFIG_MPEGVIDEOENC 0
++#define CONFIG_MSS34DSP 0
++#define CONFIG_PIXBLOCKDSP 0
++#define CONFIG_QPELDSP 0
++#define CONFIG_QSV 0
++#define CONFIG_QSVDEC 0
++#define CONFIG_QSVENC 0
++#define CONFIG_RANGECODER 0
++#define CONFIG_RIFFDEC 1
++#define CONFIG_RIFFENC 0
++#define CONFIG_RTPDEC 0
++#define CONFIG_RTPENC_CHAIN 0
++#define CONFIG_RV34DSP 0
++#define CONFIG_SINEWIN 1
++#define CONFIG_SNAPPY 0
++#define CONFIG_STARTCODE 1
++#define CONFIG_TEXTUREDSP 0
++#define CONFIG_TEXTUREDSPENC 0
++#define CONFIG_TPELDSP 0
++#define CONFIG_VIDEODSP 1
++#define CONFIG_VP3DSP 1
++#define CONFIG_VP56DSP 0
++#define CONFIG_VP8DSP 1
++#define CONFIG_WMA_FREQS 0
++#define CONFIG_WMV2DSP 0
++#define CONFIG_AAC_ADTSTOASC_BSF 0
++#define CONFIG_CHOMP_BSF 0
++#define CONFIG_DUMP_EXTRADATA_BSF 0
++#define CONFIG_H264_MP4TOANNEXB_BSF 0
++#define CONFIG_HEVC_MP4TOANNEXB_BSF 0
++#define CONFIG_IMX_DUMP_HEADER_BSF 0
++#define CONFIG_MJPEG2JPEG_BSF 0
++#define CONFIG_MJPEGA_DUMP_HEADER_BSF 0
++#define CONFIG_MP3_HEADER_DECOMPRESS_BSF 0
++#define CONFIG_MPEG4_UNPACK_BFRAMES_BSF 0
++#define CONFIG_MOV2TEXTSUB_BSF 0
++#define CONFIG_NOISE_BSF 0
++#define CONFIG_REMOVE_EXTRADATA_BSF 0
++#define CONFIG_TEXT2MOVSUB_BSF 0
++#define CONFIG_AASC_DECODER 0
++#define CONFIG_AIC_DECODER 0
++#define CONFIG_ALIAS_PIX_DECODER 0
++#define CONFIG_AMV_DECODER 0
++#define CONFIG_ANM_DECODER 0
++#define CONFIG_ANSI_DECODER 0
++#define CONFIG_APNG_DECODER 0
++#define CONFIG_ASV1_DECODER 0
++#define CONFIG_ASV2_DECODER 0
++#define CONFIG_AURA_DECODER 0
++#define CONFIG_AURA2_DECODER 0
++#define CONFIG_AVRP_DECODER 0
++#define CONFIG_AVRN_DECODER 0
++#define CONFIG_AVS_DECODER 0
++#define CONFIG_AVUI_DECODER 0
++#define CONFIG_AYUV_DECODER 0
++#define CONFIG_BETHSOFTVID_DECODER 0
++#define CONFIG_BFI_DECODER 0
++#define CONFIG_BINK_DECODER 0
++#define CONFIG_BMP_DECODER 0
++#define CONFIG_BMV_VIDEO_DECODER 0
++#define CONFIG_BRENDER_PIX_DECODER 0
++#define CONFIG_C93_DECODER 0
++#define CONFIG_CAVS_DECODER 0
++#define CONFIG_CDGRAPHICS_DECODER 0
++#define CONFIG_CDXL_DECODER 0
++#define CONFIG_CINEPAK_DECODER 0
++#define CONFIG_CLJR_DECODER 0
++#define CONFIG_CLLC_DECODER 0
++#define CONFIG_COMFORTNOISE_DECODER 0
++#define CONFIG_CPIA_DECODER 0
++#define CONFIG_CSCD_DECODER 0
++#define CONFIG_CYUV_DECODER 0
++#define CONFIG_DDS_DECODER 0
++#define CONFIG_DFA_DECODER 0
++#define CONFIG_DIRAC_DECODER 0
++#define CONFIG_DNXHD_DECODER 0
++#define CONFIG_DPX_DECODER 0
++#define CONFIG_DSICINVIDEO_DECODER 0
++#define CONFIG_DVVIDEO_DECODER 0
++#define CONFIG_DXA_DECODER 0
++#define CONFIG_DXTORY_DECODER 0
++#define CONFIG_DXV_DECODER 0
++#define CONFIG_EACMV_DECODER 0
++#define CONFIG_EAMAD_DECODER 0
++#define CONFIG_EATGQ_DECODER 0
++#define CONFIG_EATGV_DECODER 0
++#define CONFIG_EATQI_DECODER 0
++#define CONFIG_EIGHTBPS_DECODER 0
++#define CONFIG_EIGHTSVX_EXP_DECODER 0
++#define CONFIG_EIGHTSVX_FIB_DECODER 0
++#define CONFIG_ESCAPE124_DECODER 0
++#define CONFIG_ESCAPE130_DECODER 0
++#define CONFIG_EXR_DECODER 0
++#define CONFIG_FFV1_DECODER 0
++#define CONFIG_FFVHUFF_DECODER 0
++#define CONFIG_FIC_DECODER 0
++#define CONFIG_FLASHSV_DECODER 0
++#define CONFIG_FLASHSV2_DECODER 0
++#define CONFIG_FLIC_DECODER 0
++#define CONFIG_FLV_DECODER 0
++#define CONFIG_FOURXM_DECODER 0
++#define CONFIG_FRAPS_DECODER 0
++#define CONFIG_FRWU_DECODER 0
++#define CONFIG_G2M_DECODER 0
++#define CONFIG_GIF_DECODER 0
++#define CONFIG_H261_DECODER 0
++#define CONFIG_H263_DECODER 0
++#define CONFIG_H263I_DECODER 0
++#define CONFIG_H263P_DECODER 0
++#define CONFIG_H264_DECODER 1
++#define CONFIG_H264_CRYSTALHD_DECODER 0
++#define CONFIG_H264_MMAL_DECODER 0
++#define CONFIG_H264_QSV_DECODER 0
++#define CONFIG_H264_VDA_DECODER 0
++#define CONFIG_H264_VDPAU_DECODER 0
++#define CONFIG_HAP_DECODER 0
++#define CONFIG_HEVC_DECODER 0
++#define CONFIG_HEVC_QSV_DECODER 0
++#define CONFIG_HNM4_VIDEO_DECODER 0
++#define CONFIG_HQ_HQA_DECODER 0
++#define CONFIG_HQX_DECODER 0
++#define CONFIG_HUFFYUV_DECODER 0
++#define CONFIG_IDCIN_DECODER 0
++#define CONFIG_IFF_ILBM_DECODER 0
++#define CONFIG_INDEO2_DECODER 0
++#define CONFIG_INDEO3_DECODER 0
++#define CONFIG_INDEO4_DECODER 0
++#define CONFIG_INDEO5_DECODER 0
++#define CONFIG_INTERPLAY_VIDEO_DECODER 0
++#define CONFIG_JPEG2000_DECODER 0
++#define CONFIG_JPEGLS_DECODER 0
++#define CONFIG_JV_DECODER 0
++#define CONFIG_KGV1_DECODER 0
++#define CONFIG_KMVC_DECODER 0
++#define CONFIG_LAGARITH_DECODER 0
++#define CONFIG_LOCO_DECODER 0
++#define CONFIG_MDEC_DECODER 0
++#define CONFIG_MIMIC_DECODER 0
++#define CONFIG_MJPEG_DECODER 0
++#define CONFIG_MJPEGB_DECODER 0
++#define CONFIG_MMVIDEO_DECODER 0
++#define CONFIG_MOTIONPIXELS_DECODER 0
++#define CONFIG_MPEG_XVMC_DECODER 0
++#define CONFIG_MPEG1VIDEO_DECODER 0
++#define CONFIG_MPEG2VIDEO_DECODER 0
++#define CONFIG_MPEG4_DECODER 0
++#define CONFIG_MPEG4_CRYSTALHD_DECODER 0
++#define CONFIG_MPEG4_VDPAU_DECODER 0
++#define CONFIG_MPEGVIDEO_DECODER 0
++#define CONFIG_MPEG_VDPAU_DECODER 0
++#define CONFIG_MPEG1_VDPAU_DECODER 0
++#define CONFIG_MPEG2_MMAL_DECODER 0
++#define CONFIG_MPEG2_CRYSTALHD_DECODER 0
++#define CONFIG_MPEG2_QSV_DECODER 0
++#define CONFIG_MSA1_DECODER 0
++#define CONFIG_MSMPEG4_CRYSTALHD_DECODER 0
++#define CONFIG_MSMPEG4V1_DECODER 0
++#define CONFIG_MSMPEG4V2_DECODER 0
++#define CONFIG_MSMPEG4V3_DECODER 0
++#define CONFIG_MSRLE_DECODER 0
++#define CONFIG_MSS1_DECODER 0
++#define CONFIG_MSS2_DECODER 0
++#define CONFIG_MSVIDEO1_DECODER 0
++#define CONFIG_MSZH_DECODER 0
++#define CONFIG_MTS2_DECODER 0
++#define CONFIG_MVC1_DECODER 0
++#define CONFIG_MVC2_DECODER 0
++#define CONFIG_MXPEG_DECODER 0
++#define CONFIG_NUV_DECODER 0
++#define CONFIG_PAF_VIDEO_DECODER 0
++#define CONFIG_PAM_DECODER 0
++#define CONFIG_PBM_DECODER 0
++#define CONFIG_PCX_DECODER 0
++#define CONFIG_PGM_DECODER 0
++#define CONFIG_PGMYUV_DECODER 0
++#define CONFIG_PICTOR_DECODER 0
++#define CONFIG_PNG_DECODER 0
++#define CONFIG_PPM_DECODER 0
++#define CONFIG_PRORES_DECODER 0
++#define CONFIG_PRORES_LGPL_DECODER 0
++#define CONFIG_PTX_DECODER 0
++#define CONFIG_QDRAW_DECODER 0
++#define CONFIG_QPEG_DECODER 0
++#define CONFIG_QTRLE_DECODER 0
++#define CONFIG_R10K_DECODER 0
++#define CONFIG_R210_DECODER 0
++#define CONFIG_RAWVIDEO_DECODER 0
++#define CONFIG_RL2_DECODER 0
++#define CONFIG_ROQ_DECODER 0
++#define CONFIG_RPZA_DECODER 0
++#define CONFIG_RSCC_DECODER 0
++#define CONFIG_RV10_DECODER 0
++#define CONFIG_RV20_DECODER 0
++#define CONFIG_RV30_DECODER 0
++#define CONFIG_RV40_DECODER 0
++#define CONFIG_S302M_DECODER 0
++#define CONFIG_SANM_DECODER 0
++#define CONFIG_SCREENPRESSO_DECODER 0
++#define CONFIG_SDX2_DPCM_DECODER 0
++#define CONFIG_SGI_DECODER 0
++#define CONFIG_SGIRLE_DECODER 0
++#define CONFIG_SMACKER_DECODER 0
++#define CONFIG_SMC_DECODER 0
++#define CONFIG_SMVJPEG_DECODER 0
++#define CONFIG_SNOW_DECODER 0
++#define CONFIG_SP5X_DECODER 0
++#define CONFIG_SUNRAST_DECODER 0
++#define CONFIG_SVQ1_DECODER 0
++#define CONFIG_SVQ3_DECODER 0
++#define CONFIG_TARGA_DECODER 0
++#define CONFIG_TARGA_Y216_DECODER 0
++#define CONFIG_TDSC_DECODER 0
++#define CONFIG_THEORA_DECODER 1
++#define CONFIG_THP_DECODER 0
++#define CONFIG_TIERTEXSEQVIDEO_DECODER 0
++#define CONFIG_TIFF_DECODER 0
++#define CONFIG_TMV_DECODER 0
++#define CONFIG_TRUEMOTION1_DECODER 0
++#define CONFIG_TRUEMOTION2_DECODER 0
++#define CONFIG_TSCC_DECODER 0
++#define CONFIG_TSCC2_DECODER 0
++#define CONFIG_TXD_DECODER 0
++#define CONFIG_ULTI_DECODER 0
++#define CONFIG_UTVIDEO_DECODER 0
++#define CONFIG_V210_DECODER 0
++#define CONFIG_V210X_DECODER 0
++#define CONFIG_V308_DECODER 0
++#define CONFIG_V408_DECODER 0
++#define CONFIG_V410_DECODER 0
++#define CONFIG_VB_DECODER 0
++#define CONFIG_VBLE_DECODER 0
++#define CONFIG_VC1_DECODER 0
++#define CONFIG_VC1_CRYSTALHD_DECODER 0
++#define CONFIG_VC1_VDPAU_DECODER 0
++#define CONFIG_VC1IMAGE_DECODER 0
++#define CONFIG_VC1_QSV_DECODER 0
++#define CONFIG_VCR1_DECODER 0
++#define CONFIG_VMDVIDEO_DECODER 0
++#define CONFIG_VMNC_DECODER 0
++#define CONFIG_VP3_DECODER 1
++#define CONFIG_VP5_DECODER 0
++#define CONFIG_VP6_DECODER 0
++#define CONFIG_VP6A_DECODER 0
++#define CONFIG_VP6F_DECODER 0
++#define CONFIG_VP7_DECODER 0
++#define CONFIG_VP8_DECODER 1
++#define CONFIG_VP9_DECODER 0
++#define CONFIG_VQA_DECODER 0
++#define CONFIG_WEBP_DECODER 0
++#define CONFIG_WMV1_DECODER 0
++#define CONFIG_WMV2_DECODER 0
++#define CONFIG_WMV3_DECODER 0
++#define CONFIG_WMV3_CRYSTALHD_DECODER 0
++#define CONFIG_WMV3_VDPAU_DECODER 0
++#define CONFIG_WMV3IMAGE_DECODER 0
++#define CONFIG_WNV1_DECODER 0
++#define CONFIG_XAN_WC3_DECODER 0
++#define CONFIG_XAN_WC4_DECODER 0
++#define CONFIG_XBM_DECODER 0
++#define CONFIG_XFACE_DECODER 0
++#define CONFIG_XL_DECODER 0
++#define CONFIG_XWD_DECODER 0
++#define CONFIG_Y41P_DECODER 0
++#define CONFIG_YOP_DECODER 0
++#define CONFIG_YUV4_DECODER 0
++#define CONFIG_ZERO12V_DECODER 0
++#define CONFIG_ZEROCODEC_DECODER 0
++#define CONFIG_ZLIB_DECODER 0
++#define CONFIG_ZMBV_DECODER 0
++#define CONFIG_AAC_DECODER 1
++#define CONFIG_AAC_FIXED_DECODER 0
++#define CONFIG_AAC_LATM_DECODER 0
++#define CONFIG_AC3_DECODER 0
++#define CONFIG_AC3_FIXED_DECODER 0
++#define CONFIG_ALAC_DECODER 0
++#define CONFIG_ALS_DECODER 0
++#define CONFIG_AMRNB_DECODER 0
++#define CONFIG_AMRWB_DECODER 0
++#define CONFIG_APE_DECODER 0
++#define CONFIG_ATRAC1_DECODER 0
++#define CONFIG_ATRAC3_DECODER 0
++#define CONFIG_ATRAC3P_DECODER 0
++#define CONFIG_BINKAUDIO_DCT_DECODER 0
++#define CONFIG_BINKAUDIO_RDFT_DECODER 0
++#define CONFIG_BMV_AUDIO_DECODER 0
++#define CONFIG_COOK_DECODER 0
++#define CONFIG_DCA_DECODER 0
++#define CONFIG_DSD_LSBF_DECODER 0
++#define CONFIG_DSD_MSBF_DECODER 0
++#define CONFIG_DSD_LSBF_PLANAR_DECODER 0
++#define CONFIG_DSD_MSBF_PLANAR_DECODER 0
++#define CONFIG_DSICINAUDIO_DECODER 0
++#define CONFIG_DSS_SP_DECODER 0
++#define CONFIG_EAC3_DECODER 0
++#define CONFIG_EVRC_DECODER 0
++#define CONFIG_FFWAVESYNTH_DECODER 0
++#define CONFIG_FLAC_DECODER 0
++#define CONFIG_G723_1_DECODER 0
++#define CONFIG_G729_DECODER 0
++#define CONFIG_GSM_DECODER 0
++#define CONFIG_GSM_MS_DECODER 0
++#define CONFIG_IAC_DECODER 0
++#define CONFIG_IMC_DECODER 0
++#define CONFIG_INTERPLAY_ACM_DECODER 0
++#define CONFIG_MACE3_DECODER 0
++#define CONFIG_MACE6_DECODER 0
++#define CONFIG_METASOUND_DECODER 0
++#define CONFIG_MLP_DECODER 0
++#define CONFIG_MP1_DECODER 0
++#define CONFIG_MP1FLOAT_DECODER 0
++#define CONFIG_MP2_DECODER 0
++#define CONFIG_MP2FLOAT_DECODER 0
++#define CONFIG_MP3_DECODER 1
++#define CONFIG_MP3FLOAT_DECODER 0
++#define CONFIG_MP3ADU_DECODER 0
++#define CONFIG_MP3ADUFLOAT_DECODER 0
++#define CONFIG_MP3ON4_DECODER 0
++#define CONFIG_MP3ON4FLOAT_DECODER 0
++#define CONFIG_MPC7_DECODER 0
++#define CONFIG_MPC8_DECODER 0
++#define CONFIG_NELLYMOSER_DECODER 0
++#define CONFIG_ON2AVC_DECODER 0
++#define CONFIG_OPUS_DECODER 0
++#define CONFIG_PAF_AUDIO_DECODER 0
++#define CONFIG_QCELP_DECODER 0
++#define CONFIG_QDM2_DECODER 0
++#define CONFIG_RA_144_DECODER 0
++#define CONFIG_RA_288_DECODER 0
++#define CONFIG_RALF_DECODER 0
++#define CONFIG_SHORTEN_DECODER 0
++#define CONFIG_SIPR_DECODER 0
++#define CONFIG_SMACKAUD_DECODER 0
++#define CONFIG_SONIC_DECODER 0
++#define CONFIG_TAK_DECODER 0
++#define CONFIG_TRUEHD_DECODER 0
++#define CONFIG_TRUESPEECH_DECODER 0
++#define CONFIG_TTA_DECODER 0
++#define CONFIG_TWINVQ_DECODER 0
++#define CONFIG_VMDAUDIO_DECODER 0
++#define CONFIG_VORBIS_DECODER 1
++#define CONFIG_WAVPACK_DECODER 0
++#define CONFIG_WMALOSSLESS_DECODER 0
++#define CONFIG_WMAPRO_DECODER 0
++#define CONFIG_WMAV1_DECODER 0
++#define CONFIG_WMAV2_DECODER 0
++#define CONFIG_WMAVOICE_DECODER 0
++#define CONFIG_WS_SND1_DECODER 0
++#define CONFIG_PCM_ALAW_DECODER 1
++#define CONFIG_PCM_BLURAY_DECODER 0
++#define CONFIG_PCM_DVD_DECODER 0
++#define CONFIG_PCM_F32BE_DECODER 0
++#define CONFIG_PCM_F32LE_DECODER 1
++#define CONFIG_PCM_F64BE_DECODER 0
++#define CONFIG_PCM_F64LE_DECODER 0
++#define CONFIG_PCM_LXF_DECODER 0
++#define CONFIG_PCM_MULAW_DECODER 1
++#define CONFIG_PCM_S8_DECODER 0
++#define CONFIG_PCM_S8_PLANAR_DECODER 0
++#define CONFIG_PCM_S16BE_DECODER 1
++#define CONFIG_PCM_S16BE_PLANAR_DECODER 0
++#define CONFIG_PCM_S16LE_DECODER 1
++#define CONFIG_PCM_S16LE_PLANAR_DECODER 0
++#define CONFIG_PCM_S24BE_DECODER 1
++#define CONFIG_PCM_S24DAUD_DECODER 0
++#define CONFIG_PCM_S24LE_DECODER 1
++#define CONFIG_PCM_S24LE_PLANAR_DECODER 0
++#define CONFIG_PCM_S32BE_DECODER 0
++#define CONFIG_PCM_S32LE_DECODER 0
++#define CONFIG_PCM_S32LE_PLANAR_DECODER 0
++#define CONFIG_PCM_U8_DECODER 1
++#define CONFIG_PCM_U16BE_DECODER 0
++#define CONFIG_PCM_U16LE_DECODER 0
++#define CONFIG_PCM_U24BE_DECODER 0
++#define CONFIG_PCM_U24LE_DECODER 0
++#define CONFIG_PCM_U32BE_DECODER 0
++#define CONFIG_PCM_U32LE_DECODER 0
++#define CONFIG_PCM_ZORK_DECODER 0
++#define CONFIG_INTERPLAY_DPCM_DECODER 0
++#define CONFIG_ROQ_DPCM_DECODER 0
++#define CONFIG_SOL_DPCM_DECODER 0
++#define CONFIG_XAN_DPCM_DECODER 0
++#define CONFIG_ADPCM_4XM_DECODER 0
++#define CONFIG_ADPCM_ADX_DECODER 0
++#define CONFIG_ADPCM_AFC_DECODER 0
++#define CONFIG_ADPCM_AICA_DECODER 0
++#define CONFIG_ADPCM_CT_DECODER 0
++#define CONFIG_ADPCM_DTK_DECODER 0
++#define CONFIG_ADPCM_EA_DECODER 0
++#define CONFIG_ADPCM_EA_MAXIS_XA_DECODER 0
++#define CONFIG_ADPCM_EA_R1_DECODER 0
++#define CONFIG_ADPCM_EA_R2_DECODER 0
++#define CONFIG_ADPCM_EA_R3_DECODER 0
++#define CONFIG_ADPCM_EA_XAS_DECODER 0
++#define CONFIG_ADPCM_G722_DECODER 0
++#define CONFIG_ADPCM_G726_DECODER 0
++#define CONFIG_ADPCM_G726LE_DECODER 0
++#define CONFIG_ADPCM_IMA_AMV_DECODER 0
++#define CONFIG_ADPCM_IMA_APC_DECODER 0
++#define CONFIG_ADPCM_IMA_DK3_DECODER 0
++#define CONFIG_ADPCM_IMA_DK4_DECODER 0
++#define CONFIG_ADPCM_IMA_EA_EACS_DECODER 0
++#define CONFIG_ADPCM_IMA_EA_SEAD_DECODER 0
++#define CONFIG_ADPCM_IMA_ISS_DECODER 0
++#define CONFIG_ADPCM_IMA_OKI_DECODER 0
++#define CONFIG_ADPCM_IMA_QT_DECODER 0
++#define CONFIG_ADPCM_IMA_RAD_DECODER 0
++#define CONFIG_ADPCM_IMA_SMJPEG_DECODER 0
++#define CONFIG_ADPCM_IMA_WAV_DECODER 0
++#define CONFIG_ADPCM_IMA_WS_DECODER 0
++#define CONFIG_ADPCM_MS_DECODER 0
++#define CONFIG_ADPCM_PSX_DECODER 0
++#define CONFIG_ADPCM_SBPRO_2_DECODER 0
++#define CONFIG_ADPCM_SBPRO_3_DECODER 0
++#define CONFIG_ADPCM_SBPRO_4_DECODER 0
++#define CONFIG_ADPCM_SWF_DECODER 0
++#define CONFIG_ADPCM_THP_DECODER 0
++#define CONFIG_ADPCM_THP_LE_DECODER 0
++#define CONFIG_ADPCM_VIMA_DECODER 0
++#define CONFIG_ADPCM_XA_DECODER 0
++#define CONFIG_ADPCM_YAMAHA_DECODER 0
++#define CONFIG_SSA_DECODER 0
++#define CONFIG_ASS_DECODER 0
++#define CONFIG_CCAPTION_DECODER 0
++#define CONFIG_DVBSUB_DECODER 0
++#define CONFIG_DVDSUB_DECODER 0
++#define CONFIG_JACOSUB_DECODER 0
++#define CONFIG_MICRODVD_DECODER 0
++#define CONFIG_MOVTEXT_DECODER 0
++#define CONFIG_MPL2_DECODER 0
++#define CONFIG_PGSSUB_DECODER 0
++#define CONFIG_PJS_DECODER 0
++#define CONFIG_REALTEXT_DECODER 0
++#define CONFIG_SAMI_DECODER 0
++#define CONFIG_SRT_DECODER 0
++#define CONFIG_STL_DECODER 0
++#define CONFIG_SUBRIP_DECODER 0
++#define CONFIG_SUBVIEWER_DECODER 0
++#define CONFIG_SUBVIEWER1_DECODER 0
++#define CONFIG_TEXT_DECODER 0
++#define CONFIG_VPLAYER_DECODER 0
++#define CONFIG_WEBVTT_DECODER 0
++#define CONFIG_XSUB_DECODER 0
++#define CONFIG_LIBCELT_DECODER 0
++#define CONFIG_LIBDCADEC_DECODER 0
++#define CONFIG_LIBFDK_AAC_DECODER 0
++#define CONFIG_LIBGSM_DECODER 0
++#define CONFIG_LIBGSM_MS_DECODER 0
++#define CONFIG_LIBILBC_DECODER 0
++#define CONFIG_LIBOPENCORE_AMRNB_DECODER 0
++#define CONFIG_LIBOPENCORE_AMRWB_DECODER 0
++#define CONFIG_LIBOPENJPEG_DECODER 0
++#define CONFIG_LIBOPUS_DECODER 0
++#define CONFIG_LIBSCHROEDINGER_DECODER 0
++#define CONFIG_LIBSPEEX_DECODER 0
++#define CONFIG_LIBSTAGEFRIGHT_H264_DECODER 0
++#define CONFIG_LIBUTVIDEO_DECODER 0
++#define CONFIG_LIBVORBIS_DECODER 0
++#define CONFIG_LIBVPX_VP8_DECODER 0
++#define CONFIG_LIBVPX_VP9_DECODER 0
++#define CONFIG_LIBZVBI_TELETEXT_DECODER 0
++#define CONFIG_BINTEXT_DECODER 0
++#define CONFIG_XBIN_DECODER 0
++#define CONFIG_IDF_DECODER 0
++#define CONFIG_AA_DEMUXER 0
++#define CONFIG_AAC_DEMUXER 1
++#define CONFIG_AC3_DEMUXER 0
++#define CONFIG_ACM_DEMUXER 0
++#define CONFIG_ACT_DEMUXER 0
++#define CONFIG_ADF_DEMUXER 0
++#define CONFIG_ADP_DEMUXER 0
++#define CONFIG_ADS_DEMUXER 0
++#define CONFIG_ADX_DEMUXER 0
++#define CONFIG_AEA_DEMUXER 0
++#define CONFIG_AFC_DEMUXER 0
++#define CONFIG_AIFF_DEMUXER 0
++#define CONFIG_AMR_DEMUXER 0
++#define CONFIG_ANM_DEMUXER 0
++#define CONFIG_APC_DEMUXER 0
++#define CONFIG_APE_DEMUXER 0
++#define CONFIG_APNG_DEMUXER 0
++#define CONFIG_AQTITLE_DEMUXER 0
++#define CONFIG_ASF_DEMUXER 0
++#define CONFIG_ASF_O_DEMUXER 0
++#define CONFIG_ASS_DEMUXER 0
++#define CONFIG_AST_DEMUXER 0
++#define CONFIG_AU_DEMUXER 0
++#define CONFIG_AVI_DEMUXER 0
++#define CONFIG_AVISYNTH_DEMUXER 0
++#define CONFIG_AVR_DEMUXER 0
++#define CONFIG_AVS_DEMUXER 0
++#define CONFIG_BETHSOFTVID_DEMUXER 0
++#define CONFIG_BFI_DEMUXER 0
++#define CONFIG_BINTEXT_DEMUXER 0
++#define CONFIG_BINK_DEMUXER 0
++#define CONFIG_BIT_DEMUXER 0
++#define CONFIG_BMV_DEMUXER 0
++#define CONFIG_BFSTM_DEMUXER 0
++#define CONFIG_BRSTM_DEMUXER 0
++#define CONFIG_BOA_DEMUXER 0
++#define CONFIG_C93_DEMUXER 0
++#define CONFIG_CAF_DEMUXER 0
++#define CONFIG_CAVSVIDEO_DEMUXER 0
++#define CONFIG_CDG_DEMUXER 0
++#define CONFIG_CDXL_DEMUXER 0
++#define CONFIG_CINE_DEMUXER 0
++#define CONFIG_CONCAT_DEMUXER 0
++#define CONFIG_DATA_DEMUXER 0
++#define CONFIG_DAUD_DEMUXER 0
++#define CONFIG_DCSTR_DEMUXER 0
++#define CONFIG_DFA_DEMUXER 0
++#define CONFIG_DIRAC_DEMUXER 0
++#define CONFIG_DNXHD_DEMUXER 0
++#define CONFIG_DSF_DEMUXER 0
++#define CONFIG_DSICIN_DEMUXER 0
++#define CONFIG_DSS_DEMUXER 0
++#define CONFIG_DTS_DEMUXER 0
++#define CONFIG_DTSHD_DEMUXER 0
++#define CONFIG_DV_DEMUXER 0
++#define CONFIG_DVBSUB_DEMUXER 0
++#define CONFIG_DXA_DEMUXER 0
++#define CONFIG_EA_DEMUXER 0
++#define CONFIG_EA_CDATA_DEMUXER 0
++#define CONFIG_EAC3_DEMUXER 0
++#define CONFIG_EPAF_DEMUXER 0
++#define CONFIG_FFM_DEMUXER 0
++#define CONFIG_FFMETADATA_DEMUXER 0
++#define CONFIG_FILMSTRIP_DEMUXER 0
++#define CONFIG_FLAC_DEMUXER 0
++#define CONFIG_FLIC_DEMUXER 0
++#define CONFIG_FLV_DEMUXER 0
++#define CONFIG_LIVE_FLV_DEMUXER 0
++#define CONFIG_FOURXM_DEMUXER 0
++#define CONFIG_FRM_DEMUXER 0
++#define CONFIG_G722_DEMUXER 0
++#define CONFIG_G723_1_DEMUXER 0
++#define CONFIG_G729_DEMUXER 0
++#define CONFIG_GENH_DEMUXER 0
++#define CONFIG_GIF_DEMUXER 0
++#define CONFIG_GSM_DEMUXER 0
++#define CONFIG_GXF_DEMUXER 0
++#define CONFIG_H261_DEMUXER 0
++#define CONFIG_H263_DEMUXER 0
++#define CONFIG_H264_DEMUXER 0
++#define CONFIG_HEVC_DEMUXER 0
++#define CONFIG_HLS_DEMUXER 0
++#define CONFIG_HNM_DEMUXER 0
++#define CONFIG_ICO_DEMUXER 0
++#define CONFIG_IDCIN_DEMUXER 0
++#define CONFIG_IDF_DEMUXER 0
++#define CONFIG_IFF_DEMUXER 0
++#define CONFIG_ILBC_DEMUXER 0
++#define CONFIG_IMAGE2_DEMUXER 0
++#define CONFIG_IMAGE2PIPE_DEMUXER 0
++#define CONFIG_IMAGE2_ALIAS_PIX_DEMUXER 0
++#define CONFIG_IMAGE2_BRENDER_PIX_DEMUXER 0
++#define CONFIG_INGENIENT_DEMUXER 0
++#define CONFIG_IPMOVIE_DEMUXER 0
++#define CONFIG_IRCAM_DEMUXER 0
++#define CONFIG_ISS_DEMUXER 0
++#define CONFIG_IV8_DEMUXER 0
++#define CONFIG_IVF_DEMUXER 0
++#define CONFIG_JACOSUB_DEMUXER 0
++#define CONFIG_JV_DEMUXER 0
++#define CONFIG_LMLM4_DEMUXER 0
++#define CONFIG_LOAS_DEMUXER 0
++#define CONFIG_LRC_DEMUXER 0
++#define CONFIG_LVF_DEMUXER 0
++#define CONFIG_LXF_DEMUXER 0
++#define CONFIG_M4V_DEMUXER 0
++#define CONFIG_MATROSKA_DEMUXER 1
++#define CONFIG_MGSTS_DEMUXER 0
++#define CONFIG_MICRODVD_DEMUXER 0
++#define CONFIG_MJPEG_DEMUXER 0
++#define CONFIG_MLP_DEMUXER 0
++#define CONFIG_MLV_DEMUXER 0
++#define CONFIG_MM_DEMUXER 0
++#define CONFIG_MMF_DEMUXER 0
++#define CONFIG_MOV_DEMUXER 1
++#define CONFIG_MP3_DEMUXER 1
++#define CONFIG_MPC_DEMUXER 0
++#define CONFIG_MPC8_DEMUXER 0
++#define CONFIG_MPEGPS_DEMUXER 0
++#define CONFIG_MPEGTS_DEMUXER 0
++#define CONFIG_MPEGTSRAW_DEMUXER 0
++#define CONFIG_MPEGVIDEO_DEMUXER 0
++#define CONFIG_MPJPEG_DEMUXER 0
++#define CONFIG_MPL2_DEMUXER 0
++#define CONFIG_MPSUB_DEMUXER 0
++#define CONFIG_MSF_DEMUXER 0
++#define CONFIG_MSNWC_TCP_DEMUXER 0
++#define CONFIG_MTV_DEMUXER 0
++#define CONFIG_MV_DEMUXER 0
++#define CONFIG_MVI_DEMUXER 0
++#define CONFIG_MXF_DEMUXER 0
++#define CONFIG_MXG_DEMUXER 0
++#define CONFIG_NC_DEMUXER 0
++#define CONFIG_NISTSPHERE_DEMUXER 0
++#define CONFIG_NSV_DEMUXER 0
++#define CONFIG_NUT_DEMUXER 0
++#define CONFIG_NUV_DEMUXER 0
++#define CONFIG_OGG_DEMUXER 1
++#define CONFIG_OMA_DEMUXER 0
++#define CONFIG_PAF_DEMUXER 0
++#define CONFIG_PCM_ALAW_DEMUXER 0
++#define CONFIG_PCM_MULAW_DEMUXER 0
++#define CONFIG_PCM_F64BE_DEMUXER 0
++#define CONFIG_PCM_F64LE_DEMUXER 0
++#define CONFIG_PCM_F32BE_DEMUXER 0
++#define CONFIG_PCM_F32LE_DEMUXER 0
++#define CONFIG_PCM_S32BE_DEMUXER 0
++#define CONFIG_PCM_S32LE_DEMUXER 0
++#define CONFIG_PCM_S24BE_DEMUXER 0
++#define CONFIG_PCM_S24LE_DEMUXER 0
++#define CONFIG_PCM_S16BE_DEMUXER 0
++#define CONFIG_PCM_S16LE_DEMUXER 0
++#define CONFIG_PCM_S8_DEMUXER 0
++#define CONFIG_PCM_U32BE_DEMUXER 0
++#define CONFIG_PCM_U32LE_DEMUXER 0
++#define CONFIG_PCM_U24BE_DEMUXER 0
++#define CONFIG_PCM_U24LE_DEMUXER 0
++#define CONFIG_PCM_U16BE_DEMUXER 0
++#define CONFIG_PCM_U16LE_DEMUXER 0
++#define CONFIG_PCM_U8_DEMUXER 0
++#define CONFIG_PJS_DEMUXER 0
++#define CONFIG_PMP_DEMUXER 0
++#define CONFIG_PVA_DEMUXER 0
++#define CONFIG_PVF_DEMUXER 0
++#define CONFIG_QCP_DEMUXER 0
++#define CONFIG_R3D_DEMUXER 0
++#define CONFIG_RAWVIDEO_DEMUXER 0
++#define CONFIG_REALTEXT_DEMUXER 0
++#define CONFIG_REDSPARK_DEMUXER 0
++#define CONFIG_RL2_DEMUXER 0
++#define CONFIG_RM_DEMUXER 0
++#define CONFIG_ROQ_DEMUXER 0
++#define CONFIG_RPL_DEMUXER 0
++#define CONFIG_RSD_DEMUXER 0
++#define CONFIG_RSO_DEMUXER 0
++#define CONFIG_RTP_DEMUXER 0
++#define CONFIG_RTSP_DEMUXER 0
++#define CONFIG_SAMI_DEMUXER 0
++#define CONFIG_SAP_DEMUXER 0
++#define CONFIG_SBG_DEMUXER 0
++#define CONFIG_SDP_DEMUXER 0
++#define CONFIG_SDR2_DEMUXER 0
++#define CONFIG_SEGAFILM_DEMUXER 0
++#define CONFIG_SHORTEN_DEMUXER 0
++#define CONFIG_SIFF_DEMUXER 0
++#define CONFIG_SLN_DEMUXER 0
++#define CONFIG_SMACKER_DEMUXER 0
++#define CONFIG_SMJPEG_DEMUXER 0
++#define CONFIG_SMUSH_DEMUXER 0
++#define CONFIG_SOL_DEMUXER 0
++#define CONFIG_SOX_DEMUXER 0
++#define CONFIG_SPDIF_DEMUXER 0
++#define CONFIG_SRT_DEMUXER 0
++#define CONFIG_STR_DEMUXER 0
++#define CONFIG_STL_DEMUXER 0
++#define CONFIG_SUBVIEWER1_DEMUXER 0
++#define CONFIG_SUBVIEWER_DEMUXER 0
++#define CONFIG_SUP_DEMUXER 0
++#define CONFIG_SVAG_DEMUXER 0
++#define CONFIG_SWF_DEMUXER 0
++#define CONFIG_TAK_DEMUXER 0
++#define CONFIG_TEDCAPTIONS_DEMUXER 0
++#define CONFIG_THP_DEMUXER 0
++#define CONFIG_THREEDOSTR_DEMUXER 0
++#define CONFIG_TIERTEXSEQ_DEMUXER 0
++#define CONFIG_TMV_DEMUXER 0
++#define CONFIG_TRUEHD_DEMUXER 0
++#define CONFIG_TTA_DEMUXER 0
++#define CONFIG_TXD_DEMUXER 0
++#define CONFIG_TTY_DEMUXER 0
++#define CONFIG_VAG_DEMUXER 0
++#define CONFIG_VC1_DEMUXER 0
++#define CONFIG_VC1T_DEMUXER 0
++#define CONFIG_VIVO_DEMUXER 0
++#define CONFIG_VMD_DEMUXER 0
++#define CONFIG_VOBSUB_DEMUXER 0
++#define CONFIG_VOC_DEMUXER 0
++#define CONFIG_VPLAYER_DEMUXER 0
++#define CONFIG_VQF_DEMUXER 0
++#define CONFIG_W64_DEMUXER 0
++#define CONFIG_WAV_DEMUXER 1
++#define CONFIG_WC3_DEMUXER 0
++#define CONFIG_WEBM_DASH_MANIFEST_DEMUXER 0
++#define CONFIG_WEBVTT_DEMUXER 0
++#define CONFIG_WSAUD_DEMUXER 0
++#define CONFIG_WSVQA_DEMUXER 0
++#define CONFIG_WTV_DEMUXER 0
++#define CONFIG_WVE_DEMUXER 0
++#define CONFIG_WV_DEMUXER 0
++#define CONFIG_XA_DEMUXER 0
++#define CONFIG_XBIN_DEMUXER 0
++#define CONFIG_XMV_DEMUXER 0
++#define CONFIG_XVAG_DEMUXER 0
++#define CONFIG_XWMA_DEMUXER 0
++#define CONFIG_YOP_DEMUXER 0
++#define CONFIG_YUV4MPEGPIPE_DEMUXER 0
++#define CONFIG_IMAGE_BMP_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_DDS_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_DPX_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_EXR_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_J2K_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_JPEG_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_JPEGLS_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_PICTOR_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_PNG_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_QDRAW_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_SGI_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_SUNRAST_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_TIFF_PIPE_DEMUXER 0
++#define CONFIG_IMAGE_WEBP_PIPE_DEMUXER 0
++#define CONFIG_LIBGME_DEMUXER 0
++#define CONFIG_LIBMODPLUG_DEMUXER 0
++#define CONFIG_LIBNUT_DEMUXER 0
++#define CONFIG_LIBQUVI_DEMUXER 0
++#define CONFIG_A64MULTI_ENCODER 0
++#define CONFIG_A64MULTI5_ENCODER 0
++#define CONFIG_ALIAS_PIX_ENCODER 0
++#define CONFIG_AMV_ENCODER 0
++#define CONFIG_APNG_ENCODER 0
++#define CONFIG_ASV1_ENCODER 0
++#define CONFIG_ASV2_ENCODER 0
++#define CONFIG_AVRP_ENCODER 0
++#define CONFIG_AVUI_ENCODER 0
++#define CONFIG_AYUV_ENCODER 0
++#define CONFIG_BMP_ENCODER 0
++#define CONFIG_CINEPAK_ENCODER 0
++#define CONFIG_CLJR_ENCODER 0
++#define CONFIG_COMFORTNOISE_ENCODER 0
++#define CONFIG_DNXHD_ENCODER 0
++#define CONFIG_DPX_ENCODER 0
++#define CONFIG_DVVIDEO_ENCODER 0
++#define CONFIG_FFV1_ENCODER 0
++#define CONFIG_FFVHUFF_ENCODER 0
++#define CONFIG_FLASHSV_ENCODER 0
++#define CONFIG_FLASHSV2_ENCODER 0
++#define CONFIG_FLV_ENCODER 0
++#define CONFIG_GIF_ENCODER 0
++#define CONFIG_H261_ENCODER 0
++#define CONFIG_H263_ENCODER 0
++#define CONFIG_H263P_ENCODER 0
++#define CONFIG_HAP_ENCODER 0
++#define CONFIG_HUFFYUV_ENCODER 0
++#define CONFIG_JPEG2000_ENCODER 0
++#define CONFIG_JPEGLS_ENCODER 0
++#define CONFIG_LJPEG_ENCODER 0
++#define CONFIG_MJPEG_ENCODER 0
++#define CONFIG_MPEG1VIDEO_ENCODER 0
++#define CONFIG_MPEG2VIDEO_ENCODER 0
++#define CONFIG_MPEG4_ENCODER 0
++#define CONFIG_MSMPEG4V2_ENCODER 0
++#define CONFIG_MSMPEG4V3_ENCODER 0
++#define CONFIG_MSVIDEO1_ENCODER 0
++#define CONFIG_PAM_ENCODER 0
++#define CONFIG_PBM_ENCODER 0
++#define CONFIG_PCX_ENCODER 0
++#define CONFIG_PGM_ENCODER 0
++#define CONFIG_PGMYUV_ENCODER 0
++#define CONFIG_PNG_ENCODER 0
++#define CONFIG_PPM_ENCODER 0
++#define CONFIG_PRORES_ENCODER 0
++#define CONFIG_PRORES_AW_ENCODER 0
++#define CONFIG_PRORES_KS_ENCODER 0
++#define CONFIG_QTRLE_ENCODER 0
++#define CONFIG_R10K_ENCODER 0
++#define CONFIG_R210_ENCODER 0
++#define CONFIG_RAWVIDEO_ENCODER 0
++#define CONFIG_ROQ_ENCODER 0
++#define CONFIG_RV10_ENCODER 0
++#define CONFIG_RV20_ENCODER 0
++#define CONFIG_S302M_ENCODER 0
++#define CONFIG_SGI_ENCODER 0
++#define CONFIG_SNOW_ENCODER 0
++#define CONFIG_SUNRAST_ENCODER 0
++#define CONFIG_SVQ1_ENCODER 0
++#define CONFIG_TARGA_ENCODER 0
++#define CONFIG_TIFF_ENCODER 0
++#define CONFIG_UTVIDEO_ENCODER 0
++#define CONFIG_V210_ENCODER 0
++#define CONFIG_V308_ENCODER 0
++#define CONFIG_V408_ENCODER 0
++#define CONFIG_V410_ENCODER 0
++#define CONFIG_WRAPPED_AVFRAME_ENCODER 0
++#define CONFIG_WMV1_ENCODER 0
++#define CONFIG_WMV2_ENCODER 0
++#define CONFIG_XBM_ENCODER 0
++#define CONFIG_XFACE_ENCODER 0
++#define CONFIG_XWD_ENCODER 0
++#define CONFIG_Y41P_ENCODER 0
++#define CONFIG_YUV4_ENCODER 0
++#define CONFIG_ZLIB_ENCODER 0
++#define CONFIG_ZMBV_ENCODER 0
++#define CONFIG_AAC_ENCODER 0
++#define CONFIG_AC3_ENCODER 0
++#define CONFIG_AC3_FIXED_ENCODER 0
++#define CONFIG_ALAC_ENCODER 0
++#define CONFIG_DCA_ENCODER 0
++#define CONFIG_EAC3_ENCODER 0
++#define CONFIG_FLAC_ENCODER 0
++#define CONFIG_G723_1_ENCODER 0
++#define CONFIG_MP2_ENCODER 0
++#define CONFIG_MP2FIXED_ENCODER 0
++#define CONFIG_NELLYMOSER_ENCODER 0
++#define CONFIG_RA_144_ENCODER 0
++#define CONFIG_SONIC_ENCODER 0
++#define CONFIG_SONIC_LS_ENCODER 0
++#define CONFIG_TTA_ENCODER 0
++#define CONFIG_VORBIS_ENCODER 0
++#define CONFIG_WAVPACK_ENCODER 0
++#define CONFIG_WMAV1_ENCODER 0
++#define CONFIG_WMAV2_ENCODER 0
++#define CONFIG_PCM_ALAW_ENCODER 0
++#define CONFIG_PCM_F32BE_ENCODER 0
++#define CONFIG_PCM_F32LE_ENCODER 0
++#define CONFIG_PCM_F64BE_ENCODER 0
++#define CONFIG_PCM_F64LE_ENCODER 0
++#define CONFIG_PCM_MULAW_ENCODER 0
++#define CONFIG_PCM_S8_ENCODER 0
++#define CONFIG_PCM_S8_PLANAR_ENCODER 0
++#define CONFIG_PCM_S16BE_ENCODER 0
++#define CONFIG_PCM_S16BE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S16LE_ENCODER 0
++#define CONFIG_PCM_S16LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S24BE_ENCODER 0
++#define CONFIG_PCM_S24DAUD_ENCODER 0
++#define CONFIG_PCM_S24LE_ENCODER 0
++#define CONFIG_PCM_S24LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_S32BE_ENCODER 0
++#define CONFIG_PCM_S32LE_ENCODER 0
++#define CONFIG_PCM_S32LE_PLANAR_ENCODER 0
++#define CONFIG_PCM_U8_ENCODER 0
++#define CONFIG_PCM_U16BE_ENCODER 0
++#define CONFIG_PCM_U16LE_ENCODER 0
++#define CONFIG_PCM_U24BE_ENCODER 0
++#define CONFIG_PCM_U24LE_ENCODER 0
++#define CONFIG_PCM_U32BE_ENCODER 0
++#define CONFIG_PCM_U32LE_ENCODER 0
++#define CONFIG_ROQ_DPCM_ENCODER 0
++#define CONFIG_ADPCM_ADX_ENCODER 0
++#define CONFIG_ADPCM_G722_ENCODER 0
++#define CONFIG_ADPCM_G726_ENCODER 0
++#define CONFIG_ADPCM_IMA_QT_ENCODER 0
++#define CONFIG_ADPCM_IMA_WAV_ENCODER 0
++#define CONFIG_ADPCM_MS_ENCODER 0
++#define CONFIG_ADPCM_SWF_ENCODER 0
++#define CONFIG_ADPCM_YAMAHA_ENCODER 0
++#define CONFIG_SSA_ENCODER 0
++#define CONFIG_ASS_ENCODER 0
++#define CONFIG_DVBSUB_ENCODER 0
++#define CONFIG_DVDSUB_ENCODER 0
++#define CONFIG_MOVTEXT_ENCODER 0
++#define CONFIG_SRT_ENCODER 0
++#define CONFIG_SUBRIP_ENCODER 0
++#define CONFIG_WEBVTT_ENCODER 0
++#define CONFIG_XSUB_ENCODER 0
++#define CONFIG_LIBFAAC_ENCODER 0
++#define CONFIG_LIBFDK_AAC_ENCODER 0
++#define CONFIG_LIBGSM_ENCODER 0
++#define CONFIG_LIBGSM_MS_ENCODER 0
++#define CONFIG_LIBILBC_ENCODER 0
++#define CONFIG_LIBMP3LAME_ENCODER 0
++#define CONFIG_LIBOPENCORE_AMRNB_ENCODER 0
++#define CONFIG_LIBOPENJPEG_ENCODER 0
++#define CONFIG_LIBOPUS_ENCODER 0
++#define CONFIG_LIBSCHROEDINGER_ENCODER 0
++#define CONFIG_LIBSHINE_ENCODER 0
++#define CONFIG_LIBSPEEX_ENCODER 0
++#define CONFIG_LIBTHEORA_ENCODER 0
++#define CONFIG_LIBTWOLAME_ENCODER 0
++#define CONFIG_LIBUTVIDEO_ENCODER 0
++#define CONFIG_LIBVO_AACENC_ENCODER 0
++#define CONFIG_LIBVO_AMRWBENC_ENCODER 0
++#define CONFIG_LIBVORBIS_ENCODER 0
++#define CONFIG_LIBVPX_VP8_ENCODER 0
++#define CONFIG_LIBVPX_VP9_ENCODER 0
++#define CONFIG_LIBWAVPACK_ENCODER 0
++#define CONFIG_LIBWEBP_ANIM_ENCODER 0
++#define CONFIG_LIBWEBP_ENCODER 0
++#define CONFIG_LIBX262_ENCODER 0
++#define CONFIG_LIBX264_ENCODER 0
++#define CONFIG_LIBX264RGB_ENCODER 0
++#define CONFIG_LIBX265_ENCODER 0
++#define CONFIG_LIBXAVS_ENCODER 0
++#define CONFIG_LIBXVID_ENCODER 0
++#define CONFIG_LIBAACPLUS_ENCODER 0
++#define CONFIG_LIBOPENH264_ENCODER 0
++#define CONFIG_H264_QSV_ENCODER 0
++#define CONFIG_NVENC_ENCODER 0
++#define CONFIG_NVENC_H264_ENCODER 0
++#define CONFIG_NVENC_HEVC_ENCODER 0
++#define CONFIG_HEVC_QSV_ENCODER 0
++#define CONFIG_LIBKVAZAAR_ENCODER 0
++#define CONFIG_MPEG2_QSV_ENCODER 0
++#define CONFIG_ACROSSFADE_FILTER 0
++#define CONFIG_ADELAY_FILTER 0
++#define CONFIG_AECHO_FILTER 0
++#define CONFIG_AEVAL_FILTER 0
++#define CONFIG_AFADE_FILTER 0
++#define CONFIG_AFORMAT_FILTER 0
++#define CONFIG_AGATE_FILTER 0
++#define CONFIG_AINTERLEAVE_FILTER 0
++#define CONFIG_ALIMITER_FILTER 0
++#define CONFIG_ALLPASS_FILTER 0
++#define CONFIG_AMERGE_FILTER 0
++#define CONFIG_AMIX_FILTER 0
++#define CONFIG_ANULL_FILTER 0
++#define CONFIG_APAD_FILTER 0
++#define CONFIG_APERMS_FILTER 0
++#define CONFIG_APHASER_FILTER 0
++#define CONFIG_ARESAMPLE_FILTER 0
++#define CONFIG_AREVERSE_FILTER 0
++#define CONFIG_ASELECT_FILTER 0
++#define CONFIG_ASENDCMD_FILTER 0
++#define CONFIG_ASETNSAMPLES_FILTER 0
++#define CONFIG_ASETPTS_FILTER 0
++#define CONFIG_ASETRATE_FILTER 0
++#define CONFIG_ASETTB_FILTER 0
++#define CONFIG_ASHOWINFO_FILTER 0
++#define CONFIG_ASPLIT_FILTER 0
++#define CONFIG_ASTATS_FILTER 0
++#define CONFIG_ASTREAMSYNC_FILTER 0
++#define CONFIG_ASYNCTS_FILTER 0
++#define CONFIG_ATEMPO_FILTER 0
++#define CONFIG_ATRIM_FILTER 0
++#define CONFIG_AZMQ_FILTER 0
++#define CONFIG_BANDPASS_FILTER 0
++#define CONFIG_BANDREJECT_FILTER 0
++#define CONFIG_BASS_FILTER 0
++#define CONFIG_BIQUAD_FILTER 0
++#define CONFIG_BS2B_FILTER 0
++#define CONFIG_CHANNELMAP_FILTER 0
++#define CONFIG_CHANNELSPLIT_FILTER 0
++#define CONFIG_CHORUS_FILTER 0
++#define CONFIG_COMPAND_FILTER 0
++#define CONFIG_DCSHIFT_FILTER 0
++#define CONFIG_DYNAUDNORM_FILTER 0
++#define CONFIG_EARWAX_FILTER 0
++#define CONFIG_EBUR128_FILTER 0
++#define CONFIG_EQUALIZER_FILTER 0
++#define CONFIG_EXTRASTEREO_FILTER 0
++#define CONFIG_FLANGER_FILTER 0
++#define CONFIG_HIGHPASS_FILTER 0
++#define CONFIG_JOIN_FILTER 0
++#define CONFIG_LADSPA_FILTER 0
++#define CONFIG_LOWPASS_FILTER 0
++#define CONFIG_PAN_FILTER 0
++#define CONFIG_REPLAYGAIN_FILTER 0
++#define CONFIG_RESAMPLE_FILTER 0
++#define CONFIG_RUBBERBAND_FILTER 0
++#define CONFIG_SIDECHAINCOMPRESS_FILTER 0
++#define CONFIG_SILENCEDETECT_FILTER 0
++#define CONFIG_SILENCEREMOVE_FILTER 0
++#define CONFIG_STEREOTOOLS_FILTER 0
++#define CONFIG_STEREOWIDEN_FILTER 0
++#define CONFIG_TREBLE_FILTER 0
++#define CONFIG_TREMOLO_FILTER 0
++#define CONFIG_VIBRATO_FILTER 0
++#define CONFIG_VOLUME_FILTER 0
++#define CONFIG_VOLUMEDETECT_FILTER 0
++#define CONFIG_AEVALSRC_FILTER 0
++#define CONFIG_ANULLSRC_FILTER 0
++#define CONFIG_FLITE_FILTER 0
++#define CONFIG_SINE_FILTER 0
++#define CONFIG_ANULLSINK_FILTER 0
++#define CONFIG_ALPHAEXTRACT_FILTER 0
++#define CONFIG_ALPHAMERGE_FILTER 0
++#define CONFIG_ATADENOISE_FILTER 0
++#define CONFIG_ASS_FILTER 0
++#define CONFIG_BBOX_FILTER 0
++#define CONFIG_BLACKDETECT_FILTER 0
++#define CONFIG_BLACKFRAME_FILTER 0
++#define CONFIG_BLEND_FILTER 0
++#define CONFIG_BOXBLUR_FILTER 0
++#define CONFIG_CHROMAKEY_FILTER 0
++#define CONFIG_CODECVIEW_FILTER 0
++#define CONFIG_COLORBALANCE_FILTER 0
++#define CONFIG_COLORCHANNELMIXER_FILTER 0
++#define CONFIG_COLORKEY_FILTER 0
++#define CONFIG_COLORLEVELS_FILTER 0
++#define CONFIG_COLORMATRIX_FILTER 0
++#define CONFIG_COPY_FILTER 0
++#define CONFIG_COVER_RECT_FILTER 0
++#define CONFIG_CROP_FILTER 0
++#define CONFIG_CROPDETECT_FILTER 0
++#define CONFIG_CURVES_FILTER 0
++#define CONFIG_DCTDNOIZ_FILTER 0
++#define CONFIG_DEBAND_FILTER 0
++#define CONFIG_DECIMATE_FILTER 0
++#define CONFIG_DEFLATE_FILTER 0
++#define CONFIG_DEJUDDER_FILTER 0
++#define CONFIG_DELOGO_FILTER 0
++#define CONFIG_DESHAKE_FILTER 0
++#define CONFIG_DETELECINE_FILTER 0
++#define CONFIG_DILATION_FILTER 0
++#define CONFIG_DISPLACE_FILTER 0
++#define CONFIG_DRAWBOX_FILTER 0
++#define CONFIG_DRAWGRAPH_FILTER 0
++#define CONFIG_DRAWGRID_FILTER 0
++#define CONFIG_DRAWTEXT_FILTER 0
++#define CONFIG_EDGEDETECT_FILTER 0
++#define CONFIG_ELBG_FILTER 0
++#define CONFIG_EQ_FILTER 0
++#define CONFIG_EROSION_FILTER 0
++#define CONFIG_EXTRACTPLANES_FILTER 0
++#define CONFIG_FADE_FILTER 0
++#define CONFIG_FFTFILT_FILTER 0
++#define CONFIG_FIELD_FILTER 0
++#define CONFIG_FIELDMATCH_FILTER 0
++#define CONFIG_FIELDORDER_FILTER 0
++#define CONFIG_FIND_RECT_FILTER 0
++#define CONFIG_FORMAT_FILTER 0
++#define CONFIG_FPS_FILTER 0
++#define CONFIG_FRAMEPACK_FILTER 0
++#define CONFIG_FRAMERATE_FILTER 0
++#define CONFIG_FRAMESTEP_FILTER 0
++#define CONFIG_FREI0R_FILTER 0
++#define CONFIG_FSPP_FILTER 0
++#define CONFIG_GEQ_FILTER 0
++#define CONFIG_GRADFUN_FILTER 0
++#define CONFIG_HALDCLUT_FILTER 0
++#define CONFIG_HFLIP_FILTER 0
++#define CONFIG_HISTEQ_FILTER 0
++#define CONFIG_HISTOGRAM_FILTER 0
++#define CONFIG_HQDN3D_FILTER 0
++#define CONFIG_HQX_FILTER 0
++#define CONFIG_HSTACK_FILTER 0
++#define CONFIG_HUE_FILTER 0
++#define CONFIG_IDET_FILTER 0
++#define CONFIG_IL_FILTER 0
++#define CONFIG_INFLATE_FILTER 0
++#define CONFIG_INTERLACE_FILTER 0
++#define CONFIG_INTERLEAVE_FILTER 0
++#define CONFIG_KERNDEINT_FILTER 0
++#define CONFIG_LENSCORRECTION_FILTER 0
++#define CONFIG_LUT3D_FILTER 0
++#define CONFIG_LUT_FILTER 0
++#define CONFIG_LUTRGB_FILTER 0
++#define CONFIG_LUTYUV_FILTER 0
++#define CONFIG_MASKEDMERGE_FILTER 0
++#define CONFIG_MCDEINT_FILTER 0
++#define CONFIG_MERGEPLANES_FILTER 0
++#define CONFIG_MPDECIMATE_FILTER 0
++#define CONFIG_NEGATE_FILTER 0
++#define CONFIG_NOFORMAT_FILTER 0
++#define CONFIG_NOISE_FILTER 0
++#define CONFIG_NULL_FILTER 0
++#define CONFIG_OCR_FILTER 0
++#define CONFIG_OCV_FILTER 0
++#define CONFIG_OVERLAY_FILTER 0
++#define CONFIG_OWDENOISE_FILTER 0
++#define CONFIG_PAD_FILTER 0
++#define CONFIG_PALETTEGEN_FILTER 0
++#define CONFIG_PALETTEUSE_FILTER 0
++#define CONFIG_PERMS_FILTER 0
++#define CONFIG_PERSPECTIVE_FILTER 0
++#define CONFIG_PHASE_FILTER 0
++#define CONFIG_PIXDESCTEST_FILTER 0
++#define CONFIG_PP_FILTER 0
++#define CONFIG_PP7_FILTER 0
++#define CONFIG_PSNR_FILTER 0
++#define CONFIG_PULLUP_FILTER 0
++#define CONFIG_QP_FILTER 0
++#define CONFIG_RANDOM_FILTER 0
++#define CONFIG_REMOVEGRAIN_FILTER 0
++#define CONFIG_REMOVELOGO_FILTER 0
++#define CONFIG_REPEATFIELDS_FILTER 0
++#define CONFIG_REVERSE_FILTER 0
++#define CONFIG_ROTATE_FILTER 0
++#define CONFIG_SAB_FILTER 0
++#define CONFIG_SCALE_FILTER 0
++#define CONFIG_SCALE2REF_FILTER 0
++#define CONFIG_SELECT_FILTER 0
++#define CONFIG_SELECTIVECOLOR_FILTER 0
++#define CONFIG_SENDCMD_FILTER 0
++#define CONFIG_SEPARATEFIELDS_FILTER 0
++#define CONFIG_SETDAR_FILTER 0
++#define CONFIG_SETFIELD_FILTER 0
++#define CONFIG_SETPTS_FILTER 0
++#define CONFIG_SETSAR_FILTER 0
++#define CONFIG_SETTB_FILTER 0
++#define CONFIG_SHOWINFO_FILTER 0
++#define CONFIG_SHOWPALETTE_FILTER 0
++#define CONFIG_SHUFFLEFRAMES_FILTER 0
++#define CONFIG_SHUFFLEPLANES_FILTER 0
++#define CONFIG_SIGNALSTATS_FILTER 0
++#define CONFIG_SMARTBLUR_FILTER 0
++#define CONFIG_SPLIT_FILTER 0
++#define CONFIG_SPP_FILTER 0
++#define CONFIG_SSIM_FILTER 0
++#define CONFIG_STEREO3D_FILTER 0
++#define CONFIG_SUBTITLES_FILTER 0
++#define CONFIG_SUPER2XSAI_FILTER 0
++#define CONFIG_SWAPUV_FILTER 0
++#define CONFIG_TBLEND_FILTER 0
++#define CONFIG_TELECINE_FILTER 0
++#define CONFIG_THUMBNAIL_FILTER 0
++#define CONFIG_TILE_FILTER 0
++#define CONFIG_TINTERLACE_FILTER 0
++#define CONFIG_TRANSPOSE_FILTER 0
++#define CONFIG_TRIM_FILTER 0
++#define CONFIG_UNSHARP_FILTER 0
++#define CONFIG_USPP_FILTER 0
++#define CONFIG_VECTORSCOPE_FILTER 0
++#define CONFIG_VFLIP_FILTER 0
++#define CONFIG_VIDSTABDETECT_FILTER 0
++#define CONFIG_VIDSTABTRANSFORM_FILTER 0
++#define CONFIG_VIGNETTE_FILTER 0
++#define CONFIG_VSTACK_FILTER 0
++#define CONFIG_W3FDIF_FILTER 0
++#define CONFIG_WAVEFORM_FILTER 0
++#define CONFIG_XBR_FILTER 0
++#define CONFIG_YADIF_FILTER 0
++#define CONFIG_ZMQ_FILTER 0
++#define CONFIG_ZOOMPAN_FILTER 0
++#define CONFIG_ZSCALE_FILTER 0
++#define CONFIG_ALLRGB_FILTER 0
++#define CONFIG_ALLYUV_FILTER 0
++#define CONFIG_CELLAUTO_FILTER 0
++#define CONFIG_COLOR_FILTER 0
++#define CONFIG_FREI0R_SRC_FILTER 0
++#define CONFIG_HALDCLUTSRC_FILTER 0
++#define CONFIG_LIFE_FILTER 0
++#define CONFIG_MANDELBROT_FILTER 0
++#define CONFIG_MPTESTSRC_FILTER 0
++#define CONFIG_NULLSRC_FILTER 0
++#define CONFIG_RGBTESTSRC_FILTER 0
++#define CONFIG_SMPTEBARS_FILTER 0
++#define CONFIG_SMPTEHDBARS_FILTER 0
++#define CONFIG_TESTSRC_FILTER 0
++#define CONFIG_NULLSINK_FILTER 0
++#define CONFIG_ADRAWGRAPH_FILTER 0
++#define CONFIG_APHASEMETER_FILTER 0
++#define CONFIG_AVECTORSCOPE_FILTER 0
++#define CONFIG_CONCAT_FILTER 0
++#define CONFIG_SHOWCQT_FILTER 0
++#define CONFIG_SHOWFREQS_FILTER 0
++#define CONFIG_SHOWSPECTRUM_FILTER 0
++#define CONFIG_SHOWVOLUME_FILTER 0
++#define CONFIG_SHOWWAVES_FILTER 0
++#define CONFIG_SHOWWAVESPIC_FILTER 0
++#define CONFIG_AMOVIE_FILTER 0
++#define CONFIG_MOVIE_FILTER 0
++#define CONFIG_H263_VAAPI_HWACCEL 0
++#define CONFIG_H263_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_H264_D3D11VA_HWACCEL 0
++#define CONFIG_H264_DXVA2_HWACCEL 0
++#define CONFIG_H264_MMAL_HWACCEL 0
++#define CONFIG_H264_QSV_HWACCEL 0
++#define CONFIG_H264_VAAPI_HWACCEL 0
++#define CONFIG_H264_VDA_HWACCEL 0
++#define CONFIG_H264_VDA_OLD_HWACCEL 0
++#define CONFIG_H264_VDPAU_HWACCEL 0
++#define CONFIG_H264_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_HEVC_D3D11VA_HWACCEL 0
++#define CONFIG_HEVC_DXVA2_HWACCEL 0
++#define CONFIG_HEVC_QSV_HWACCEL 0
++#define CONFIG_HEVC_VAAPI_HWACCEL 0
++#define CONFIG_HEVC_VDPAU_HWACCEL 0
++#define CONFIG_MPEG1_XVMC_HWACCEL 0
++#define CONFIG_MPEG1_VDPAU_HWACCEL 0
++#define CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_MPEG2_XVMC_HWACCEL 0
++#define CONFIG_MPEG2_D3D11VA_HWACCEL 0
++#define CONFIG_MPEG2_DXVA2_HWACCEL 0
++#define CONFIG_MPEG2_MMAL_HWACCEL 0
++#define CONFIG_MPEG2_QSV_HWACCEL 0
++#define CONFIG_MPEG2_VAAPI_HWACCEL 0
++#define CONFIG_MPEG2_VDPAU_HWACCEL 0
++#define CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_MPEG4_VAAPI_HWACCEL 0
++#define CONFIG_MPEG4_VDPAU_HWACCEL 0
++#define CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL 0
++#define CONFIG_VC1_D3D11VA_HWACCEL 0
++#define CONFIG_VC1_DXVA2_HWACCEL 0
++#define CONFIG_VC1_VAAPI_HWACCEL 0
++#define CONFIG_VC1_VDPAU_HWACCEL 0
++#define CONFIG_VC1_QSV_HWACCEL 0
++#define CONFIG_WMV3_D3D11VA_HWACCEL 0
++#define CONFIG_WMV3_DXVA2_HWACCEL 0
++#define CONFIG_WMV3_VAAPI_HWACCEL 0
++#define CONFIG_WMV3_VDPAU_HWACCEL 0
++#define CONFIG_ALSA_INDEV 0
++#define CONFIG_AVFOUNDATION_INDEV 0
++#define CONFIG_BKTR_INDEV 0
++#define CONFIG_DECKLINK_INDEV 0
++#define CONFIG_DSHOW_INDEV 0
++#define CONFIG_DV1394_INDEV 0
++#define CONFIG_FBDEV_INDEV 0
++#define CONFIG_GDIGRAB_INDEV 0
++#define CONFIG_IEC61883_INDEV 0
++#define CONFIG_JACK_INDEV 0
++#define CONFIG_LAVFI_INDEV 0
++#define CONFIG_OPENAL_INDEV 0
++#define CONFIG_OSS_INDEV 0
++#define CONFIG_PULSE_INDEV 0
++#define CONFIG_QTKIT_INDEV 0
++#define CONFIG_SNDIO_INDEV 0
++#define CONFIG_V4L2_INDEV 0
++#define CONFIG_VFWCAP_INDEV 0
++#define CONFIG_X11GRAB_INDEV 0
++#define CONFIG_X11GRAB_XCB_INDEV 0
++#define CONFIG_LIBCDIO_INDEV 0
++#define CONFIG_LIBDC1394_INDEV 0
++#define CONFIG_A64_MUXER 0
++#define CONFIG_AC3_MUXER 0
++#define CONFIG_ADTS_MUXER 0
++#define CONFIG_ADX_MUXER 0
++#define CONFIG_AIFF_MUXER 0
++#define CONFIG_AMR_MUXER 0
++#define CONFIG_APNG_MUXER 0
++#define CONFIG_ASF_MUXER 0
++#define CONFIG_ASS_MUXER 0
++#define CONFIG_AST_MUXER 0
++#define CONFIG_ASF_STREAM_MUXER 0
++#define CONFIG_AU_MUXER 0
++#define CONFIG_AVI_MUXER 0
++#define CONFIG_AVM2_MUXER 0
++#define CONFIG_BIT_MUXER 0
++#define CONFIG_CAF_MUXER 0
++#define CONFIG_CAVSVIDEO_MUXER 0
++#define CONFIG_CRC_MUXER 0
++#define CONFIG_DASH_MUXER 0
++#define CONFIG_DATA_MUXER 0
++#define CONFIG_DAUD_MUXER 0
++#define CONFIG_DIRAC_MUXER 0
++#define CONFIG_DNXHD_MUXER 0
++#define CONFIG_DTS_MUXER 0
++#define CONFIG_DV_MUXER 0
++#define CONFIG_EAC3_MUXER 0
++#define CONFIG_F4V_MUXER 0
++#define CONFIG_FFM_MUXER 0
++#define CONFIG_FFMETADATA_MUXER 0
++#define CONFIG_FILMSTRIP_MUXER 0
++#define CONFIG_FLAC_MUXER 0
++#define CONFIG_FLV_MUXER 0
++#define CONFIG_FRAMECRC_MUXER 0
++#define CONFIG_FRAMEMD5_MUXER 0
++#define CONFIG_G722_MUXER 0
++#define CONFIG_G723_1_MUXER 0
++#define CONFIG_GIF_MUXER 0
++#define CONFIG_GXF_MUXER 0
++#define CONFIG_H261_MUXER 0
++#define CONFIG_H263_MUXER 0
++#define CONFIG_H264_MUXER 0
++#define CONFIG_HDS_MUXER 0
++#define CONFIG_HEVC_MUXER 0
++#define CONFIG_HLS_MUXER 0
++#define CONFIG_ICO_MUXER 0
++#define CONFIG_ILBC_MUXER 0
++#define CONFIG_IMAGE2_MUXER 0
++#define CONFIG_IMAGE2PIPE_MUXER 0
++#define CONFIG_IPOD_MUXER 0
++#define CONFIG_IRCAM_MUXER 0
++#define CONFIG_ISMV_MUXER 0
++#define CONFIG_IVF_MUXER 0
++#define CONFIG_JACOSUB_MUXER 0
++#define CONFIG_LATM_MUXER 0
++#define CONFIG_LRC_MUXER 0
++#define CONFIG_M4V_MUXER 0
++#define CONFIG_MD5_MUXER 0
++#define CONFIG_MATROSKA_MUXER 0
++#define CONFIG_MATROSKA_AUDIO_MUXER 0
++#define CONFIG_MICRODVD_MUXER 0
++#define CONFIG_MJPEG_MUXER 0
++#define CONFIG_MLP_MUXER 0
++#define CONFIG_MMF_MUXER 0
++#define CONFIG_MOV_MUXER 0
++#define CONFIG_MP2_MUXER 0
++#define CONFIG_MP3_MUXER 0
++#define CONFIG_MP4_MUXER 0
++#define CONFIG_MPEG1SYSTEM_MUXER 0
++#define CONFIG_MPEG1VCD_MUXER 0
++#define CONFIG_MPEG1VIDEO_MUXER 0
++#define CONFIG_MPEG2DVD_MUXER 0
++#define CONFIG_MPEG2SVCD_MUXER 0
++#define CONFIG_MPEG2VIDEO_MUXER 0
++#define CONFIG_MPEG2VOB_MUXER 0
++#define CONFIG_MPEGTS_MUXER 0
++#define CONFIG_MPJPEG_MUXER 0
++#define CONFIG_MXF_MUXER 0
++#define CONFIG_MXF_D10_MUXER 0
++#define CONFIG_MXF_OPATOM_MUXER 0
++#define CONFIG_NULL_MUXER 0
++#define CONFIG_NUT_MUXER 0
++#define CONFIG_OGA_MUXER 0
++#define CONFIG_OGG_MUXER 0
++#define CONFIG_OMA_MUXER 0
++#define CONFIG_OPUS_MUXER 0
++#define CONFIG_PCM_ALAW_MUXER 0
++#define CONFIG_PCM_MULAW_MUXER 0
++#define CONFIG_PCM_F64BE_MUXER 0
++#define CONFIG_PCM_F64LE_MUXER 0
++#define CONFIG_PCM_F32BE_MUXER 0
++#define CONFIG_PCM_F32LE_MUXER 0
++#define CONFIG_PCM_S32BE_MUXER 0
++#define CONFIG_PCM_S32LE_MUXER 0
++#define CONFIG_PCM_S24BE_MUXER 0
++#define CONFIG_PCM_S24LE_MUXER 0
++#define CONFIG_PCM_S16BE_MUXER 0
++#define CONFIG_PCM_S16LE_MUXER 0
++#define CONFIG_PCM_S8_MUXER 0
++#define CONFIG_PCM_U32BE_MUXER 0
++#define CONFIG_PCM_U32LE_MUXER 0
++#define CONFIG_PCM_U24BE_MUXER 0
++#define CONFIG_PCM_U24LE_MUXER 0
++#define CONFIG_PCM_U16BE_MUXER 0
++#define CONFIG_PCM_U16LE_MUXER 0
++#define CONFIG_PCM_U8_MUXER 0
++#define CONFIG_PSP_MUXER 0
++#define CONFIG_RAWVIDEO_MUXER 0
++#define CONFIG_RM_MUXER 0
++#define CONFIG_ROQ_MUXER 0
++#define CONFIG_RSO_MUXER 0
++#define CONFIG_RTP_MUXER 0
++#define CONFIG_RTP_MPEGTS_MUXER 0
++#define CONFIG_RTSP_MUXER 0
++#define CONFIG_SAP_MUXER 0
++#define CONFIG_SEGMENT_MUXER 0
++#define CONFIG_STREAM_SEGMENT_MUXER 0
++#define CONFIG_SINGLEJPEG_MUXER 0
++#define CONFIG_SMJPEG_MUXER 0
++#define CONFIG_SMOOTHSTREAMING_MUXER 0
++#define CONFIG_SOX_MUXER 0
++#define CONFIG_SPX_MUXER 0
++#define CONFIG_SPDIF_MUXER 0
++#define CONFIG_SRT_MUXER 0
++#define CONFIG_SWF_MUXER 0
++#define CONFIG_TEE_MUXER 0
++#define CONFIG_TG2_MUXER 0
++#define CONFIG_TGP_MUXER 0
++#define CONFIG_MKVTIMESTAMP_V2_MUXER 0
++#define CONFIG_TRUEHD_MUXER 0
++#define CONFIG_UNCODEDFRAMECRC_MUXER 0
++#define CONFIG_VC1_MUXER 0
++#define CONFIG_VC1T_MUXER 0
++#define CONFIG_VOC_MUXER 0
++#define CONFIG_W64_MUXER 0
++#define CONFIG_WAV_MUXER 0
++#define CONFIG_WEBM_MUXER 0
++#define CONFIG_WEBM_DASH_MANIFEST_MUXER 0
++#define CONFIG_WEBM_CHUNK_MUXER 0
++#define CONFIG_WEBP_MUXER 0
++#define CONFIG_WEBVTT_MUXER 0
++#define CONFIG_WTV_MUXER 0
++#define CONFIG_WV_MUXER 0
++#define CONFIG_YUV4MPEGPIPE_MUXER 0
++#define CONFIG_CHROMAPRINT_MUXER 0
++#define CONFIG_LIBNUT_MUXER 0
++#define CONFIG_ALSA_OUTDEV 0
++#define CONFIG_CACA_OUTDEV 0
++#define CONFIG_DECKLINK_OUTDEV 0
++#define CONFIG_FBDEV_OUTDEV 0
++#define CONFIG_OPENGL_OUTDEV 0
++#define CONFIG_OSS_OUTDEV 0
++#define CONFIG_PULSE_OUTDEV 0
++#define CONFIG_SDL_OUTDEV 0
++#define CONFIG_SNDIO_OUTDEV 0
++#define CONFIG_V4L2_OUTDEV 0
++#define CONFIG_XV_OUTDEV 0
++#define CONFIG_AAC_PARSER 1
++#define CONFIG_AAC_LATM_PARSER 0
++#define CONFIG_AC3_PARSER 0
++#define CONFIG_ADX_PARSER 0
++#define CONFIG_BMP_PARSER 0
++#define CONFIG_CAVSVIDEO_PARSER 0
++#define CONFIG_COOK_PARSER 0
++#define CONFIG_DCA_PARSER 0
++#define CONFIG_DIRAC_PARSER 0
++#define CONFIG_DNXHD_PARSER 0
++#define CONFIG_DPX_PARSER 0
++#define CONFIG_DVBSUB_PARSER 0
++#define CONFIG_DVDSUB_PARSER 0
++#define CONFIG_DVD_NAV_PARSER 0
++#define CONFIG_FLAC_PARSER 0
++#define CONFIG_G729_PARSER 0
++#define CONFIG_GSM_PARSER 0
++#define CONFIG_H261_PARSER 0
++#define CONFIG_H263_PARSER 0
++#define CONFIG_H264_PARSER 1
++#define CONFIG_HEVC_PARSER 0
++#define CONFIG_MJPEG_PARSER 0
++#define CONFIG_MLP_PARSER 0
++#define CONFIG_MPEG4VIDEO_PARSER 0
++#define CONFIG_MPEGAUDIO_PARSER 1
++#define CONFIG_MPEGVIDEO_PARSER 0
++#define CONFIG_OPUS_PARSER 1
++#define CONFIG_PNG_PARSER 0
++#define CONFIG_PNM_PARSER 0
++#define CONFIG_RV30_PARSER 0
++#define CONFIG_RV40_PARSER 0
++#define CONFIG_TAK_PARSER 0
++#define CONFIG_VC1_PARSER 0
++#define CONFIG_VORBIS_PARSER 1
++#define CONFIG_VP3_PARSER 1
++#define CONFIG_VP8_PARSER 1
++#define CONFIG_VP9_PARSER 0
++#define CONFIG_ASYNC_PROTOCOL 0
++#define CONFIG_BLURAY_PROTOCOL 0
++#define CONFIG_CACHE_PROTOCOL 0
++#define CONFIG_CONCAT_PROTOCOL 0
++#define CONFIG_CRYPTO_PROTOCOL 0
++#define CONFIG_DATA_PROTOCOL 0
++#define CONFIG_FFRTMPCRYPT_PROTOCOL 0
++#define CONFIG_FFRTMPHTTP_PROTOCOL 0
++#define CONFIG_FILE_PROTOCOL 0
++#define CONFIG_FTP_PROTOCOL 0
++#define CONFIG_GOPHER_PROTOCOL 0
++#define CONFIG_HLS_PROTOCOL 0
++#define CONFIG_HTTP_PROTOCOL 0
++#define CONFIG_HTTPPROXY_PROTOCOL 0
++#define CONFIG_HTTPS_PROTOCOL 0
++#define CONFIG_ICECAST_PROTOCOL 0
++#define CONFIG_MMSH_PROTOCOL 0
++#define CONFIG_MMST_PROTOCOL 0
++#define CONFIG_MD5_PROTOCOL 0
++#define CONFIG_PIPE_PROTOCOL 0
++#define CONFIG_RTMP_PROTOCOL 0
++#define CONFIG_RTMPE_PROTOCOL 0
++#define CONFIG_RTMPS_PROTOCOL 0
++#define CONFIG_RTMPT_PROTOCOL 0
++#define CONFIG_RTMPTE_PROTOCOL 0
++#define CONFIG_RTMPTS_PROTOCOL 0
++#define CONFIG_RTP_PROTOCOL 0
++#define CONFIG_SCTP_PROTOCOL 0
++#define CONFIG_SRTP_PROTOCOL 0
++#define CONFIG_SUBFILE_PROTOCOL 0
++#define CONFIG_TCP_PROTOCOL 0
++#define CONFIG_TLS_SECURETRANSPORT_PROTOCOL 0
++#define CONFIG_TLS_GNUTLS_PROTOCOL 0
++#define CONFIG_TLS_OPENSSL_PROTOCOL 0
++#define CONFIG_UDP_PROTOCOL 0
++#define CONFIG_UDPLITE_PROTOCOL 0
++#define CONFIG_UNIX_PROTOCOL 0
++#define CONFIG_LIBRTMP_PROTOCOL 0
++#define CONFIG_LIBRTMPE_PROTOCOL 0
++#define CONFIG_LIBRTMPS_PROTOCOL 0
++#define CONFIG_LIBRTMPT_PROTOCOL 0
++#define CONFIG_LIBRTMPTE_PROTOCOL 0
++#define CONFIG_LIBSSH_PROTOCOL 0
++#define CONFIG_LIBSMBCLIENT_PROTOCOL 0
++#endif /* FFMPEG_CONFIG_H */
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_generated_gypi b/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_generated_gypi
new file mode 100644
index 0000000..3836ad0
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_generated_gypi
@@ -0,0 +1,376 @@
+$OpenBSD: patch-third_party_ffmpeg_ffmpeg_generated_gypi,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/ffmpeg_generated.gypi.orig.port Wed Jan 20 21:02:05 2016
++++ third_party/ffmpeg/ffmpeg_generated.gypi Fri Jan 22 19:58:59 2016
+@@ -8,7 +8,7 @@
+ {
+ 'variables': {
+ 'conditions': [
+- ['OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS"', {
++ ['OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS"', {
+ 'c_sources': [
+ 'libavcodec/arm/blockdsp_init_neon.c',
+ 'libavcodec/arm/idctdsp_init_neon.c',
+@@ -19,8 +19,8 @@
+ 'libavcodec/arm/mpegvideo_neon.S',
+ 'libavcodec/arm/simple_idct_neon.S',
+ ],
+- }], # OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS"
+- ['OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS"', {
++ }], # OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS"
++ ['OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS"', {
+ 'c_sources': [
+ 'libavcodec/mips/blockdsp_init_mips.c',
+ 'libavcodec/mips/h263dsp_init_mips.c',
+@@ -31,8 +31,8 @@
+ 'libavcodec/mips/qpeldsp_init_mips.c',
+ 'libavcodec/mips/xvididct_init_mips.c',
+ ],
+- }], # OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS"
+- ['(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")', {
++ }], # OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS"
++ ['(OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/x86/blockdsp_init.c',
+ 'libavcodec/x86/fdct.c',
+@@ -57,26 +57,26 @@
+ 'libavcodec/x86/simple_idct10.asm',
+ 'libavcodec/x86/xvididct.asm',
+ ],
+- }], # (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")
++ }], # (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")
+ ['(OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'asm_sources': [
+ 'libavutil/x86/emms.asm',
+ ],
+ }], # (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")', {
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")', {
+ 'asm_sources': [
+ 'libavcodec/arm/h264cmc_neon.S',
+ 'libavcodec/arm/h264dsp_neon.S',
+ 'libavcodec/arm/h264idct_neon.S',
+ 'libavcodec/arm/h264qpel_neon.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/neon/autorename_libavcodec_neon_mpegvideo.c',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/blockdsp_init_arm.c',
+ 'libavcodec/arm/idctdsp_init_arm.c',
+@@ -98,8 +98,8 @@
+ 'libavcodec/arm/simple_idct_armv5te.S',
+ 'libavcodec/arm/simple_idct_armv6.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/aarch64/h264chroma_init_aarch64.c',
+ 'libavcodec/aarch64/h264dsp_init_aarch64.c',
+@@ -111,8 +111,8 @@
+ 'libavcodec/aarch64/autorename_libavcodec_aarch64_h264idct_neon.S',
+ 'libavcodec/aarch64/autorename_libavcodec_aarch64_h264qpel_neon.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/aarch64/imdct15_init.c',
+ 'libavcodec/aarch64/mpegaudiodsp_init.c',
+@@ -121,42 +121,42 @@
+ 'libavcodec/aarch64/imdct15_neon.S',
+ 'libavcodec/aarch64/mpegaudiodsp_neon.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/mips/h264chroma_init_mips.c',
+ 'libavcodec/mips/h264dsp_init_mips.c',
+ 'libavcodec/mips/h264qpel_init_mips.c',
+ ],
+- }], # (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/mips/aacdec_mips.c',
+ 'libavcodec/mips/aacpsdsp_mips.c',
+ 'libavcodec/mips/aacsbr_mips.c',
+ 'libavcodec/mips/sbrdsp_mips.c',
+ ],
+- }], # (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")', {
+ 'asm_sources': [
+ 'libavcodec/arm/aacpsdsp_neon.S',
+ 'libavcodec/arm/sbrdsp_neon.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS")
+ ['(OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'compat/msvcrt/snprintf.c',
+ ],
+ }], # (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS")', {
++ ['(OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/x86/flacdsp_init.c',
+ ],
+ 'asm_sources': [
+ 'libavcodec/x86/flacdsp.asm',
+ ],
+- }], # (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
++ }], # (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
+ 'c_sources': [
+ 'libavcodec/x86/h264_qpel.c',
+ 'libavcodec/x86/h264chroma_init.c',
+@@ -175,8 +175,8 @@
+ 'libavcodec/x86/h264_weight_10bit.asm',
+ 'libavcodec/x86/qpel.asm',
+ ],
+- }], # (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/hpeldsp_init_neon.c',
+ 'libavcodec/arm/vp8dsp_init_neon.c',
+@@ -187,8 +187,8 @@
+ 'libavcodec/arm/vp3dsp_neon.S',
+ 'libavcodec/arm/vp8dsp_neon.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/h264chroma_init_arm.c',
+ 'libavcodec/arm/h264dsp_init_arm.c',
+@@ -197,16 +197,16 @@
+ 'asm_sources': [
+ 'libavcodec/arm/startcode_armv6.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/flacdsp_init_arm.c',
+ ],
+ 'asm_sources': [
+ 'libavcodec/arm/flacdsp_arm.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/aarch64/h264pred_init.c',
+ 'libavcodec/aarch64/hpeldsp_init_aarch64.c',
+@@ -217,8 +217,8 @@
+ 'libavcodec/aarch64/autorename_libavcodec_aarch64_hpeldsp_neon.S',
+ 'libavcodec/aarch64/videodsp.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/aarch64/fft_init_aarch64.c',
+ 'libavcodec/aarch64/vorbisdsp_init.c',
+@@ -231,20 +231,20 @@
+ 'libavcodec/aarch64/vorbisdsp_neon.S',
+ 'libavutil/aarch64/float_dsp_neon.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/mips/h264pred_init_mips.c',
+ 'libavcodec/mips/hpeldsp_init_mips.c',
+ 'libavcodec/mips/vp8dsp_init_mips.c',
+ ],
+- }], # (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavutil/mips/float_dsp_mips.c',
+ ],
+- }], # (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/acelp_filters.c',
+ 'libavcodec/acelp_pitch_delay.c',
+@@ -297,8 +297,8 @@
+ 'libavformat/avidec.c',
+ 'libavformat/gsmdec.c',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/aacpsdsp_init_arm.c',
+ 'libavcodec/arm/mpegaudiodsp_init_arm.c',
+@@ -307,8 +307,8 @@
+ 'asm_sources': [
+ 'libavcodec/arm/mpegaudiodsp_fixed_armv6.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavutil/arm/float_dsp_init_neon.c',
+ ],
+@@ -321,8 +321,8 @@
+ 'libavcodec/arm/rdft_neon.S',
+ 'libavutil/arm/autorename_libavutil_arm_float_dsp_neon.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
+ 'c_sources': [
+ 'libavcodec/x86/aacpsdsp_init.c',
+ 'libavcodec/x86/dct_init.c',
+@@ -335,8 +335,8 @@
+ 'libavcodec/x86/imdct36.asm',
+ 'libavcodec/x86/sbrdsp.asm',
+ ],
+- }], # (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
+- ['(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_b
randing == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
++ }], # (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
++ ['(OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x
64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'libavcodec/x86/autorename_libavcodec_x86_videodsp_init.c',
+ 'libavcodec/x86/h264_intrapred_init.c',
+@@ -354,8 +354,8 @@
+ 'libavcodec/x86/vp8dsp.asm',
+ 'libavcodec/x86/vp8dsp_loopfilter.asm',
+ ],
+- }], # (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffm
peg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch
== "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/h264pred_init_arm.c',
+ 'libavcodec/arm/hpeldsp_init_arm.c',
+@@ -373,8 +373,8 @@
+ 'libavcodec/arm/vp8_armv6.S',
+ 'libavcodec/arm/vp8dsp_armv6.S',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "
ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64"
and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/flac.c',
+ 'libavcodec/flac_parser.c',
+@@ -383,8 +383,8 @@
+ 'libavcodec/flacdsp.c',
+ 'libavformat/autorename_libavformat_flacdec.c',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding
== "ChromiumOS")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "
x64" and ffmpeg_branding == "ChromiumOS")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")', {
+ 'c_sources': [
+ 'libavcodec/arm/fft_fixed_init_arm.c',
+ 'libavcodec/arm/fft_init_arm.c',
+@@ -398,13 +398,13 @@
+ 'libavcodec/arm/mdct_vfp.S',
+ 'libavutil/arm/float_dsp_vfp.S',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS")
+ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_ar
ch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'compat/strtod.c',
+ ],
+ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and targ
et_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "
mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding ==
"ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
+ 'c_sources': [
+ 'libavcodec/cabac.c',
+ 'libavcodec/h264.c',
+@@ -425,8 +425,8 @@
+ 'libavcodec/h264qpel.c',
+ 'libavcodec/startcode.c',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS
== "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
+- ['(OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x
64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_brandi
ng == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
++ ['(OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and t
arget_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'libavcodec/x86/autorename_libavcodec_x86_vorbisdsp_init.c',
+ 'libavcodec/x86/constants.c',
+@@ -442,8 +442,8 @@
+ 'libavutil/x86/float_dsp.asm',
+ 'libavutil/x86/lls.asm',
+ ],
+- }], # (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch
== "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS =
= "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
++ }], # (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac"
and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chr
ome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
+ 'c_sources': [
+ 'libavcodec/aac_ac3_parser.c',
+ 'libavcodec/aac_parser.c',
+@@ -477,13 +477,13 @@
+ 'libavformat/mov_chan.c',
+ 'libavformat/mp3dec.c',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or
(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding
== "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch ==
"ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding ==
"Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ff
mpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome")
or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")', {
+ 'c_sources': [
+ 'libavformat/rawdec.c',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_bran
ding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arc
h == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
+- ['(OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and
ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "ma
c" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" a
nd ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chr
ome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome")
++ ['(OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and tar
get_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" an
d ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'libavcodec/h264pred.c',
+ 'libavcodec/hpeldsp.c',
+@@ -496,8 +496,8 @@
+ 'libavcodec/vp8_parser.c',
+ 'libavcodec/vp8dsp.c',
+ ],
+- }], # (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64"
and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS =
= "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+- ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Ch
romeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS
== "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_brand
ing == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
++ }], # (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" an
d target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x6
4" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
++ ['(OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding ==
"ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_bra
nding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS ==
"win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")', {
+ 'c_sources': [
+ 'libavcodec/allcodecs.c',
+ 'libavcodec/autorename_libavcodec_utils.c',
+@@ -623,7 +623,7 @@
+ 'libavutil/twofish.c',
+ 'libavutil/utils.c',
+ ],
+- }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding =
= "ChromeOS") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromeOS") or
(OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "linux" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "ia32" and ffmpeg_
branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
++ }], # (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "android" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_brandi
ng == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and arm_neon == 1 and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "arm64" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "ia32" and ffmpe
g_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "ia32" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "mipsel" and ffmpeg_branding == "ChromiumOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromeOS") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (OS == "openbsd" and target_arch == "x64" and ffmpeg_branding == "ChromiumOS") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "mac" and target_arch == "x64" and ffmpeg_branding == "Chromium") or (O
S == "win" and target_arch == "ia32" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "ia32" and ffmpeg_branding == "Chromium") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chrome") or (OS == "win" and target_arch == "x64" and ffmpeg_branding == "Chromium")
+ ], # conditions
+ },
+ }
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_gyp b/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_gyp
new file mode 100644
index 0000000..3e0b610
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_ffmpeg_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_ffmpeg_ffmpeg_gyp,v 1.15 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/ffmpeg.gyp.orig.port Wed Jan 20 21:02:05 2016
++++ third_party/ffmpeg/ffmpeg.gyp Fri Jan 22 19:58:59 2016
+@@ -315,7 +315,7 @@
+ ],
+ },
+ 'conditions': [
+- ['OS != "android"', {
++ ['OS != "android" and os_bsd != 1', {
+ 'link_settings': {
+ 'libraries': [
+ '-lrt',
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_libavcodec_x86_cabac_h b/chromium-new/patches/patch-third_party_ffmpeg_libavcodec_x86_cabac_h
new file mode 100644
index 0000000..7ca512f
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_libavcodec_x86_cabac_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_ffmpeg_libavcodec_x86_cabac_h,v 1.5 2014/11/14 21:04:36 robert Exp $
+--- third_party/ffmpeg/libavcodec/x86/cabac.h.orig.port Thu Nov 13 23:02:42 2014
++++ third_party/ffmpeg/libavcodec/x86/cabac.h Fri Nov 14 22:03:05 2014
+@@ -29,7 +29,7 @@
+
+ #if (defined(__i386) && defined(__clang__) && (__clang_major__<2 || (__clang_major__==2 && __clang_minor__<10)))\
+ || ( !defined(__clang__) && defined(__llvm__) && __GNUC__==4 && __GNUC_MINOR__==2 && __GNUC_PATCHLEVEL__<=1)\
+- || (defined(__INTEL_COMPILER) && defined(_MSC_VER))
++ || (defined(__INTEL_COMPILER) && defined(_MSC_VER)) || (defined(__OpenBSD__) && defined(__i386))
+ # define BROKEN_COMPILER 1
+ #else
+ # define BROKEN_COMPILER 0
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c
new file mode 100644
index 0000000..252d164
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c
@@ -0,0 +1,11 @@
+$OpenBSD: patch-third_party_ffmpeg_libavutil_autorename_libavutil_cpu_c,v 1.1 2015/07/23 13:44:04 robert Exp $
+--- third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c.orig.port Wed Jul 22 09:44:47 2015
++++ third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c Wed Jul 22 10:00:36 2015
+@@ -37,6 +37,7 @@
+ #if HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
++typedef unsigned long u_long;
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_libavutil_cpu_c b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_cpu_c
new file mode 100644
index 0000000..4e1d393
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_cpu_c
@@ -0,0 +1,15 @@
+$OpenBSD: patch-third_party_ffmpeg_libavutil_cpu_c,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- third_party/ffmpeg/libavutil/cpu.c.orig.port Wed Jan 20 21:02:06 2016
++++ third_party/ffmpeg/libavutil/cpu.c Fri Jan 22 19:58:59 2016
+@@ -33,10 +33,7 @@
+ #if HAVE_GETPROCESSAFFINITYMASK || HAVE_WINRT
+ #include <windows.h>
+ #endif
+-#if HAVE_SYSCTL
+-#if HAVE_SYS_PARAM_H
+-#include <sys/param.h>
+-#endif
++#if HAVE_SYSCTL && !defined(__OpenBSD__)
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
diff --git a/chromium-new/patches/patch-third_party_ffmpeg_libavutil_mem_c b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_mem_c
new file mode 100644
index 0000000..04385f6
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_ffmpeg_libavutil_mem_c
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_ffmpeg_libavutil_mem_c,v 1.2 2013/05/30 18:42:18 robert Exp $
+--- third_party/ffmpeg/libavutil/mem.c.orig.port Fri May 17 22:46:42 2013
++++ third_party/ffmpeg/libavutil/mem.c Thu May 30 00:10:49 2013
+@@ -32,9 +32,6 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#if HAVE_MALLOC_H
+-#include <malloc.h>
+-#endif
+
+ #include "avassert.h"
+ #include "avutil.h"
diff --git a/chromium-new/patches/patch-third_party_iccjpeg_iccjpeg_gyp b/chromium-new/patches/patch-third_party_iccjpeg_iccjpeg_gyp
new file mode 100644
index 0000000..47c8722
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_iccjpeg_iccjpeg_gyp
@@ -0,0 +1,17 @@
+$OpenBSD: patch-third_party_iccjpeg_iccjpeg_gyp,v 1.4 2013/04/03 08:19:10 robert Exp $
+--- third_party/iccjpeg/iccjpeg.gyp.orig.port Fri Mar 22 02:13:38 2013
++++ third_party/iccjpeg/iccjpeg.gyp Tue Apr 2 21:05:17 2013
+@@ -14,6 +14,13 @@
+ 'iccjpeg.c',
+ 'iccjpeg.h',
+ ],
++ 'conditions': [
++ ['OS=="openbsd" and use_system_libjpeg==1', {
++ 'include_dirs': [
++ '/usr/local/include',
++ ],
++ }],
++ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
diff --git a/chromium-new/patches/patch-third_party_libXNVCtrl_NVCtrl_c b/chromium-new/patches/patch-third_party_libXNVCtrl_NVCtrl_c
new file mode 100644
index 0000000..7c5da01
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libXNVCtrl_NVCtrl_c
@@ -0,0 +1,26 @@
+$OpenBSD: patch-third_party_libXNVCtrl_NVCtrl_c,v 1.1 2013/04/03 08:19:10 robert Exp $
+--- third_party/libXNVCtrl/NVCtrl.c.orig.port Fri Mar 22 02:13:35 2013
++++ third_party/libXNVCtrl/NVCtrl.c Tue Apr 2 21:05:17 2013
+@@ -27,10 +27,6 @@
+ * libXNVCtrl library properly protects the Display connection.
+ */
+
+-#if !defined(XTHREADS)
+-#define XTHREADS
+-#endif /* XTHREADS */
+-
+ #define NEED_EVENTS
+ #define NEED_REPLIES
+ #include <stdint.h>
+@@ -39,6 +35,11 @@
+ #include <X11/Xutil.h>
+ #include <X11/extensions/Xext.h>
+ #include <X11/extensions/extutil.h>
++
++#if !defined(XTHREADS)
++#define XTHREADS
++#endif /* XTHREADS */
++
+ #include "NVCtrlLib.h"
+ #include "nv_control.h"
+
diff --git a/chromium-new/patches/patch-third_party_libXNVCtrl_libXNVCtrl_gyp b/chromium-new/patches/patch-third_party_libXNVCtrl_libXNVCtrl_gyp
new file mode 100644
index 0000000..73c7b9f
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libXNVCtrl_libXNVCtrl_gyp
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_libXNVCtrl_libXNVCtrl_gyp,v 1.2 2013/04/03 08:19:10 robert Exp $
+--- third_party/libXNVCtrl/libXNVCtrl.gyp.orig.port Fri Mar 22 02:13:35 2013
++++ third_party/libXNVCtrl/libXNVCtrl.gyp Tue Apr 2 21:05:17 2013
+@@ -13,6 +13,9 @@
+ 'NVCtrlLib.h',
+ 'nv_control.h',
+ ],
++ 'cflags': [
++ '-I/usr/X11R6/include',
++ ],
+ },
+ ],
+ }
diff --git a/chromium-new/patches/patch-third_party_libjingle_libjingle_gyp b/chromium-new/patches/patch-third_party_libjingle_libjingle_gyp
new file mode 100644
index 0000000..f88e0b6
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libjingle_libjingle_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_libjingle_libjingle_gyp,v 1.25 2016/01/23 18:49:31 robert Exp $
+--- third_party/libjingle/libjingle.gyp.orig.port Wed Jan 20 21:01:25 2016
++++ third_party/libjingle/libjingle.gyp Fri Jan 22 19:58:59 2016
+@@ -393,7 +393,7 @@
+ ],
+ 'conditions': [
+ # TODO(mallinath) - Enable SCTP for iOS.
+- ['OS!="ios"', {
++ ['OS!="ios" and os_bsd!=1', {
+ 'defines': [
+ 'HAVE_SCTP',
+ ],
diff --git a/chromium-new/patches/patch-third_party_libjpeg_turbo_libjpeg_gyp b/chromium-new/patches/patch-third_party_libjpeg_turbo_libjpeg_gyp
new file mode 100644
index 0000000..681cee6
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libjpeg_turbo_libjpeg_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_libjpeg_turbo_libjpeg_gyp,v 1.6 2016/01/27 20:05:23 robert Exp $
+--- third_party/libjpeg_turbo/libjpeg.gyp.orig.port Wed Jan 20 21:02:14 2016
++++ third_party/libjpeg_turbo/libjpeg.gyp Wed Jan 27 17:56:11 2016
+@@ -246,7 +246,7 @@
+ ],
+ },
+ }],
+- [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and (target_arch=="ia32" or target_arch=="x64"))', {
++ [ 'OS=="linux" or os_bsd==1 or (OS=="android" and (target_arch=="ia32" or target_arch=="x64"))', {
+ 'conditions': [
+ [ 'use_system_yasm==0', {
+ 'dependencies': [
diff --git a/chromium-new/patches/patch-third_party_libusb_libusb_gyp b/chromium-new/patches/patch-third_party_libusb_libusb_gyp
new file mode 100644
index 0000000..ad900d0
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libusb_libusb_gyp
@@ -0,0 +1,28 @@
+$OpenBSD: patch-third_party_libusb_libusb_gyp,v 1.5 2015/10/14 16:42:07 robert Exp $
+--- third_party/libusb/libusb.gyp.orig.port Tue Oct 13 21:04:35 2015
++++ third_party/libusb/libusb.gyp Wed Oct 14 07:41:14 2015
+@@ -40,7 +40,7 @@
+ ],
+ },
+ 'conditions': [
+- ['OS=="linux" or OS=="mac"', {
++ ['OS=="linux" or OS=="mac" or os_bsd==1', {
+ 'sources': [
+ 'src/libusb/os/poll_posix.c',
+ 'src/libusb/os/poll_posix.h',
+@@ -55,6 +55,15 @@
+ 'LIBUSB_DESCRIBE="1.0.16"',
+ 'POLL_NFDS_TYPE=nfds_t',
+ 'THREADS_POSIX=1',
++ ],
++ }],
++ ['OS=="openbsd"', {
++ 'defines': [
++ 'OS_OPENBSD=1',
++ '_GNU_SOURCE=1',
++ ],
++ 'sources': [
++ 'src/libusb/os/openbsd_usb.c',
+ ],
+ }],
+ ['OS=="linux"', {
diff --git a/chromium-new/patches/patch-third_party_libusb_src_libusb_core_c b/chromium-new/patches/patch-third_party_libusb_src_libusb_core_c
new file mode 100644
index 0000000..2c0f979
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libusb_src_libusb_core_c
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_libusb_src_libusb_core_c,v 1.1 2015/08/16 20:42:46 robert Exp $
+--- third_party/libusb/src/libusb/core.c.orig.port Sun Aug 16 11:07:28 2015
++++ third_party/libusb/src/libusb/core.c Sun Aug 16 11:07:39 2015
+@@ -448,7 +448,7 @@ libusb_free_device_list(list, 1);
+ * which grows when required. it can be freed once discovery has completed,
+ * eliminating the need for a list node in the libusb_device structure
+ * itself. */
+-#define DISCOVERED_DEVICES_SIZE_STEP 8
++#define DISCOVERED_DEVICES_SIZE_STEP 16
+
+ static struct discovered_devs *discovered_devs_alloc(void)
+ {
diff --git a/chromium-new/patches/patch-third_party_libyuv_libyuv_gyp b/chromium-new/patches/patch-third_party_libyuv_libyuv_gyp
new file mode 100644
index 0000000..697b20b
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_libyuv_libyuv_gyp
@@ -0,0 +1,19 @@
+$OpenBSD: patch-third_party_libyuv_libyuv_gyp,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- third_party/libyuv/libyuv.gyp.orig.port Wed Jan 20 21:02:20 2016
++++ third_party/libyuv/libyuv.gyp Fri Jan 22 19:58:59 2016
+@@ -86,11 +86,15 @@
+ ],
+ }],
+ [ 'use_system_libjpeg == 1', {
++ 'include_dirs': [ '/usr/local/include' ],
+ 'link_settings': {
+ 'libraries': [
+ '-ljpeg',
+ ],
+ }
++ }],
++ ['target_arch == "ia32"', {
++ 'cflags': [ '-fomit-frame-pointer' ],
+ }],
+ ],
+ }],
diff --git a/chromium-new/patches/patch-third_party_pdfium_build_standalone_gypi b/chromium-new/patches/patch-third_party_pdfium_build_standalone_gypi
new file mode 100644
index 0000000..aec73a1
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_build_standalone_gypi
@@ -0,0 +1,21 @@
+$OpenBSD: patch-third_party_pdfium_build_standalone_gypi,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- third_party/pdfium/build/standalone.gypi.orig.port Wed Jan 20 21:02:27 2016
++++ third_party/pdfium/build/standalone.gypi Fri Jan 22 19:58:59 2016
+@@ -17,7 +17,7 @@
+ 'variables': {
+ 'variables': {
+ 'conditions': [
+- ['OS=="linux" or OS=="mac"', {
++ ['OS=="linux" or OS=="mac" or OS=="openbsd"', {
+ # This handles the Unix platforms we generally deal with.
+ # Anything else gets passed through, which probably won't work
+ # very well; such hosts should pass an explicit target_arch
+@@ -128,7 +128,7 @@
+ },
+ },
+ 'conditions': [
+- ['OS=="linux"', {
++ ['OS=="linux" or OS=="openbsd"', {
+ 'cflags': [
+ '-fdata-sections',
+ '-ffunction-sections',
diff --git a/chromium-new/patches/patch-third_party_pdfium_core_include_fxcrt_fx_system_h b/chromium-new/patches/patch-third_party_pdfium_core_include_fxcrt_fx_system_h
new file mode 100644
index 0000000..1d27d00
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_core_include_fxcrt_fx_system_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_pdfium_core_include_fxcrt_fx_system_h,v 1.3 2015/09/05 16:06:50 robert Exp $
+--- third_party/pdfium/core/include/fxcrt/fx_system.h.orig.port Tue Sep 1 22:10:51 2015
++++ third_party/pdfium/core/include/fxcrt/fx_system.h Wed Sep 2 07:31:55 2015
+@@ -40,7 +40,7 @@
+ #elif defined(_WIN64)
+ #define _FX_OS_ _FX_WIN64_DESKTOP_
+ #define _FXM_PLATFORM_ _FXM_PLATFORM_WINDOWS_
+-#elif defined(__linux__)
++#elif defined(__linux__) || defined(__OpenBSD__)
+ #define _FX_OS_ _FX_LINUX_DESKTOP_
+ #define _FXM_PLATFORM_ _FXM_PLATFORM_LINUX_
+ #elif defined(__APPLE__)
diff --git a/chromium-new/patches/patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp b/chromium-new/patches/patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp
new file mode 100644
index 0000000..007bf26
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp
@@ -0,0 +1,15 @@
+$OpenBSD: patch-third_party_pdfium_core_src_fxge_ge_fx_ge_linux_cpp,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- third_party/pdfium/core/src/fxge/ge/fx_ge_linux.cpp.orig.port Wed Jan 20 21:02:27 2016
++++ third_party/pdfium/core/src/fxge/ge/fx_ge_linux.cpp Fri Jan 22 19:58:59 2016
+@@ -123,9 +123,8 @@ void* CFX_LinuxFontInfo::MapFont(int weight,
+ IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUserPaths) {
+ CFX_LinuxFontInfo* pInfo = new CFX_LinuxFontInfo;
+ if (!pInfo->ParseFontCfg(pUserPaths)) {
+- pInfo->AddPath("/usr/share/fonts");
+- pInfo->AddPath("/usr/share/X11/fonts/Type1");
+- pInfo->AddPath("/usr/share/X11/fonts/TTF");
++ pInfo->AddPath("/usr/X11R6/lib/X11/fonts/Type1");
++ pInfo->AddPath("/usr/X11R6/lib/X11/fonts/TTF");
+ pInfo->AddPath("/usr/local/share/fonts");
+ }
+ return pInfo;
diff --git a/chromium-new/patches/patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp b/chromium-new/patches/patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp
new file mode 100644
index 0000000..abc89e9
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp
@@ -0,0 +1,16 @@
+$OpenBSD: patch-third_party_pdfium_fpdfsdk_src_javascript_JS_Value_cpp,v 1.2 2016/01/23 18:49:31 robert Exp $
+--- third_party/pdfium/fpdfsdk/src/javascript/JS_Value.cpp.orig.port Wed Jan 20 21:02:27 2016
++++ third_party/pdfium/fpdfsdk/src/javascript/JS_Value.cpp Fri Jan 22 19:58:59 2016
+@@ -603,7 +603,12 @@ double _getLocalTZA() {
+ long timezone = 0;
+ _get_timezone(&timezone);
+ #endif
++#ifdef __OpenBSD__
++ struct tm *lt;
++ return (double)(-(lt->tm_gmtoff * 1000));
++#else
+ return (double)(-(timezone * 1000));
++#endif
+ }
+
+ int _getDaylightSavingTA(double d) {
diff --git a/chromium-new/patches/patch-third_party_pdfium_pdfium_gyp b/chromium-new/patches/patch-third_party_pdfium_pdfium_gyp
new file mode 100644
index 0000000..21accf5
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_pdfium_gyp
@@ -0,0 +1,21 @@
+$OpenBSD: patch-third_party_pdfium_pdfium_gyp,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- third_party/pdfium/pdfium.gyp.orig.port Wed Jan 20 21:02:27 2016
++++ third_party/pdfium/pdfium.gyp Fri Jan 22 19:58:59 2016
+@@ -9,7 +9,7 @@
+ 'pdf_use_skia%': 0,
+ 'pdf_enable_v8%': 1,
+ 'conditions': [
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'bundle_freetype%': 0,
+ }, { # On Android there's no system FreeType. On Windows and Mac, only a
+ # few methods are used from it.
+@@ -37,7 +37,7 @@
+ ['pdf_enable_v8==1', {
+ 'defines': ['PDF_ENABLE_V8'],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['target_arch=="x64"', {
+ 'defines' : [ '_FX_CPU_=_FX_X64_', ],
diff --git a/chromium-new/patches/patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h b/chromium-new/patches/patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h
new file mode 100644
index 0000000..74b8df6
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_pdfium_third_party_libopenjpeg20_opj_malloc_h,v 1.2 2015/10/24 09:10:35 robert Exp $
+--- third_party/pdfium/third_party/libopenjpeg20/opj_malloc.h.orig.port Thu Oct 22 09:01:40 2015
++++ third_party/pdfium/third_party/libopenjpeg20/opj_malloc.h Fri Oct 23 15:56:07 2015
+@@ -98,7 +98,7 @@ Allocate memory aligned to a 16 byte boundary
+ #else /* Not _WIN32 */
+ #if defined(__sun)
+ #define HAVE_MEMALIGN
+- #elif defined(__FreeBSD__)
++ #elif defined(__FreeBSD__) || defined(__OpenBSD__)
+ #define HAVE_POSIX_MEMALIGN
+ /* Linux x86_64 and OSX always align allocations to 16 bytes */
+ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX)
diff --git a/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h b/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h
new file mode 100644
index 0000000..3e0b9e8
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h
@@ -0,0 +1,15 @@
+$OpenBSD: patch-third_party_protobuf_src_google_protobuf_stubs_atomicops_h,v 1.3 2013/04/03 08:19:10 robert Exp $
+--- third_party/protobuf/src/google/protobuf/stubs/atomicops.h.orig.port Fri Mar 22 02:13:26 2013
++++ third_party/protobuf/src/google/protobuf/stubs/atomicops.h Tue Apr 2 21:05:18 2013
+@@ -77,7 +77,11 @@ typedef intptr_t Atomic64;
+
+ // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
+ // Atomic64 routines below, depending on your architecture.
++#if defined(__OpenBSD__) && defined(__i386__)
++typedef Atomic32 AtomicWord;
++#else
+ typedef intptr_t AtomicWord;
++#endif
+
+ // Atomically execute:
+ // result = *ptr;
diff --git a/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h b/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h
new file mode 100644
index 0000000..69c649166
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h
@@ -0,0 +1,19 @@
+$OpenBSD: patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h,v 1.2 2013/10/29 06:51:34 robert Exp $
+--- third_party/protobuf/src/google/protobuf/stubs/strutil.h.orig.port Fri Oct 11 19:29:11 2013
++++ third_party/protobuf/src/google/protobuf/stubs/strutil.h Fri Oct 18 20:47:20 2013
+@@ -317,13 +317,13 @@ inline uint32 strtou32(const char *nptr, char **endptr
+ inline int64 strto64(const char *nptr, char **endptr, int base) {
+ GOOGLE_COMPILE_ASSERT(sizeof(int64) == sizeof(long long),
+ sizeof_int64_is_not_sizeof_long_long);
+- return strtoll(nptr, endptr, base);
++ return std::strtoll(nptr, endptr, base);
+ }
+
+ inline uint64 strtou64(const char *nptr, char **endptr, int base) {
+ GOOGLE_COMPILE_ASSERT(sizeof(uint64) == sizeof(unsigned long long),
+ sizeof_uint64_is_not_sizeof_long_long);
+- return strtoull(nptr, endptr, base);
++ return std::strtoull(nptr, endptr, base);
+ }
+
+ // ----------------------------------------------------------------------
diff --git a/chromium-new/patches/patch-third_party_skia_gyp_ports_gyp b/chromium-new/patches/patch-third_party_skia_gyp_ports_gyp
new file mode 100644
index 0000000..695026c
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_skia_gyp_ports_gyp
@@ -0,0 +1,11 @@
+$OpenBSD: patch-third_party_skia_gyp_ports_gyp,v 1.8 2015/12/05 16:13:32 robert Exp $
+--- third_party/skia/gyp/ports.gyp.orig.port Tue Nov 24 21:01:10 2015
++++ third_party/skia/gyp/ports.gyp Wed Dec 2 08:18:33 2015
+@@ -91,7 +91,6 @@
+ }, {
+ 'link_settings': {
+ 'libraries': [
+- '-ldl',
+ '-lexpat',
+ ],
+ },
diff --git a/chromium-new/patches/patch-third_party_skia_src_core_SkVarAlloc_cpp b/chromium-new/patches/patch-third_party_skia_src_core_SkVarAlloc_cpp
new file mode 100644
index 0000000..101baae
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_skia_src_core_SkVarAlloc_cpp
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_skia_src_core_SkVarAlloc_cpp,v 1.3 2015/07/23 13:44:04 robert Exp $
+--- third_party/skia/src/core/SkVarAlloc.cpp.orig.port Wed Jul 22 08:53:04 2015
++++ third_party/skia/src/core/SkVarAlloc.cpp Wed Jul 22 08:53:28 2015
+@@ -11,7 +11,9 @@
+ #if defined(SK_BUILD_FOR_MAC)
+ #include <malloc/malloc.h>
+ #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN32)
++#if !defined(__OpenBSD__)
+ #include <malloc.h>
++#endif
+ #endif
+
+ struct SkVarAlloc::Block {
diff --git a/chromium-new/patches/patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h b/chromium-new/patches/patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h
new file mode 100644
index 0000000..4be8cf7
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h
@@ -0,0 +1,30 @@
+$OpenBSD: patch-third_party_skia_src_gpu_GrAutoLocaleSetter_h,v 1.2 2015/09/05 16:06:50 robert Exp $
+--- third_party/skia/src/gpu/GrAutoLocaleSetter.h.orig.port Wed Sep 2 20:14:12 2015
++++ third_party/skia/src/gpu/GrAutoLocaleSetter.h Wed Sep 2 20:14:31 2015
+@@ -28,7 +28,7 @@ class GrAutoLocaleSetter { (public)
+ #if defined(SK_BUILD_FOR_WIN)
+ fOldPerThreadLocale = _configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
+ fOldLocale = setlocale(LC_ALL, name);
+-#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__)
++#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__) && !defined(__OpenBSD__)
+ fLocale = newlocale(LC_ALL, name, 0);
+ if (fLocale) {
+ fOldLocale = uselocale(fLocale);
+@@ -42,7 +42,7 @@ class GrAutoLocaleSetter { (public)
+ #if defined(SK_BUILD_FOR_WIN)
+ setlocale(LC_ALL, fOldLocale);
+ _configthreadlocale(fOldPerThreadLocale);
+-#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__)
++#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__) && !defined(__OpenBSD__)
+ if (fLocale) {
+ uselocale(fOldLocale);
+ freelocale(fLocale);
+@@ -54,7 +54,7 @@ class GrAutoLocaleSetter { (public)
+ #if defined(SK_BUILD_FOR_WIN)
+ int fOldPerThreadLocale;
+ const char* fOldLocale;
+-#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__)
++#elif !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__) && !defined(__OpenBSD__)
+ locale_t fOldLocale;
+ locale_t fLocale;
+ #endif
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_base_gyp b/chromium-new/patches/patch-third_party_webrtc_base_base_gyp
new file mode 100644
index 0000000..4d8b47f
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_base_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_webrtc_base_base_gyp,v 1.10 2016/01/23 18:49:31 robert Exp $
+--- third_party/webrtc/base/base.gyp.orig.port Wed Jan 20 21:02:39 2016
++++ third_party/webrtc/base/base.gyp Fri Jan 22 19:58:59 2016
+@@ -528,8 +528,6 @@
+ ['use_x11 == 1', {
+ 'link_settings': {
+ 'libraries': [
+- '-ldl',
+- '-lrt',
+ '-lXext',
+ '-lX11',
+ '-lXcomposite',
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_httpcommon_cc b/chromium-new/patches/patch-third_party_webrtc_base_httpcommon_cc
new file mode 100644
index 0000000..956b9c4
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_httpcommon_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_webrtc_base_httpcommon_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- third_party/webrtc/base/httpcommon.cc.orig.port Wed Jan 20 21:02:39 2016
++++ third_party/webrtc/base/httpcommon.cc Fri Jan 22 19:58:59 2016
+@@ -384,7 +384,7 @@ bool HttpDateToSeconds(const std::string& date, time_t
+ gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60;
+ }
+ // TODO: Android should support timezone, see b/2441195
+-#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(BSD)
++#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD)
+ tm *tm_for_timezone = localtime(&gmt);
+ *seconds = gmt + tm_for_timezone->tm_gmtoff;
+ #else
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_network_cc b/chromium-new/patches/patch-third_party_webrtc_base_network_cc
new file mode 100644
index 0000000..c103461
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_network_cc
@@ -0,0 +1,30 @@
+$OpenBSD: patch-third_party_webrtc_base_network_cc,v 1.8 2016/01/23 18:49:31 robert Exp $
+--- third_party/webrtc/base/network.cc.orig.port Wed Jan 20 21:02:39 2016
++++ third_party/webrtc/base/network.cc Fri Jan 22 19:58:59 2016
+@@ -18,7 +18,7 @@
+ // linux/if.h can't be included at the same time as the posix sys/if.h, and
+ // it's transitively required by linux/route.h, so include that version on
+ // linux instead of the standard posix one.
+-#if defined(WEBRTC_LINUX)
++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ #include <linux/if.h>
+ #include <linux/route.h>
+ #elif !defined(__native_client__)
+@@ -620,7 +620,7 @@ bool BasicNetworkManager::CreateNetworks(bool include_
+ }
+ #endif // WEBRTC_WIN
+
+-#if defined(WEBRTC_LINUX)
++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ bool IsDefaultRoute(const std::string& network_name) {
+ FileStream fs;
+ if (!fs.Open("/proc/net/route", "r", NULL)) {
+@@ -666,7 +666,7 @@ bool BasicNetworkManager::IsIgnoredNetwork(const Netwo
+ strncmp(network.name().c_str(), "vboxnet", 7) == 0) {
+ return true;
+ }
+-#if defined(WEBRTC_LINUX)
++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ // Make sure this is a default route, if we're ignoring non-defaults.
+ if (ignore_non_default_routes_ && !IsDefaultRoute(network.name())) {
+ return true;
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_physicalsocketserver_cc b/chromium-new/patches/patch-third_party_webrtc_base_physicalsocketserver_cc
new file mode 100644
index 0000000..e2fb30a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_physicalsocketserver_cc
@@ -0,0 +1,34 @@
+$OpenBSD: patch-third_party_webrtc_base_physicalsocketserver_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- third_party/webrtc/base/physicalsocketserver.cc.orig.port Wed Jan 20 21:02:39 2016
++++ third_party/webrtc/base/physicalsocketserver.cc Fri Jan 22 19:58:59 2016
+@@ -243,7 +243,7 @@ class PhysicalSocket : public AsyncSocket, public sigs
+ socklen_t optlen = sizeof(*value);
+ int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen);
+ if (ret != -1 && opt == OPT_DONTFRAGMENT) {
+-#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID)
++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_BSD)
+ *value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
+ #endif
+ }
+@@ -256,7 +256,7 @@ class PhysicalSocket : public AsyncSocket, public sigs
+ if (TranslateOption(opt, &slevel, &sopt) == -1)
+ return -1;
+ if (opt == OPT_DONTFRAGMENT) {
+-#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID)
++#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_BSD)
+ value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
+ #endif
+ }
+@@ -508,10 +508,10 @@ class PhysicalSocket : public AsyncSocket, public sigs
+ *slevel = IPPROTO_IP;
+ *sopt = IP_DONTFRAGMENT;
+ break;
+-#elif defined(WEBRTC_MAC) || defined(BSD) || defined(__native_client__)
++#elif defined(WEBRTC_MAC) || defined(WEBRTC_BSD) || defined(__native_client__)
+ LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported.";
+ return -1;
+-#elif defined(WEBRTC_POSIX)
++#elif defined(WEBRTC_POSIX) && !defined(WEBRTC_BSD)
+ *slevel = IPPROTO_IP;
+ *sopt = IP_MTU_DISCOVER;
+ break;
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_platform_thread_cc b/chromium-new/patches/patch-third_party_webrtc_base_platform_thread_cc
new file mode 100644
index 0000000..7571b3a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_platform_thread_cc
@@ -0,0 +1,43 @@
+$OpenBSD: patch-third_party_webrtc_base_platform_thread_cc,v 1.2 2015/12/05 16:13:32 robert Exp $
+--- third_party/webrtc/base/platform_thread.cc.orig.port Wed Dec 2 13:54:12 2015
++++ third_party/webrtc/base/platform_thread.cc Wed Dec 2 13:55:03 2015
+@@ -15,7 +15,9 @@
+ #include "webrtc/base/checks.h"
+
+ #if defined(WEBRTC_LINUX)
++#if !defined(__OpenBSD__)
+ #include <sys/prctl.h>
++#endif
+ #include <sys/syscall.h>
+ #endif
+
+@@ -28,10 +30,12 @@ PlatformThreadId CurrentThreadId() {
+ #elif defined(WEBRTC_POSIX)
+ #if defined(WEBRTC_MAC) || defined(WEBRTC_IOS)
+ ret = pthread_mach_thread_np(pthread_self());
+-#elif defined(WEBRTC_LINUX)
++#elif defined(WEBRTC_LINUX) && !defined(__OpenBSD__)
+ ret = syscall(__NR_gettid);
+ #elif defined(WEBRTC_ANDROID)
+ ret = gettid();
++#elif defined(__OpenBSD__)
++ ret = reinterpret_cast<uint64_t>(pthread_self());
+ #else
+ // Default implementation for nacl and solaris.
+ ret = reinterpret_cast<pid_t>(pthread_self());
+@@ -59,6 +63,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons
+
+ void SetCurrentThreadName(const char* name) {
+ RTC_DCHECK(strlen(name) < 64);
++#if !defined(__OpenBSD__)
+ #if defined(WEBRTC_WIN)
+ struct {
+ DWORD dwType;
+@@ -76,6 +81,7 @@ void SetCurrentThreadName(const char* name) {
+ prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name));
+ #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS)
+ pthread_setname_np(name);
++#endif
+ #endif
+ }
+
diff --git a/chromium-new/patches/patch-third_party_webrtc_base_stringutils_h b/chromium-new/patches/patch-third_party_webrtc_base_stringutils_h
new file mode 100644
index 0000000..4fde3f4
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_base_stringutils_h
@@ -0,0 +1,22 @@
+$OpenBSD: patch-third_party_webrtc_base_stringutils_h,v 1.2 2014/10/13 06:49:19 robert Exp $
+--- third_party/webrtc/base/stringutils.h.orig.port Thu Oct 2 19:40:33 2014
++++ third_party/webrtc/base/stringutils.h Fri Oct 10 19:52:11 2014
+@@ -20,14 +20,14 @@
+ #include <malloc.h>
+ #include <wchar.h>
+ #define alloca _alloca
+-#endif // WEBRTC_WIN
++#endif // WEBRTC_WIN
+
+ #if defined(WEBRTC_POSIX)
+-#ifdef BSD
++#if defined(WEBRTC_BSD) || defined(BSD)
+ #include <stdlib.h>
+-#else // BSD
++#else // WEBRTC_BSD
+ #include <alloca.h>
+-#endif // !BSD
++#endif // !WEBRTC_BSD
+ #endif // WEBRTC_POSIX
+
+ #include <string>
diff --git a/chromium-new/patches/patch-third_party_webrtc_build_common_gypi b/chromium-new/patches/patch-third_party_webrtc_build_common_gypi
new file mode 100644
index 0000000..97fa85a
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_build_common_gypi
@@ -0,0 +1,17 @@
+$OpenBSD: patch-third_party_webrtc_build_common_gypi,v 1.23 2016/01/23 18:49:31 robert Exp $
+--- third_party/webrtc/build/common.gypi.orig.port Wed Jan 20 21:02:39 2016
++++ third_party/webrtc/build/common.gypi Fri Jan 22 19:58:59 2016
+@@ -347,6 +347,13 @@
+ 'WEBRTC_LINUX',
+ ],
+ }],
++ ['os_bsd==1', {
++ 'defines': [
++ 'WEBRTC_BSD',
++ 'WEBRTC_LINUX',
++ 'WEBRTC_THREAD_RR',
++ ],
++ }],
+ ['OS=="mac"', {
+ 'defines': [
+ 'WEBRTC_MAC',
diff --git a/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc
new file mode 100644
index 0000000..794695f
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_webrtc_system_wrappers_source_atomic32_posix_cc,v 1.4 2014/10/13 06:49:19 robert Exp $
+--- third_party/webrtc/system_wrappers/source/atomic32_posix.cc.orig.port Sat Oct 11 19:03:07 2014
++++ third_party/webrtc/system_wrappers/source/atomic32_posix.cc Sat Oct 11 19:03:13 2014
+@@ -12,7 +12,7 @@
+
+ #include <assert.h>
+ #include <inttypes.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #include "webrtc/common_types.h"
+
diff --git a/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_condition_variable_cc b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_condition_variable_cc
new file mode 100644
index 0000000..e05eb33
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_condition_variable_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_webrtc_system_wrappers_source_condition_variable_cc,v 1.1 2014/07/20 17:22:34 robert Exp $
+--- third_party/webrtc/system_wrappers/source/condition_variable.cc.orig.port Thu Jul 17 13:31:58 2014
++++ third_party/webrtc/system_wrappers/source/condition_variable.cc Thu Jul 17 13:34:08 2014
+@@ -19,6 +19,8 @@
+ #include "webrtc/system_wrappers/source/condition_variable_posix.h"
+ #endif
+
++#include <stddef.h>
++
+ namespace webrtc {
+
+ ConditionVariableWrapper* ConditionVariableWrapper::CreateConditionVariable() {
diff --git a/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_thread_posix_cc b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_thread_posix_cc
new file mode 100644
index 0000000..7431f73
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_thread_posix_cc
@@ -0,0 +1,13 @@
+$OpenBSD: patch-third_party_webrtc_system_wrappers_source_thread_posix_cc,v 1.7 2015/09/05 16:06:50 robert Exp $
+--- third_party/webrtc/system_wrappers/source/thread_posix.cc.orig.port Wed Sep 2 20:15:15 2015
++++ third_party/webrtc/system_wrappers/source/thread_posix.cc Wed Sep 2 20:50:56 2015
+@@ -15,7 +15,9 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #ifdef WEBRTC_LINUX
++#if !defined(__OpenBSD__)
+ #include <linux/unistd.h>
++#endif
+ #include <sched.h>
+ #include <sys/types.h>
+ #endif
diff --git a/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc
new file mode 100644
index 0000000..1833512
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_webrtc_system_wrappers_source_timestamp_extrapolator_cc,v 1.1 2014/07/20 17:22:34 robert Exp $
+--- third_party/webrtc/system_wrappers/source/timestamp_extrapolator.cc.orig.port Thu Jul 17 13:41:47 2014
++++ third_party/webrtc/system_wrappers/source/timestamp_extrapolator.cc Thu Jul 17 13:41:56 2014
+@@ -12,6 +12,8 @@
+
+ #include <algorithm>
+
++#undef _P
++
+ namespace webrtc {
+
+ TimestampExtrapolator::TimestampExtrapolator(int64_t start_ms)
diff --git a/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_config_h b/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_config_h
new file mode 100644
index 0000000..35d6ffb
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_config_h
@@ -0,0 +1,18 @@
+$OpenBSD: patch-third_party_yasm_source_config_openbsd_config_h,v 1.4 2013/04/03 08:19:10 robert Exp $
+--- third_party/yasm/source/config/openbsd/config.h.orig.port Fri Mar 22 02:13:37 2013
++++ third_party/yasm/source/config/openbsd/config.h Tue Apr 2 21:05:18 2013
+@@ -13,6 +13,14 @@
+ /* */
+ /* #undef HAVE_CATGETS */
+
++/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
++ CoreFoundation framework. */
++/* #undef HAVE_CFLOCALECOPYCURRENT */
++
++/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
++ the CoreFoundation framework. */
++/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
++
+ /* Define if the GNU dcgettext() function is already present or preinstalled.
+ */
+ /* #undef HAVE_DCGETTEXT */
diff --git a/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h b/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h
new file mode 100644
index 0000000..99e1bec
--- /dev/null
+++ b/chromium-new/patches/patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-third_party_yasm_source_config_openbsd_libyasm-stdint_h,v 1.4 2013/04/03 08:19:10 robert Exp $
+--- third_party/yasm/source/config/openbsd/libyasm-stdint.h.orig.port Fri Mar 22 02:13:37 2013
++++ third_party/yasm/source/config/openbsd/libyasm-stdint.h Tue Apr 2 21:05:18 2013
+@@ -1,7 +1,7 @@
+ #ifndef _YASM_LIBYASM_STDINT_H
+ #define _YASM_LIBYASM_STDINT_H 1
+ #ifndef _GENERATED_STDINT_H
+-#define _GENERATED_STDINT_H "yasm 1.1.0"
++#define _GENERATED_STDINT_H "yasm 1.2.0"
+ /* generated using gcc -std=gnu99 */
+ #define _STDINT_HAVE_STDINT_H 1
+ #include <stdint.h>
diff --git a/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_make_py b/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_make_py
new file mode 100644
index 0000000..8497a1a
--- /dev/null
+++ b/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_make_py
@@ -0,0 +1,36 @@
+$OpenBSD: patch-tools_gyp_pylib_gyp_generator_make_py,v 1.22 2016/01/23 18:49:31 robert Exp $
+--- tools/gyp/pylib/gyp/generator/make.py.orig.port Fri Jan 22 22:14:59 2016
++++ tools/gyp/pylib/gyp/generator/make.py Fri Jan 22 22:15:51 2016
+@@ -136,7 +136,7 @@ quiet_cmd_alink = AR($(TOOLSET)) $@
+ cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
+
+ quiet_cmd_alink_thin = AR($(TOOLSET)) $@
+-cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
++cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
+
+ # Due to circular dependencies between libraries :(, we wrap the
+ # special "figure out circular dependencies" flags around the entire
+@@ -186,7 +186,7 @@ quiet_cmd_alink = AR($(TOOLSET)) $@
+ cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
+
+ quiet_cmd_alink_thin = AR($(TOOLSET)) $@
+-cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
++cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
+
+ # Due to circular dependencies between libraries :(, we wrap the
+ # special "figure out circular dependencies" flags around the entire
+@@ -286,11 +286,11 @@ LINK ?= $(CXX.target)
+ # TODO(evan): move all cross-compilation logic to gyp-time so we don't need
+ # to replicate this environment fallback in make as well.
+ CC.host ?= %(CC.host)s
+-CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host)
++CFLAGS.host ?= $(CPPFLAGS) $(CFLAGS)
+ CXX.host ?= %(CXX.host)s
+-CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host)
++CXXFLAGS.host ?= $(CPPFLAGS) $(CXXFLAGS)
+ LINK.host ?= %(LINK.host)s
+-LDFLAGS.host ?=
++LDFLAGS.host ?= $(LDFLAGS)
+ AR.host ?= %(AR.host)s
+
+ # Define a dir function that can handle spaces.
diff --git a/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_ninja_py b/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_ninja_py
new file mode 100644
index 0000000..ae5307c
--- /dev/null
+++ b/chromium-new/patches/patch-tools_gyp_pylib_gyp_generator_ninja_py
@@ -0,0 +1,21 @@
+$OpenBSD: patch-tools_gyp_pylib_gyp_generator_ninja_py,v 1.20 2016/01/23 18:49:31 robert Exp $
+--- tools/gyp/pylib/gyp/generator/ninja.py.orig.port Wed Jan 20 21:02:40 2016
++++ tools/gyp/pylib/gyp/generator/ninja.py Fri Jan 22 19:58:59 2016
+@@ -2052,7 +2052,7 @@ def GenerateOutputForConfig(target_list, target_dicts,
+ master_ninja.rule(
+ 'alink_thin',
+ description='AR $out',
+- command='rm -f $out && $ar rcsT $arflags $out $in')
++ command='rm -f $out && $ar rcs $arflags $out $in')
+
+ # This allows targets that only need to depend on $lib's API to declare an
+ # order-only dependency on $lib.TOC and avoid relinking such downstream
+@@ -2069,7 +2069,7 @@ def GenerateOutputForConfig(target_list, target_dicts,
+ '$ld -shared $ldflags -o $lib -Wl,-soname=$soname %(suffix)s',
+ 'extract_toc':
+ ('{ $readelf -d $lib | grep SONAME ; '
+- '$nm -gD -f p $lib | cut -f1-2 -d\' \'; }')})
++ 'llvm-nm -extern-only -dynamic -format=posix $lib | cut -f1-2 -d\' \'; }')})
+
+ master_ninja.rule(
+ 'solink',
diff --git a/chromium-new/patches/patch-ui_accessibility_accessibility_gyp b/chromium-new/patches/patch-ui_accessibility_accessibility_gyp
new file mode 100644
index 0000000..63f9fcd
--- /dev/null
+++ b/chromium-new/patches/patch-ui_accessibility_accessibility_gyp
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_accessibility_accessibility_gyp,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- ui/accessibility/accessibility.gyp.orig.port Thu Jan 14 02:49:28 2016
++++ ui/accessibility/accessibility.gyp Fri Jan 22 19:58:59 2016
+@@ -64,7 +64,7 @@
+ '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2'
+ ],
+ }],
+- ['OS=="linux" and chromeos==0 and use_x11==1', {
++ ['(OS=="linux" or os_bsd==1) and chromeos==0 and use_x11==1', {
+ 'dependencies': [
+ '../../build/linux/system.gyp:atk',
+ '../../build/linux/system.gyp:gconf',
+@@ -81,7 +81,7 @@
+ ],
+ },
+ }],
+- ['OS!="linux" or chromeos==1 or use_x11==0', {
++ ['(OS!="linux" and os_bsd!=1) or chromeos==1 or use_x11==0', {
+ 'sources!': [
+ 'platform/ax_platform_node_auralinux.cc',
+ 'platform/ax_platform_node_auralinux.h',
diff --git a/chromium-new/patches/patch-ui_accessibility_platform_ax_platform_node_cc b/chromium-new/patches/patch-ui_accessibility_platform_ax_platform_node_cc
new file mode 100644
index 0000000..c48a507
--- /dev/null
+++ b/chromium-new/patches/patch-ui_accessibility_platform_ax_platform_node_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_accessibility_platform_ax_platform_node_cc,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- ui/accessibility/platform/ax_platform_node.cc.orig.port Sat May 23 00:32:03 2015
++++ ui/accessibility/platform/ax_platform_node.cc Sat May 23 00:32:10 2015
+@@ -9,7 +9,7 @@
+
+ namespace ui {
+
+-#if !defined(OS_MACOSX) && !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if !defined(OS_MACOSX) && !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS)) && !defined(OS_BSD)
+ // static
+ AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) {
+ return nullptr;
diff --git a/chromium-new/patches/patch-ui_app_list_app_list_constants_cc b/chromium-new/patches/patch-ui_app_list_app_list_constants_cc
new file mode 100644
index 0000000..bf3eb78
--- /dev/null
+++ b/chromium-new/patches/patch-ui_app_list_app_list_constants_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_app_list_app_list_constants_cc,v 1.11 2016/01/23 18:49:31 robert Exp $
+--- ui/app_list/app_list_constants.cc.orig.port Wed Jan 20 21:01:25 2016
++++ ui/app_list/app_list_constants.cc Fri Jan 22 19:58:59 2016
+@@ -143,7 +143,7 @@ const char kSearchQueryLength[] = "Apps.AppListSearchQ
+ const char kSearchResultDistanceFromOrigin[] =
+ "Apps.AppListSearchResultDistanceFromOrigin";
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #if defined(GOOGLE_CHROME_BUILD)
+ const char kAppListWMClass[] = "chrome_app_list";
+ #else // CHROMIUM_BUILD
diff --git a/chromium-new/patches/patch-ui_app_list_app_list_constants_h b/chromium-new/patches/patch-ui_app_list_app_list_constants_h
new file mode 100644
index 0000000..3eceb09
--- /dev/null
+++ b/chromium-new/patches/patch-ui_app_list_app_list_constants_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_app_list_app_list_constants_h,v 1.9 2016/01/23 18:49:31 robert Exp $
+--- ui/app_list/app_list_constants.h.orig.port Wed Jan 20 21:01:25 2016
++++ ui/app_list/app_list_constants.h Fri Jan 22 19:58:59 2016
+@@ -89,7 +89,7 @@ APP_LIST_EXPORT extern const char kSearchResultOpenDis
+ APP_LIST_EXPORT extern const char kSearchQueryLength[];
+ APP_LIST_EXPORT extern const char kSearchResultDistanceFromOrigin[];
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // The WM_CLASS name for the app launcher window on Linux.
+ APP_LIST_EXPORT extern const char kAppListWMClass[];
+ #endif
diff --git a/chromium-new/patches/patch-ui_app_list_app_list_menu_cc b/chromium-new/patches/patch-ui_app_list_app_list_menu_cc
new file mode 100644
index 0000000..c62f295
--- /dev/null
+++ b/chromium-new/patches/patch-ui_app_list_app_list_menu_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_app_list_app_list_menu_cc,v 1.1 2014/07/20 17:22:34 robert Exp $
+--- ui/app_list/app_list_menu.cc.orig.port Sat Jul 19 05:41:40 2014
++++ ui/app_list/app_list_menu.cc Sat Jul 19 05:45:57 2014
+@@ -32,7 +32,7 @@ void AppListMenu::InitMenu() {
+ users_[i].email.empty() ? users_[i].name
+ : users_[i].email,
+ 0 /* group_id */);
+-#elif defined(OS_WIN) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#elif defined(OS_WIN) || ((defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS))
+ menu_model_.AddItem(SELECT_PROFILE + i, users_[i].name);
+ int menu_index = menu_model_.GetIndexOfCommandId(SELECT_PROFILE + i);
+ menu_model_.SetSublabel(menu_index, users_[i].email);
diff --git a/chromium-new/patches/patch-ui_app_list_views_app_list_item_view_cc b/chromium-new/patches/patch-ui_app_list_views_app_list_item_view_cc
new file mode 100644
index 0000000..e2de125
--- /dev/null
+++ b/chromium-new/patches/patch-ui_app_list_views_app_list_item_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_app_list_views_app_list_item_view_cc,v 1.9 2015/09/05 16:06:50 robert Exp $
+--- ui/app_list/views/app_list_item_view.cc.orig.port Sat Aug 22 21:01:59 2015
++++ ui/app_list/views/app_list_item_view.cc Wed Sep 2 07:31:55 2015
+@@ -61,7 +61,7 @@ gfx::FontList GetFontList() {
+ const gfx::FontList& font_list = rb.GetFontList(kItemTextFontStyle);
+ // The font is different on each platform. The font size is adjusted on some
+ // platforms to keep a consistent look.
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Reducing the font size by 2 makes it the same as the Windows font size.
+ const int kFontSizeDelta = -2;
+ return font_list.DeriveWithSizeDelta(kFontSizeDelta);
diff --git a/chromium-new/patches/patch-ui_app_list_views_app_list_view_cc b/chromium-new/patches/patch-ui_app_list_views_app_list_view_cc
new file mode 100644
index 0000000..e10d85d
--- /dev/null
+++ b/chromium-new/patches/patch-ui_app_list_views_app_list_view_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_app_list_views_app_list_view_cc,v 1.9 2015/07/23 13:44:04 robert Exp $
+--- ui/app_list/views/app_list_view.cc.orig.port Wed Jul 15 22:30:08 2015
++++ ui/app_list/views/app_list_view.cc Wed Jul 22 08:37:30 2015
+@@ -77,7 +77,7 @@ bool SupportsShadow() {
+ ::switches::kDisableDwmComposition)) {
+ return false;
+ }
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Shadows are not supported on (non-ChromeOS) Linux.
+ return false;
+ #endif
+@@ -596,7 +596,7 @@ void AppListView::OnBeforeBubbleWidgetInit(
+ // the taskbar for these versions of Windows.
+ if (base::win::GetVersion() >= base::win::VERSION_WIN7)
+ params->force_show_in_taskbar = true;
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ // Set up a custom WM_CLASS for the app launcher window. This allows task
+ // switchers in X11 environments to distinguish it from main browser windows.
+ params->wm_class_name = kAppListWMClass;
diff --git a/chromium-new/patches/patch-ui_base_ime_input_method_factory_cc b/chromium-new/patches/patch-ui_base_ime_input_method_factory_cc
new file mode 100644
index 0000000..f015c41
--- /dev/null
+++ b/chromium-new/patches/patch-ui_base_ime_input_method_factory_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_base_ime_input_method_factory_cc,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- ui/base/ime/input_method_factory.cc.orig.port Wed Jan 20 21:01:25 2016
++++ ui/base/ime/input_method_factory.cc Fri Jan 22 19:58:59 2016
+@@ -14,7 +14,7 @@
+ #include "ui/base/ime/remote_input_method_win.h"
+ #elif defined(OS_MACOSX)
+ #include "ui/base/ime/input_method_mac.h"
+-#elif defined(USE_AURA) && defined(OS_LINUX) && defined(USE_X11) && \
++#elif defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11) && \
+ !defined(OS_CHROMEOS)
+ #include "ui/base/ime/input_method_auralinux.h"
+ #elif defined(OS_ANDROID)
+@@ -58,7 +58,7 @@ scoped_ptr<InputMethod> CreateInputMethod(
+ return make_scoped_ptr(new InputMethodWin(delegate, widget));
+ #elif defined(OS_MACOSX)
+ return make_scoped_ptr(new InputMethodMac(delegate));
+-#elif defined(USE_AURA) && defined(OS_LINUX) && defined(USE_X11) && \
++#elif defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11) && \
+ !defined(OS_CHROMEOS)
+ return make_scoped_ptr(new InputMethodAuraLinux(delegate));
+ #elif defined(OS_ANDROID)
diff --git a/chromium-new/patches/patch-ui_base_resource_resource_bundle_cc b/chromium-new/patches/patch-ui_base_resource_resource_bundle_cc
new file mode 100644
index 0000000..c7e3302
--- /dev/null
+++ b/chromium-new/patches/patch-ui_base_resource_resource_bundle_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_base_resource_resource_bundle_cc,v 1.13 2015/12/05 16:13:32 robert Exp $
+--- ui/base/resource/resource_bundle.cc.orig.port Fri Nov 13 12:04:32 2015
++++ ui/base/resource/resource_bundle.cc Wed Dec 2 08:18:33 2015
+@@ -631,7 +631,7 @@ void ResourceBundle::InitSharedInstance(Delegate* dele
+ #elif defined(OS_CHROMEOS)
+ // TODO(oshima): Include 200P only if the device support 200P
+ supported_scale_factors.push_back(SCALE_FACTOR_200P);
+-#elif defined(OS_LINUX) && defined(ENABLE_HIDPI)
++#elif (defined(OS_LINUX) || defined(OS_BSD)) && defined(ENABLE_HIDPI)
+ supported_scale_factors.push_back(SCALE_FACTOR_200P);
+ #elif defined(OS_WIN)
+ bool default_to_100P = true;
diff --git a/chromium-new/patches/patch-ui_base_ui_base_gyp b/chromium-new/patches/patch-ui_base_ui_base_gyp
new file mode 100644
index 0000000..d6201f6
--- /dev/null
+++ b/chromium-new/patches/patch-ui_base_ui_base_gyp
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_base_ui_base_gyp,v 1.12 2016/01/23 18:49:31 robert Exp $
+--- ui/base/ui_base.gyp.orig.port Thu Jan 14 02:49:28 2016
++++ ui/base/ui_base.gyp Fri Jan 22 19:58:59 2016
+@@ -409,7 +409,7 @@
+ 'x/selection_utils.h',
+ ]
+ }],
+- ['use_aura==0 or OS!="linux"', {
++ ['use_aura==0 or (OS!="linux" and OS!="openbsd")', {
+ 'sources!': [
+ 'resource/resource_bundle_auralinux.cc',
+ ],
+@@ -465,7 +465,7 @@
+ 'clipboard/clipboard_aurax11.cc',
+ ],
+ }],
+- ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', {
++ ['chromeos==1 or (use_aura==1 and (OS=="linux" or os_bsd==1) and use_x11==0)', {
+ 'sources!': [
+ 'dragdrop/os_exchange_data_provider_aurax11.cc',
+ ],
diff --git a/chromium-new/patches/patch-ui_base_user_activity_user_activity_detector_cc b/chromium-new/patches/patch-ui_base_user_activity_user_activity_detector_cc
new file mode 100644
index 0000000..f23feb9
--- /dev/null
+++ b/chromium-new/patches/patch-ui_base_user_activity_user_activity_detector_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_base_user_activity_user_activity_detector_cc,v 1.1 2015/07/25 12:59:15 robert Exp $
+--- ui/base/user_activity/user_activity_detector.cc.orig.port Fri Jul 24 10:22:04 2015
++++ ui/base/user_activity/user_activity_detector.cc Fri Jul 24 10:22:12 2015
+@@ -52,7 +52,7 @@ UserActivityDetector::UserActivityDetector() {
+
+ ui::PlatformEventSource* platform_event_source =
+ ui::PlatformEventSource::GetInstance();
+-#if defined(OS_CHROMEOS) || defined(OS_LINUX)
++#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_BSD)
+ CHECK(platform_event_source);
+ #endif
+ if (platform_event_source)
+@@ -62,7 +62,7 @@ UserActivityDetector::UserActivityDetector() {
+ UserActivityDetector::~UserActivityDetector() {
+ ui::PlatformEventSource* platform_event_source =
+ ui::PlatformEventSource::GetInstance();
+-#if defined(OS_CHROMEOS) || defined(OS_LINUX)
++#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_BSD)
+ CHECK(platform_event_source);
+ #endif
+ if (platform_event_source)
diff --git a/chromium-new/patches/patch-ui_base_webui_web_ui_util_cc b/chromium-new/patches/patch-ui_base_webui_web_ui_util_cc
new file mode 100644
index 0000000..2b4f70e
--- /dev/null
+++ b/chromium-new/patches/patch-ui_base_webui_web_ui_util_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_base_webui_web_ui_util_cc,v 1.7 2015/10/14 16:42:07 robert Exp $
+--- ui/base/webui/web_ui_util.cc.orig.port Wed Oct 7 04:42:28 2015
++++ ui/base/webui/web_ui_util.cc Wed Oct 14 07:41:14 2015
+@@ -150,7 +150,7 @@ std::string GetFontFamily() {
+
+ // TODO(dnicoara) Remove Ozone check when PlatformFont support is introduced
+ // into Ozone: crbug.com/320050
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
+ font_family = ui::ResourceBundle::GetSharedInstance().GetFont(
+ ui::ResourceBundle::BaseFont).GetFontName() + ", " + font_family;
+ #endif
diff --git a/chromium-new/patches/patch-ui_events_devices_x11_device_data_manager_x11_cc b/chromium-new/patches/patch-ui_events_devices_x11_device_data_manager_x11_cc
new file mode 100644
index 0000000..27a514c
--- /dev/null
+++ b/chromium-new/patches/patch-ui_events_devices_x11_device_data_manager_x11_cc
@@ -0,0 +1,20 @@
+$OpenBSD: patch-ui_events_devices_x11_device_data_manager_x11_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- ui/events/devices/x11/device_data_manager_x11.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/events/devices/x11/device_data_manager_x11.cc Fri Jan 22 19:58:59 2016
+@@ -716,6 +716,8 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK
+ }
+
+ void DeviceDataManagerX11::DisableDevice(int deviceid) {
++ NOTIMPLEMENTED();
++#if !defined(OS_BSD) //XXXROBERT
+ blocked_devices_.set(deviceid, true);
+ // TODO(rsadam@): Support blocking touchscreen devices.
+ std::vector<KeyboardDevice> keyboards = keyboard_devices();
+@@ -727,6 +729,7 @@ void DeviceDataManagerX11::DisableDevice(int deviceid)
+ keyboards.erase(it);
+ DeviceDataManager::OnKeyboardDevicesUpdated(keyboards);
+ }
++#endif
+ }
+
+ void DeviceDataManagerX11::EnableDevice(int deviceid) {
diff --git a/chromium-new/patches/patch-ui_events_event_switches_cc b/chromium-new/patches/patch-ui_events_event_switches_cc
new file mode 100644
index 0000000..db16c15
--- /dev/null
+++ b/chromium-new/patches/patch-ui_events_event_switches_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_events_event_switches_cc,v 1.5 2014/11/19 21:27:32 robert Exp $
+--- ui/events/event_switches.cc.orig.port Wed Nov 19 06:13:11 2014
++++ ui/events/event_switches.cc Wed Nov 19 08:38:27 2014
+@@ -27,7 +27,7 @@ const char kTouchEventsDisabled[] = "disabled";
+ const char kCompensateForUnstablePinchZoom[] =
+ "compensate-for-unstable-pinch-zoom";
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Tells chrome to interpret events from these devices as touch events. Only
+ // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
+ // devices can be retrieved from 'xinput list'.
diff --git a/chromium-new/patches/patch-ui_events_event_switches_h b/chromium-new/patches/patch-ui_events_event_switches_h
new file mode 100644
index 0000000..9b68b7f
--- /dev/null
+++ b/chromium-new/patches/patch-ui_events_event_switches_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_events_event_switches_h,v 1.6 2014/11/19 21:27:32 robert Exp $
+--- ui/events/event_switches.h.orig.port Wed Nov 19 06:13:11 2014
++++ ui/events/event_switches.h Wed Nov 19 08:38:27 2014
+@@ -17,7 +17,7 @@ EVENTS_BASE_EXPORT extern const char kTouchEventsEnabl
+ EVENTS_BASE_EXPORT extern const char kTouchEventsDisabled[];
+ EVENTS_BASE_EXPORT extern const char kCompensateForUnstablePinchZoom[];
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ EVENTS_BASE_EXPORT extern const char kTouchDevices[];
+ #endif
+
diff --git a/chromium-new/patches/patch-ui_events_keycodes_dom_keycode_converter_cc b/chromium-new/patches/patch-ui_events_keycodes_dom_keycode_converter_cc
new file mode 100644
index 0000000..b43f4e0
--- /dev/null
+++ b/chromium-new/patches/patch-ui_events_keycodes_dom_keycode_converter_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_events_keycodes_dom_keycode_converter_cc,v 1.2 2015/12/05 16:13:32 robert Exp $
+--- ui/events/keycodes/dom/keycode_converter.cc.orig.port Wed Dec 2 13:55:10 2015
++++ ui/events/keycodes/dom/keycode_converter.cc Wed Dec 2 13:55:16 2015
+@@ -17,7 +17,7 @@ namespace {
+ // and DOM Level 3 |code| strings.
+ #if defined(OS_WIN)
+ #define USB_KEYMAP(usb, evdev, xkb, win, mac, code, id) {usb, win, code}
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ #define USB_KEYMAP(usb, evdev, xkb, win, mac, code, id) {usb, xkb, code}
+ #elif defined(OS_MACOSX)
+ #define USB_KEYMAP(usb, evdev, xkb, win, mac, code, id) {usb, mac, code}
diff --git a/chromium-new/patches/patch-ui_events_x_keysym_to_unicode_h b/chromium-new/patches/patch-ui_events_x_keysym_to_unicode_h
new file mode 100644
index 0000000..bb3cce7
--- /dev/null
+++ b/chromium-new/patches/patch-ui_events_x_keysym_to_unicode_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_events_x_keysym_to_unicode_h,v 1.1 2014/10/13 06:49:19 robert Exp $
+--- ui/events/x/keysym_to_unicode.h.orig.port Fri Oct 10 19:21:02 2014
++++ ui/events/x/keysym_to_unicode.h Fri Oct 10 19:21:15 2014
+@@ -5,7 +5,7 @@
+ #ifndef UI_EVENTS_X_KEYSYM_TO_UNICODE_H_
+ #define UI_EVENTS_X_KEYSYM_TO_UNICODE_H_
+
+-#include <cstdint>
++#include <stdint.h>
+
+ namespace ui {
+
diff --git a/chromium-new/patches/patch-ui_gfx_canvas_skia_cc b/chromium-new/patches/patch-ui_gfx_canvas_skia_cc
new file mode 100644
index 0000000..6884a09
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gfx_canvas_skia_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_gfx_canvas_skia_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- ui/gfx/canvas_skia.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/gfx/canvas_skia.cc Fri Jan 22 19:58:59 2016
+@@ -240,7 +240,7 @@ void Canvas::DrawStringRectWithShadows(const base::str
+ Range range = StripAcceleratorChars(flags, &adjusted_text);
+ bool elide_text = ((flags & NO_ELLIPSIS) == 0);
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // On Linux, eliding really means fading the end of the string. But only
+ // for LTR text. RTL text is still elided (on the left) with "...".
+ if (elide_text) {
diff --git a/chromium-new/patches/patch-ui_gfx_codec_png_codec_cc b/chromium-new/patches/patch-ui_gfx_codec_png_codec_cc
new file mode 100644
index 0000000..2fd7b23
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gfx_codec_png_codec_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_gfx_codec_png_codec_cc,v 1.5 2013/09/29 19:04:07 robert Exp $
+--- ui/gfx/codec/png_codec.cc.orig.port Sun Sep 22 16:35:48 2013
++++ ui/gfx/codec/png_codec.cc Sun Sep 22 16:35:56 2013
+@@ -6,7 +6,7 @@
+
+ #include "base/logging.h"
+ #include "base/strings/string_util.h"
+-#include "third_party/libpng/png.h"
++#include <png.h>
+ #include "third_party/skia/include/core/SkBitmap.h"
+ #include "third_party/skia/include/core/SkColorPriv.h"
+ #include "third_party/skia/include/core/SkUnPreMultiply.h"
diff --git a/chromium-new/patches/patch-ui_gfx_gfx_gyp b/chromium-new/patches/patch-ui_gfx_gfx_gyp
new file mode 100644
index 0000000..487d3c1
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gfx_gfx_gyp
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_gfx_gfx_gyp,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- ui/gfx/gfx.gyp.orig.port Wed Jan 20 21:01:26 2016
++++ ui/gfx/gfx.gyp Fri Jan 22 19:58:59 2016
+@@ -446,7 +446,7 @@
+ '<(DEPTH)/build/linux/system.gyp:pangocairo',
+ ],
+ }],
+- ['desktop_linux==1 or chromeos==1', {
++ ['desktop_linux==1 or chromeos==1 or os_bsd==1', {
+ 'dependencies': [
+ # font_render_params_linux.cc uses fontconfig
+ '<(DEPTH)/build/linux/system.gyp:fontconfig',
+@@ -550,7 +550,7 @@
+ ['exclude', 'cocoa']
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'dependencies': [
+ '../../build/linux/system.gyp:fontconfig',
+ ],
diff --git a/chromium-new/patches/patch-ui_gl_generate_bindings_py b/chromium-new/patches/patch-ui_gl_generate_bindings_py
new file mode 100644
index 0000000..1f42e66
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_generate_bindings_py
@@ -0,0 +1,13 @@
+$OpenBSD: patch-ui_gl_generate_bindings_py,v 1.9 2016/01/23 18:49:31 robert Exp $
+--- ui/gl/generate_bindings.py.orig.port Wed Jan 20 21:01:26 2016
++++ ui/gl/generate_bindings.py Fri Jan 22 19:58:59 2016
+@@ -1631,6 +1631,9 @@ GLX_FUNCTIONS = [
+ 'arguments':
+ 'Display* dpy, GLXDrawable drawable, int32* numerator, '
+ 'int32* denominator' },
++{ 'return_type': '__GLXextFuncPtr',
++ 'names': ['glXGetProcAddressARB'],
++ 'arguments': 'const GLubyte* procName', },
+ { 'return_type': 'void',
+ 'names': ['glXGetSelectedEvent'],
+ 'arguments': 'Display* dpy, GLXDrawable drawable, unsigned long* mask', },
diff --git a/chromium-new/patches/patch-ui_gl_gl_bindings_api_autogen_glx_h b/chromium-new/patches/patch-ui_gl_gl_bindings_api_autogen_glx_h
new file mode 100644
index 0000000..f42b924
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_gl_bindings_api_autogen_glx_h
@@ -0,0 +1,11 @@
+$OpenBSD: patch-ui_gl_gl_bindings_api_autogen_glx_h,v 1.1 2015/04/27 16:38:25 robert Exp $
+--- ui/gl/gl_bindings_api_autogen_glx.h.orig.port Thu Apr 23 10:58:18 2015
++++ ui/gl/gl_bindings_api_autogen_glx.h Thu Apr 23 10:58:25 2015
+@@ -84,6 +84,7 @@ bool glXGetMscRateOMLFn(Display* dpy,
+ GLXDrawable drawable,
+ int32* numerator,
+ int32* denominator) override;
++__GLXextFuncPtr glXGetProcAddressARBFn(const GLubyte* procName) override;
+ void glXGetSelectedEventFn(Display* dpy,
+ GLXDrawable drawable,
+ unsigned long* mask) override;
diff --git a/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_cc b/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_cc
new file mode 100644
index 0000000..39cad06
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_cc
@@ -0,0 +1,184 @@
+$OpenBSD: patch-ui_gl_gl_bindings_autogen_glx_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- ui/gl/gl_bindings_autogen_glx.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/gl/gl_bindings_autogen_glx.cc Fri Jan 22 19:58:59 2016
+@@ -74,6 +74,7 @@ void DriverGLX::InitializeStaticBindings() {
+ fn.glXGetFBConfigsFn = reinterpret_cast<glXGetFBConfigsProc>(
+ GetGLProcAddress("glXGetFBConfigs"));
+ fn.glXGetMscRateOMLFn = 0;
++ fn.glXGetProcAddressARBFn = 0;
+ fn.glXGetSelectedEventFn = reinterpret_cast<glXGetSelectedEventProc>(
+ GetGLProcAddress("glXGetSelectedEvent"));
+ fn.glXGetSyncValuesOMLFn = 0;
+@@ -121,6 +122,8 @@ void DriverGLX::InitializeExtensionBindings() {
+
+ ext.b_GLX_ARB_create_context =
+ extensions.find("GLX_ARB_create_context ") != std::string::npos;
++ ext.b_GLX_ARB_get_proc_address =
++ extensions.find("GLX_ARB_get_proc_address ") != std::string::npos;
+ ext.b_GLX_EXT_swap_control =
+ extensions.find("GLX_EXT_swap_control ") != std::string::npos;
+ ext.b_GLX_EXT_texture_from_pixmap =
+@@ -168,6 +171,13 @@ void DriverGLX::InitializeExtensionBindings() {
+ GetGLProcAddress("glXGetMscRateOML"));
+ }
+
++ debug_fn.glXGetProcAddressARBFn = 0;
++ if (ext.b_GLX_ARB_get_proc_address) {
++ fn.glXGetProcAddressARBFn = reinterpret_cast<glXGetProcAddressARBProc>(
++ GetGLProcAddress("glXGetProcAddressARB"));
++ DCHECK(fn.glXGetProcAddressARBFn);
++ }
++
+ debug_fn.glXGetSyncValuesOMLFn = 0;
+ if (ext.b_GLX_OML_sync_control) {
+ fn.glXGetSyncValuesOMLFn = reinterpret_cast<glXGetSyncValuesOMLProc>(
+@@ -262,8 +272,8 @@ static void GL_BINDING_CALL Debug_glXCopySubBufferMESA
+ << "(" << static_cast<const void*>(dpy) << ", " << drawable
+ << ", " << x << ", " << y << ", " << width << ", " << height
+ << ")");
+- g_driver_glx.debug_fn.glXCopySubBufferMESAFn(dpy, drawable, x, y, width,
+- height);
++ g_driver_glx.debug_fn.glXCopySubBufferMESAFn(
++ dpy, drawable, x, y, width, height);
+ }
+
+ static GLXContext GL_BINDING_CALL Debug_glXCreateContext(Display* dpy,
+@@ -471,8 +481,8 @@ static int GL_BINDING_CALL Debug_glXGetFBConfigAttrib(
+ << "(" << static_cast<const void*>(dpy) << ", " << config
+ << ", " << attribute << ", " << static_cast<const void*>(value)
+ << ")");
+- int result = g_driver_glx.debug_fn.glXGetFBConfigAttribFn(dpy, config,
+- attribute, value);
++ int result = g_driver_glx.debug_fn.glXGetFBConfigAttribFn(
++ dpy, config, attribute, value);
+ GL_SERVICE_LOG("GL_RESULT: " << result);
+ return result;
+ }
+@@ -514,6 +524,16 @@ static bool GL_BINDING_CALL Debug_glXGetMscRateOML(Dis
+ return result;
+ }
+
++static __GLXextFuncPtr GL_BINDING_CALL
++Debug_glXGetProcAddressARB(const GLubyte* procName) {
++ GL_SERVICE_LOG("glXGetProcAddressARB"
++ << "(" << static_cast<const void*>(procName) << ")");
++ __GLXextFuncPtr result =
++ g_driver_glx.debug_fn.glXGetProcAddressARBFn(procName);
++ GL_SERVICE_LOG("GL_RESULT: " << result);
++ return result;
++}
++
+ static void GL_BINDING_CALL Debug_glXGetSelectedEvent(Display* dpy,
+ GLXDrawable drawable,
+ unsigned long* mask) {
+@@ -841,6 +861,10 @@ void DriverGLX::InitializeDebugBindings() {
+ debug_fn.glXGetMscRateOMLFn = fn.glXGetMscRateOMLFn;
+ fn.glXGetMscRateOMLFn = Debug_glXGetMscRateOML;
+ }
++ if (!debug_fn.glXGetProcAddressARBFn) {
++ debug_fn.glXGetProcAddressARBFn = fn.glXGetProcAddressARBFn;
++ fn.glXGetProcAddressARBFn = Debug_glXGetProcAddressARB;
++ }
+ if (!debug_fn.glXGetSelectedEventFn) {
+ debug_fn.glXGetSelectedEventFn = fn.glXGetSelectedEventFn;
+ fn.glXGetSelectedEventFn = Debug_glXGetSelectedEvent;
+@@ -928,9 +952,7 @@ void DriverGLX::InitializeDebugBindings() {
+ g_debugBindingsInitialized = true;
+ }
+
+-void DriverGLX::ClearBindings() {
+- memset(this, 0, sizeof(*this));
+-}
++void DriverGLX::ClearBindings() { memset(this, 0, sizeof(*this)); }
+
+ void GLXApiBase::glXBindTexImageEXTFn(Display* dpy,
+ GLXDrawable drawable,
+@@ -980,8 +1002,8 @@ GLXContext GLXApiBase::glXCreateContextAttribsARBFn(Di
+ GLXContext share_context,
+ int direct,
+ const int* attrib_list) {
+- return driver_->fn.glXCreateContextAttribsARBFn(dpy, config, share_context,
+- direct, attrib_list);
++ return driver_->fn.glXCreateContextAttribsARBFn(
++ dpy, config, share_context, direct, attrib_list);
+ }
+
+ GLXPixmap GLXApiBase::glXCreateGLXPixmapFn(Display* dpy,
+@@ -995,8 +1017,8 @@ GLXContext GLXApiBase::glXCreateNewContextFn(Display*
+ int renderType,
+ GLXContext shareList,
+ int direct) {
+- return driver_->fn.glXCreateNewContextFn(dpy, config, renderType, shareList,
+- direct);
++ return driver_->fn.glXCreateNewContextFn(
++ dpy, config, renderType, shareList, direct);
+ }
+
+ GLXPbuffer GLXApiBase::glXCreatePbufferFn(Display* dpy,
+@@ -1092,6 +1114,10 @@ bool GLXApiBase::glXGetMscRateOMLFn(Display* dpy,
+ return driver_->fn.glXGetMscRateOMLFn(dpy, drawable, numerator, denominator);
+ }
+
++__GLXextFuncPtr GLXApiBase::glXGetProcAddressARBFn(const GLubyte* procName) {
++ return driver_->fn.glXGetProcAddressARBFn(procName);
++}
++
+ void GLXApiBase::glXGetSelectedEventFn(Display* dpy,
+ GLXDrawable drawable,
+ unsigned long* mask) {
+@@ -1190,9 +1216,7 @@ void GLXApiBase::glXUseXFontFn(Font font, int first, i
+ driver_->fn.glXUseXFontFn(font, first, count, list);
+ }
+
+-void GLXApiBase::glXWaitGLFn(void) {
+- driver_->fn.glXWaitGLFn();
+-}
++void GLXApiBase::glXWaitGLFn(void) { driver_->fn.glXWaitGLFn(); }
+
+ int GLXApiBase::glXWaitVideoSyncSGIFn(int divisor,
+ int remainder,
+@@ -1200,9 +1224,7 @@ int GLXApiBase::glXWaitVideoSyncSGIFn(int divisor,
+ return driver_->fn.glXWaitVideoSyncSGIFn(divisor, remainder, count);
+ }
+
+-void GLXApiBase::glXWaitXFn(void) {
+- driver_->fn.glXWaitXFn();
+-}
++void GLXApiBase::glXWaitXFn(void) { driver_->fn.glXWaitXFn(); }
+
+ void TraceGLXApi::glXBindTexImageEXTFn(Display* dpy,
+ GLXDrawable drawable,
+@@ -1259,8 +1281,8 @@ GLXContext TraceGLXApi::glXCreateContextAttribsARBFn(D
+ int direct,
+ const int* attrib_list) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glXCreateContextAttribsARB")
+- return glx_api_->glXCreateContextAttribsARBFn(dpy, config, share_context,
+- direct, attrib_list);
++ return glx_api_->glXCreateContextAttribsARBFn(
++ dpy, config, share_context, direct, attrib_list);
+ }
+
+ GLXPixmap TraceGLXApi::glXCreateGLXPixmapFn(Display* dpy,
+@@ -1276,8 +1298,8 @@ GLXContext TraceGLXApi::glXCreateNewContextFn(Display*
+ GLXContext shareList,
+ int direct) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glXCreateNewContext")
+- return glx_api_->glXCreateNewContextFn(dpy, config, renderType, shareList,
+- direct);
++ return glx_api_->glXCreateNewContextFn(
++ dpy, config, renderType, shareList, direct);
+ }
+
+ GLXPbuffer TraceGLXApi::glXCreatePbufferFn(Display* dpy,
+@@ -1390,6 +1412,11 @@ bool TraceGLXApi::glXGetMscRateOMLFn(Display* dpy,
+ int32* denominator) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glXGetMscRateOML")
+ return glx_api_->glXGetMscRateOMLFn(dpy, drawable, numerator, denominator);
++}
++
++__GLXextFuncPtr TraceGLXApi::glXGetProcAddressARBFn(const GLubyte* procName) {
++ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glXGetProcAddressARB")
++ return glx_api_->glXGetProcAddressARBFn(procName);
+ }
+
+ void TraceGLXApi::glXGetSelectedEventFn(Display* dpy,
diff --git a/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_h b/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_h
new file mode 100644
index 0000000..a6afbc4
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_gl_bindings_autogen_glx_h
@@ -0,0 +1,45 @@
+$OpenBSD: patch-ui_gl_gl_bindings_autogen_glx_h,v 1.1 2015/04/27 16:38:25 robert Exp $
+--- ui/gl/gl_bindings_autogen_glx.h.orig.port Thu Apr 23 10:58:18 2015
++++ ui/gl/gl_bindings_autogen_glx.h Thu Apr 23 10:58:25 2015
+@@ -102,6 +102,8 @@ typedef bool(GL_BINDING_CALL* glXGetMscRateOMLProc)(Di
+ GLXDrawable drawable,
+ int32* numerator,
+ int32* denominator);
++typedef __GLXextFuncPtr(GL_BINDING_CALL* glXGetProcAddressARBProc)(
++ const GLubyte* procName);
+ typedef void(GL_BINDING_CALL* glXGetSelectedEventProc)(Display* dpy,
+ GLXDrawable drawable,
+ unsigned long* mask);
+@@ -164,6 +166,7 @@ typedef void(GL_BINDING_CALL* glXWaitXProc)(void);
+
+ struct ExtensionsGLX {
+ bool b_GLX_ARB_create_context;
++ bool b_GLX_ARB_get_proc_address;
+ bool b_GLX_EXT_swap_control;
+ bool b_GLX_EXT_texture_from_pixmap;
+ bool b_GLX_MESA_copy_sub_buffer;
+@@ -201,6 +204,7 @@ struct ProcsGLX {
+ glXGetFBConfigFromVisualSGIXProc glXGetFBConfigFromVisualSGIXFn;
+ glXGetFBConfigsProc glXGetFBConfigsFn;
+ glXGetMscRateOMLProc glXGetMscRateOMLFn;
++ glXGetProcAddressARBProc glXGetProcAddressARBFn;
+ glXGetSelectedEventProc glXGetSelectedEventFn;
+ glXGetSyncValuesOMLProc glXGetSyncValuesOMLFn;
+ glXGetVisualFromFBConfigProc glXGetVisualFromFBConfigFn;
+@@ -306,6 +310,7 @@ class GL_EXPORT GLXApi {
+ GLXDrawable drawable,
+ int32* numerator,
+ int32* denominator) = 0;
++ virtual __GLXextFuncPtr glXGetProcAddressARBFn(const GLubyte* procName) = 0;
+ virtual void glXGetSelectedEventFn(Display* dpy,
+ GLXDrawable drawable,
+ unsigned long* mask) = 0;
+@@ -394,6 +399,8 @@ class GL_EXPORT GLXApi {
+ ::gfx::g_current_glx_context->glXGetFBConfigFromVisualSGIXFn
+ #define glXGetFBConfigs ::gfx::g_current_glx_context->glXGetFBConfigsFn
+ #define glXGetMscRateOML ::gfx::g_current_glx_context->glXGetMscRateOMLFn
++#define glXGetProcAddressARB \
++ ::gfx::g_current_glx_context->glXGetProcAddressARBFn
+ #define glXGetSelectedEvent ::gfx::g_current_glx_context->glXGetSelectedEventFn
+ #define glXGetSyncValuesOML ::gfx::g_current_glx_context->glXGetSyncValuesOMLFn
+ #define glXGetVisualFromFBConfig \
diff --git a/chromium-new/patches/patch-ui_gl_gl_gyp b/chromium-new/patches/patch-ui_gl_gl_gyp
new file mode 100644
index 0000000..babb45d
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_gl_gyp
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_gl_gl_gyp,v 1.15 2015/10/14 16:42:07 robert Exp $
+--- ui/gl/gl.gyp.orig.port Wed Oct 14 07:57:57 2015
++++ ui/gl/gl.gyp Wed Oct 14 07:58:20 2015
+@@ -127,7 +127,7 @@
+ 'trace_util.h',
+ ],
+ 'conditions': [
+- ['OS in ("win", "android", "linux")', {
++ ['OS in ("win", "android", "linux", "openbsd")', {
+ 'sources': [
+ 'egl_util.cc',
+ 'egl_util.h',
+@@ -148,7 +148,7 @@
+ '<(DEPTH)/third_party/khronos',
+ ],
+ }],
+- ['OS in ("android", "linux")', {
++ ['OS in ("android", "linux", "openbsd")', {
+ 'sources': [
+ 'gl_implementation_osmesa.cc',
+ 'gl_implementation_osmesa.h',
diff --git a/chromium-new/patches/patch-ui_gl_gl_surface_glx_cc b/chromium-new/patches/patch-ui_gl_gl_surface_glx_cc
new file mode 100644
index 0000000..e4c6955
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_gl_surface_glx_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_gl_gl_surface_glx_cc,v 1.4 2016/01/23 18:49:31 robert Exp $
+--- ui/gl/gl_surface_glx.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/gl/gl_surface_glx.cc Fri Jan 22 19:58:59 2016
+@@ -47,7 +47,7 @@ bool g_glx_get_msc_rate_oml_supported = false;
+ bool g_glx_sgi_video_sync_supported = false;
+
+ static const int kGetVSyncParametersMinSeconds =
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // See crbug.com/373489
+ // On Linux, querying the vsync parameters might burn CPU for up to an
+ // entire vsync, so we only query periodically to reduce CPU usage.
diff --git a/chromium-new/patches/patch-ui_gl_sync_control_vsync_provider_cc b/chromium-new/patches/patch-ui_gl_sync_control_vsync_provider_cc
new file mode 100644
index 0000000..36d7030
--- /dev/null
+++ b/chromium-new/patches/patch-ui_gl_sync_control_vsync_provider_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_gl_sync_control_vsync_provider_cc,v 1.2 2015/10/14 16:42:07 robert Exp $
+--- ui/gl/sync_control_vsync_provider.cc.orig.port Wed Oct 14 07:58:41 2015
++++ ui/gl/sync_control_vsync_provider.cc Wed Oct 14 07:58:56 2015
+@@ -10,7 +10,7 @@
+ #include "base/time/time.h"
+ #include "base/trace_event/trace_event.h"
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // These constants define a reasonable range for a calculated refresh interval.
+ // Calculating refreshes out of this range will be considered a fatal error.
+ const int64 kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400;
+@@ -37,7 +37,7 @@ SyncControlVSyncProvider::~SyncControlVSyncProvider()
+ void SyncControlVSyncProvider::GetVSyncParameters(
+ const UpdateVSyncCallback& callback) {
+ TRACE_EVENT0("gpu", "SyncControlVSyncProvider::GetVSyncParameters");
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ base::TimeTicks timebase;
+
+ // The actual clock used for the system time returned by glXGetSyncValuesOML
diff --git a/chromium-new/patches/patch-ui_message_center_message_center_style_h b/chromium-new/patches/patch-ui_message_center_message_center_style_h
new file mode 100644
index 0000000..adfcc36
--- /dev/null
+++ b/chromium-new/patches/patch-ui_message_center_message_center_style_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_message_center_message_center_style_h,v 1.4 2015/12/05 16:13:32 robert Exp $
+--- ui/message_center/message_center_style.h.orig.port Tue Nov 24 21:01:01 2015
++++ ui/message_center/message_center_style.h Wed Dec 2 08:18:33 2015
+@@ -109,7 +109,7 @@ const int kButtonHorizontalPadding = 16; // In DIPs.
+ const int kButtonIconTopPadding = 11; // In DIPs.
+ const int kButtonIconToTitlePadding = 16; // In DIPs.
+
+-#if !defined(OS_LINUX) || defined(USE_AURA)
++#if (!defined(OS_LINUX) && !defined(OS_BSD)) || defined(USE_AURA)
+ const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234);
+ const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
+ #endif
diff --git a/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_cc b/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_cc
new file mode 100644
index 0000000..9bab1b7
--- /dev/null
+++ b/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_cc
@@ -0,0 +1,48 @@
+$OpenBSD: patch-ui_message_center_views_message_center_button_bar_cc,v 1.3 2014/10/13 06:49:19 robert Exp $
+--- ui/message_center/views/message_center_button_bar.cc.orig.port Thu Oct 2 19:39:48 2014
++++ ui/message_center/views/message_center_button_bar.cc Fri Oct 10 16:10:31 2014
+@@ -94,7 +94,7 @@ MessageCenterButtonBar::MessageCenterButtonBar(
+ const base::string16& title)
+ : message_center_view_(message_center_view),
+ message_center_(message_center),
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ close_bubble_button_(NULL),
+ #endif
+ title_arrow_(NULL),
+@@ -169,7 +169,7 @@ MessageCenterButtonBar::MessageCenterButtonBar(
+ IDS_MESSAGE_CENTER_SETTINGS_BUTTON_LABEL);
+ button_container_->AddChildView(settings_button_);
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ close_bubble_button_ = new views::ImageButton(this);
+ close_bubble_button_->SetImage(
+ views::Button::STATE_NORMAL,
+@@ -231,7 +231,7 @@ void MessageCenterButtonBar::ViewVisibilityChanged() {
+ 0,
+ 0);
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // The close-bubble button.
+ column->AddColumn(views::GridLayout::LEADING,
+ views::GridLayout::LEADING,
+@@ -246,7 +246,7 @@ void MessageCenterButtonBar::ViewVisibilityChanged() {
+ layout->AddView(title_arrow_);
+ layout->AddView(notification_label_);
+ layout->AddView(button_container_);
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ layout->AddView(close_bubble_button_);
+ #endif
+ }
+@@ -289,7 +289,7 @@ void MessageCenterButtonBar::ButtonPressed(views::Butt
+ else
+ message_center()->EnterQuietModeWithExpire(base::TimeDelta::FromDays(1));
+ quiet_mode_button_->SetToggled(message_center()->IsQuietMode());
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ } else if (sender == close_bubble_button_) {
+ message_center_view()->tray()->HideMessageCenterBubble();
+ #endif
diff --git a/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_h b/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_h
new file mode 100644
index 0000000..f2a5eb5
--- /dev/null
+++ b/chromium-new/patches/patch-ui_message_center_views_message_center_button_bar_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_message_center_views_message_center_button_bar_h,v 1.3 2015/01/22 11:16:41 robert Exp $
+--- ui/message_center/views/message_center_button_bar.h.orig.port Wed Dec 3 03:13:29 2014
++++ ui/message_center/views/message_center_button_bar.h Sat Dec 6 11:34:27 2014
+@@ -68,7 +68,7 @@ class MessageCenterButtonBar : public views::View,
+ // close-on-deactivation is off. This is a tentative solution. Once pkotwicz
+ // Fixes the problem of focus-follow-mouse, close-on-deactivation will be
+ // back and this field will be removed. See crbug.com/319516.
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ views::ImageButton* close_bubble_button_;
+ #endif
+
diff --git a/chromium-new/patches/patch-ui_message_center_views_message_center_view_cc b/chromium-new/patches/patch-ui_message_center_views_message_center_view_cc
new file mode 100644
index 0000000..13c9d27
--- /dev/null
+++ b/chromium-new/patches/patch-ui_message_center_views_message_center_view_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_message_center_views_message_center_view_cc,v 1.5 2015/07/23 13:44:04 robert Exp $
+--- ui/message_center/views/message_center_view.cc.orig.port Wed Jul 15 22:30:10 2015
++++ ui/message_center/views/message_center_view.cc Wed Jul 22 08:37:30 2015
+@@ -42,7 +42,7 @@ namespace message_center {
+ namespace {
+
+ const SkColor kNoNotificationsTextColor = SkColorSetRGB(0xb4, 0xb4, 0xb4);
+-#if defined(OS_LINUX) && defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && defined(OS_CHROMEOS)
+ const SkColor kTransparentColor = SkColorSetARGB(0, 0, 0, 0);
+ #endif
+
+@@ -80,7 +80,7 @@ NoNotificationMessageView::NoNotificationMessageView()
+ label_->SetEnabledColor(kNoNotificationsTextColor);
+ // Set transparent background to ensure that subpixel rendering
+ // is disabled. See crbug.com/169056
+-#if defined(OS_LINUX) && defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && defined(OS_CHROMEOS)
+ label_->SetBackgroundColor(kTransparentColor);
+ #endif
+ AddChildView(label_);
diff --git a/chromium-new/patches/patch-ui_message_center_views_notification_view_cc b/chromium-new/patches/patch-ui_message_center_views_notification_view_cc
new file mode 100644
index 0000000..e61a55c
--- /dev/null
+++ b/chromium-new/patches/patch-ui_message_center_views_notification_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_message_center_views_notification_view_cc,v 1.5 2016/01/23 18:49:31 robert Exp $
+--- ui/message_center/views/notification_view.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/message_center/views/notification_view.cc Fri Jan 22 19:58:59 2016
+@@ -250,7 +250,7 @@ NotificationView* NotificationView::Create(MessageCent
+ NotificationView* notification_view =
+ new NotificationView(controller, notification);
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Don't create shadows for notification toasts on linux wih aura.
+ if (top_level)
+ return notification_view;
diff --git a/chromium-new/patches/patch-ui_resources_ui_resources_grd b/chromium-new/patches/patch-ui_resources_ui_resources_grd
new file mode 100644
index 0000000..93b6b76
--- /dev/null
+++ b/chromium-new/patches/patch-ui_resources_ui_resources_grd
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_resources_ui_resources_grd,v 1.6 2015/10/14 16:42:07 robert Exp $
+--- ui/resources/ui_resources.grd.orig.port Wed Oct 14 07:59:01 2015
++++ ui/resources/ui_resources.grd Wed Oct 14 07:59:13 2015
+@@ -15,7 +15,7 @@
+ <!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST
+ BECAUSE YOUR RESOURCES ARE FUNCTIONALLY RELATED OR FALL UNDER THE
+ SAME CONDITIONALS. -->
+- <if expr="is_linux and use_aura">
++ <if expr="(is_linux or is_bsd) and use_aura">
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_ALIAS" file="common/pointers/alias_big.png" />
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_CELL" file="common/pointers/cell_big.png" />
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_COL_RESIZE" file="common/pointers/sb_h_double_arrow_big.png" />
diff --git a/chromium-new/patches/patch-ui_shell_dialogs_select_file_dialog_cc b/chromium-new/patches/patch-ui_shell_dialogs_select_file_dialog_cc
new file mode 100644
index 0000000..b62f65d
--- /dev/null
+++ b/chromium-new/patches/patch-ui_shell_dialogs_select_file_dialog_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_shell_dialogs_select_file_dialog_cc,v 1.4 2015/01/22 11:16:41 robert Exp $
+--- ui/shell_dialogs/select_file_dialog.cc.orig.port Wed Dec 3 03:13:29 2014
++++ ui/shell_dialogs/select_file_dialog.cc Sat Dec 6 11:34:27 2014
+@@ -19,7 +19,7 @@
+ #include "ui/shell_dialogs/select_file_dialog_mac.h"
+ #elif defined(OS_ANDROID)
+ #include "ui/shell_dialogs/select_file_dialog_android.h"
+-#elif defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ #include "ui/shell_dialogs/linux_shell_dialog.h"
+ #endif
+
+@@ -79,7 +79,7 @@ scoped_refptr<SelectFileDialog> SelectFileDialog::Crea
+ return dialog;
+ }
+
+-#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if defined(USE_AURA) && (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ const ui::LinuxShellDialog* shell_dialogs = ui::LinuxShellDialog::instance();
+ if (shell_dialogs)
+ return shell_dialogs->CreateSelectFileDialog(listener, policy);
diff --git a/chromium-new/patches/patch-ui_touch_selection_ui_touch_selection_gyp b/chromium-new/patches/patch-ui_touch_selection_ui_touch_selection_gyp
new file mode 100644
index 0000000..dffbe6d
--- /dev/null
+++ b/chromium-new/patches/patch-ui_touch_selection_ui_touch_selection_gyp
@@ -0,0 +1,11 @@
+$OpenBSD: patch-ui_touch_selection_ui_touch_selection_gyp,v 1.2 2015/12/05 16:13:32 robert Exp $
+--- ui/touch_selection/ui_touch_selection.gyp.orig.port Tue Nov 24 21:01:01 2015
++++ ui/touch_selection/ui_touch_selection.gyp Wed Dec 2 08:18:33 2015
+@@ -17,6 +17,7 @@
+ '../events/events.gyp:events',
+ '../events/events.gyp:gesture_detection',
+ '../gfx/gfx.gyp:gfx_geometry',
++ '../resources/ui_resources.gyp:ui_resources',
+ ],
+ 'defines': [
+ 'UI_TOUCH_SELECTION_IMPLEMENTATION',
diff --git a/chromium-new/patches/patch-ui_views_accessibility_native_view_accessibility_cc b/chromium-new/patches/patch-ui_views_accessibility_native_view_accessibility_cc
new file mode 100644
index 0000000..58e0a6e
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_accessibility_native_view_accessibility_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_accessibility_native_view_accessibility_cc,v 1.1 2015/05/24 15:51:53 robert Exp $
+--- ui/views/accessibility/native_view_accessibility.cc.orig.port Sat May 23 00:28:59 2015
++++ ui/views/accessibility/native_view_accessibility.cc Sat May 23 00:29:13 2015
+@@ -13,7 +13,7 @@
+
+ namespace views {
+
+-#if !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS)) && !defined(OS_BSD)
+ // static
+ NativeViewAccessibility* NativeViewAccessibility::Create(View* view) {
+ return new NativeViewAccessibility(view);
diff --git a/chromium-new/patches/patch-ui_views_bubble_bubble_delegate_cc b/chromium-new/patches/patch-ui_views_bubble_bubble_delegate_cc
new file mode 100644
index 0000000..6b16f1d
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_bubble_bubble_delegate_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_bubble_bubble_delegate_cc,v 1.6 2015/10/14 16:42:07 robert Exp $
+--- ui/views/bubble/bubble_delegate.cc.orig.port Wed Oct 14 07:59:18 2015
++++ ui/views/bubble/bubble_delegate.cc Wed Oct 14 10:56:13 2015
+@@ -106,7 +106,7 @@ Widget* BubbleDelegateView::CreateBubble(BubbleDelegat
+ // the parent frame and let DWM handle compositing. If not, then we don't
+ // want to allow the bubble to extend the frame because it will be clipped.
+ bubble_delegate->set_adjust_if_offscreen(ui::win::IsAeroGlassEnabled());
+-#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_MACOSX)
++#elif ((defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)) || defined(OS_MACOSX)
+ // Linux clips bubble windows that extend outside their parent window bounds.
+ // Mac never adjusts.
+ bubble_delegate->set_adjust_if_offscreen(false);
diff --git a/chromium-new/patches/patch-ui_views_controls_button_label_button_cc b/chromium-new/patches/patch-ui_views_controls_button_label_button_cc
new file mode 100644
index 0000000..131f8a6
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_controls_button_label_button_cc
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ui_views_controls_button_label_button_cc,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- ui/views/controls/button/label_button.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/views/controls/button/label_button.cc Fri Jan 22 19:58:59 2016
+@@ -23,7 +23,7 @@ namespace {
+ // The default spacing between the icon and text.
+ const int kSpacing = 5;
+
+-#if !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if !((defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS))
+ // Default text and shadow colors for STYLE_BUTTON.
+ const SkColor kStyleButtonTextColor = SK_ColorBLACK;
+ const SkColor kStyleButtonShadowColor = SK_ColorWHITE;
+@@ -430,7 +430,7 @@ void LabelButton::ResetColorsFromNativeTheme() {
+ // confusion. These details should either be pushed into ui::NativeThemeWin
+ // or should be obsoleted by rendering buttons with paint calls instead of
+ // with static assets. http://crbug.com/350498
+-#if !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
++#if !((defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS))
+ constant_text_color = true;
+ colors[STATE_NORMAL] = kStyleButtonTextColor;
+ label_->SetBackgroundColor(theme->GetSystemColor(
diff --git a/chromium-new/patches/patch-ui_views_controls_combobox_combobox_cc b/chromium-new/patches/patch-ui_views_controls_combobox_combobox_cc
new file mode 100644
index 0000000..760f806
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_controls_combobox_combobox_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_controls_combobox_combobox_cc,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- ui/views/controls/combobox/combobox.cc.orig.port Tue Nov 24 21:01:01 2015
++++ ui/views/controls/combobox/combobox.cc Wed Dec 2 08:18:33 2015
+@@ -886,7 +886,7 @@ int Combobox::GetDisclosureArrowRightPadding() const {
+ }
+
+ gfx::Size Combobox::ArrowSize() const {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // TODO(estade): hack alert! This should always use GetNativeTheme(). For now
+ // STYLE_ACTION isn't properly themed so we have to override the NativeTheme
+ // behavior. See crbug.com/384071
diff --git a/chromium-new/patches/patch-ui_views_controls_scrollbar_base_scroll_bar_cc b/chromium-new/patches/patch-ui_views_controls_scrollbar_base_scroll_bar_cc
new file mode 100644
index 0000000..e79a41e
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_controls_scrollbar_base_scroll_bar_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_controls_scrollbar_base_scroll_bar_cc,v 1.1 2015/03/18 19:26:29 robert Exp $
+--- ui/views/controls/scrollbar/base_scroll_bar.cc.orig.port Wed Mar 18 19:58:38 2015
++++ ui/views/controls/scrollbar/base_scroll_bar.cc Wed Mar 18 19:58:47 2015
+@@ -24,7 +24,7 @@
+ #include "ui/views/controls/scrollbar/base_scroll_bar_thumb.h"
+ #include "ui/views/widget/widget.h"
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "ui/gfx/screen.h"
+ #endif
+
diff --git a/chromium-new/patches/patch-ui_views_controls_textfield_textfield_cc b/chromium-new/patches/patch-ui_views_controls_textfield_textfield_cc
new file mode 100644
index 0000000..e420246
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_controls_textfield_textfield_cc
@@ -0,0 +1,84 @@
+$OpenBSD: patch-ui_views_controls_textfield_textfield_cc,v 1.13 2016/01/23 18:49:31 robert Exp $
+--- ui/views/controls/textfield/textfield.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/views/controls/textfield/textfield.cc Fri Jan 22 19:58:59 2016
+@@ -43,7 +43,7 @@
+ #include "base/win/win_util.h"
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ #include "base/strings/utf_string_conversions.h"
+ #include "ui/events/linux/text_edit_command_auralinux.h"
+ #include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h"
+@@ -126,7 +126,7 @@ int GetCommandForKeyEvent(const ui::KeyEvent& event, b
+ case ui::VKEY_BACK:
+ if (!control || has_selection)
+ return IDS_DELETE_BACKWARD;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Only erase by line break on Linux and ChromeOS.
+ if (shift)
+ return IDS_DELETE_TO_BEGINNING_OF_LINE;
+@@ -135,7 +135,7 @@ int GetCommandForKeyEvent(const ui::KeyEvent& event, b
+ case ui::VKEY_DELETE:
+ if (!control || has_selection)
+ return (shift && has_selection) ? IDS_APP_CUT : IDS_DELETE_FORWARD;
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Only erase by line break on Linux and ChromeOS.
+ if (shift)
+ return IDS_DELETE_TO_END_OF_LINE;
+@@ -150,7 +150,7 @@ int GetCommandForKeyEvent(const ui::KeyEvent& event, b
+ }
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Convert a custom text edit |command| to the equivalent views command ID.
+ int GetViewsCommand(const ui::TextEditCommandAuraLinux& command, bool rtl) {
+ const bool select = command.extend_selection();
+@@ -632,7 +632,7 @@ bool Textfield::OnMousePressed(const ui::MouseEvent& e
+ OnAfterUserAction();
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ if (event.IsOnlyMiddleMouseButton()) {
+ if (GetRenderText()->IsPointInSelection(event.location())) {
+ OnBeforeUserAction();
+@@ -701,7 +701,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event
+ if (!textfield)
+ return handled;
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
+ ui::GetTextEditKeyBindingsDelegate();
+ std::vector<ui::TextEditCommandAuraLinux> commands;
+@@ -836,7 +836,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo
+ }
+
+ bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Skip any accelerator handling that conflicts with custom keybindings.
+ ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
+ ui::GetTextEditKeyBindingsDelegate();
+@@ -1095,7 +1095,7 @@ void Textfield::WriteDragDataForView(View* sender,
+ scoped_ptr<gfx::Canvas> canvas(
+ GetCanvasForDragImage(GetWidget(), label.size()));
+ label.SetEnabledColor(GetTextColor());
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ // Desktop Linux Aura does not yet support transparency in drag images.
+ canvas->DrawColor(GetBackgroundColor());
+ #endif
+@@ -1870,7 +1870,7 @@ void Textfield::CreateTouchSelectionControllerAndNotif
+ }
+
+ void Textfield::UpdateSelectionClipboard() const {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
+ if (performing_user_action_ && HasSelection()) {
+ ui::ScopedClipboardWriter(
+ ui::CLIPBOARD_TYPE_SELECTION).WriteText(GetSelectedText());
diff --git a/chromium-new/patches/patch-ui_views_controls_webview_webview_gyp b/chromium-new/patches/patch-ui_views_controls_webview_webview_gyp
new file mode 100644
index 0000000..bb8d9f4
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_controls_webview_webview_gyp
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_controls_webview_webview_gyp,v 1.1 2016/01/23 18:49:31 robert Exp $
+--- ui/views/controls/webview/webview.gyp.orig.port Sat Jan 23 10:27:57 2016
++++ ui/views/controls/webview/webview.gyp Sat Jan 23 10:28:02 2016
+@@ -42,7 +42,7 @@
+ 'webview_export.h',
+ ],
+ 'conditions': [
+- ['OS=="linux" or OS=="android"', {
++ ['OS=="linux" or OS=="android" or os_bsd==1', {
+ 'sources': [ 'unhandled_keyboard_event_handler_default.cc', ],
+ }],
+ ],
diff --git a/chromium-new/patches/patch-ui_views_views_delegate_cc b/chromium-new/patches/patch-ui_views_views_delegate_cc
new file mode 100644
index 0000000..2ae8803
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_views_delegate_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_views_delegate_cc,v 1.6 2016/01/23 18:49:31 robert Exp $
+--- ui/views/views_delegate.cc.orig.port Wed Jan 20 21:01:26 2016
++++ ui/views/views_delegate.cc Fri Jan 22 19:58:59 2016
+@@ -69,7 +69,7 @@ HICON ViewsDelegate::GetDefaultWindowIcon() const {
+ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
+ return false;
+ }
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
+ return nullptr;
+ }
diff --git a/chromium-new/patches/patch-ui_views_views_delegate_h b/chromium-new/patches/patch-ui_views_views_delegate_h
new file mode 100644
index 0000000..0abe41b
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_views_delegate_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_views_delegate_h,v 1.7 2016/01/23 18:49:31 robert Exp $
+--- ui/views/views_delegate.h.orig.port Wed Jan 20 21:01:26 2016
++++ ui/views/views_delegate.h Fri Jan 22 19:58:59 2016
+@@ -139,7 +139,7 @@ class VIEWS_EXPORT ViewsDelegate {
+ // Returns true if the window passed in is in the Windows 8 metro
+ // environment.
+ virtual bool IsWindowInMetro(gfx::NativeWindow window) const;
+-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ virtual gfx::ImageSkia* GetDefaultWindowIcon() const;
+ #endif
+
diff --git a/chromium-new/patches/patch-ui_views_views_gyp b/chromium-new/patches/patch-ui_views_views_gyp
new file mode 100644
index 0000000..4cfef71
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_views_gyp
@@ -0,0 +1,27 @@
+$OpenBSD: patch-ui_views_views_gyp,v 1.14 2016/01/23 18:49:31 robert Exp $
+--- ui/views/views.gyp.orig.port Wed Jan 20 21:01:26 2016
++++ ui/views/views.gyp Fri Jan 22 19:58:59 2016
+@@ -669,12 +669,12 @@
+ '../display/display.gyp:display_util',
+ ],
+ }],
+- ['OS=="linux" and chromeos==0 and use_ozone==0', {
++ ['(OS=="linux" or os_bsd==1) and chromeos==0 and use_ozone==0', {
+ 'dependencies': [
+ '../../build/linux/system.gyp:atk',
+ ],
+ }],
+- ['OS=="linux" and chromeos==0', {
++ ['(OS=="linux" or os_bsd==1) and chromeos==0', {
+ 'dependencies': [
+ '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
+ ],
+@@ -740,7 +740,7 @@
+ ['use_aura and chromeos == 0', {
+ 'sources': [ '<@(views_desktop_aura_sources)' ],
+ 'conditions': [
+- ['OS == "linux"', {
++ ['OS == "linux" or os_bsd==1', {
+ 'sources': [ '<@(views_desktop_aura_linux_sources)' ],
+ }],
+ ['use_x11 == 1', {
diff --git a/chromium-new/patches/patch-ui_views_views_switches_cc b/chromium-new/patches/patch-ui_views_views_switches_cc
new file mode 100644
index 0000000..3ae79e5
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_views_switches_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_views_switches_cc,v 1.2 2015/03/18 19:26:29 robert Exp $
+--- ui/views/views_switches.cc.orig.port Wed Mar 11 07:51:36 2015
++++ ui/views/views_switches.cc Wed Mar 11 07:51:44 2015
+@@ -26,7 +26,7 @@ const char kEnableTransparentVisuals[] = "enable-trans
+ #endif
+
+ bool IsRectBasedTargetingEnabled() {
+-#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ return !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kDisableViewsRectBasedTargeting);
+ #else
diff --git a/chromium-new/patches/patch-ui_views_window_custom_frame_view_cc b/chromium-new/patches/patch-ui_views_window_custom_frame_view_cc
new file mode 100644
index 0000000..fd695b4
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_window_custom_frame_view_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_window_custom_frame_view_cc,v 1.3 2015/12/05 16:13:32 robert Exp $
+--- ui/views/window/custom_frame_view.cc.orig.port Tue Nov 24 21:01:01 2015
++++ ui/views/window/custom_frame_view.cc Wed Dec 2 08:18:33 2015
+@@ -286,7 +286,7 @@ int CustomFrameView::NonClientTopBorderHeight() const
+ int CustomFrameView::CaptionButtonY() const {
+ // Maximized buttons start at window top so that even if their images aren't
+ // drawn flush with the screen edge, they still obey Fitts' Law.
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ return FrameBorderThickness();
+ #else
+ return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/chromium-new/patches/patch-ui_views_window_dialog_delegate_cc b/chromium-new/patches/patch-ui_views_window_dialog_delegate_cc
new file mode 100644
index 0000000..aaa7ba7
--- /dev/null
+++ b/chromium-new/patches/patch-ui_views_window_dialog_delegate_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_views_window_dialog_delegate_cc,v 1.4 2015/01/22 11:16:41 robert Exp $
+--- ui/views/window/dialog_delegate.cc.orig.port Wed Dec 3 03:13:29 2014
++++ ui/views/window/dialog_delegate.cc Sat Dec 6 11:34:27 2014
+@@ -48,7 +48,7 @@ Widget* DialogDelegate::CreateDialogWidgetWithBounds(W
+ params.bounds = bounds;
+ DialogDelegate* dialog = delegate->AsDialogDelegate();
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // The new style doesn't support unparented dialogs on Linux desktop.
+ if (dialog)
+ dialog->supports_new_style_ &= parent != NULL;
diff --git a/chromium-new/patches/patch-ui_webui_resources_js_cr_js b/chromium-new/patches/patch-ui_webui_resources_js_cr_js
new file mode 100644
index 0000000..9f3c27b
--- /dev/null
+++ b/chromium-new/patches/patch-ui_webui_resources_js_cr_js
@@ -0,0 +1,15 @@
+$OpenBSD: patch-ui_webui_resources_js_cr_js,v 1.2 2015/09/05 16:06:50 robert Exp $
+--- ui/webui/resources/js/cr.js.orig.port Wed Sep 2 20:17:29 2015
++++ ui/webui/resources/js/cr.js Wed Sep 2 20:17:52 2015
+@@ -427,6 +427,11 @@ var cr = function() {
+ return /CrOS/.test(navigator.userAgent);
+ },
+
++ /** Whether this is on *BSD. */
++ get isBSD() {
++ return /BSD/.test(navigator.userAgent);
++ },
++
+ /** Whether this is on vanilla Linux (not chromeOS). */
+ get isLinux() {
+ return /Linux/.test(navigator.userAgent);
diff --git a/chromium-new/patches/patch-ui_webui_resources_js_util_js b/chromium-new/patches/patch-ui_webui_resources_js_util_js
new file mode 100644
index 0000000..a0b4257
--- /dev/null
+++ b/chromium-new/patches/patch-ui_webui_resources_js_util_js
@@ -0,0 +1,12 @@
+$OpenBSD: patch-ui_webui_resources_js_util_js,v 1.1 2015/08/27 14:16:50 robert Exp $
+--- ui/webui/resources/js/util.js.orig.port Thu Aug 27 16:09:25 2015
++++ ui/webui/resources/js/util.js Thu Aug 27 16:09:31 2015
+@@ -58,7 +58,7 @@ function chromeSend(name, params, callbackName, callba
+ */
+ function getSupportedScaleFactors() {
+ var supportedScaleFactors = [];
+- if (cr.isMac || cr.isChromeOS || cr.isWindows || cr.isLinux) {
++ if (cr.isMac || cr.isChromeOS || cr.isWindows || cr.isLinux || cr.isBSD) {
+ // All desktop platforms support zooming which also updates the
+ // renderer's device scale factors (a.k.a devicePixelRatio), and
+ // these platforms has high DPI assets for 2.0x. Use 1x and 2x in
diff --git a/chromium-new/patches/patch-v8_src_base_platform_platform-openbsd_cc b/chromium-new/patches/patch-v8_src_base_platform_platform-openbsd_cc
new file mode 100644
index 0000000..9a8e2e7
--- /dev/null
+++ b/chromium-new/patches/patch-v8_src_base_platform_platform-openbsd_cc
@@ -0,0 +1,309 @@
+$OpenBSD: patch-v8_src_base_platform_platform-openbsd_cc,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- v8/src/base/platform/platform-openbsd.cc.orig.port Wed Jan 20 21:02:45 2016
++++ v8/src/base/platform/platform-openbsd.cc Fri Jan 22 19:58:59 2016
+@@ -2,26 +2,41 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
+-// Platform-specific code for OpenBSD and NetBSD goes here. For the
+-// POSIX-compatible parts, the implementation is in platform-posix.cc.
++// Platform-specific code for Linux goes here. For the POSIX-compatible
++// parts, the implementation is in platform-posix.cc.
+
+ #include <pthread.h>
+ #include <semaphore.h>
+ #include <signal.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/resource.h>
+-#include <sys/syscall.h>
+ #include <sys/time.h>
+-#include <sys/types.h>
+
++// Ubuntu Dapper requires memory pages to be marked as
++// executable. Otherwise, OS raises an exception when executing code
++// in that page.
+ #include <errno.h>
+ #include <fcntl.h> // open
+ #include <stdarg.h>
+ #include <strings.h> // index
+ #include <sys/mman.h> // mmap & munmap
+ #include <sys/stat.h> // open
++#include <sys/types.h> // mmap & munmap
+ #include <unistd.h> // sysconf
+
++// GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'.
++// Old versions of the C library <signal.h> didn't define the type.
++#if defined(__ANDROID__) && !defined(__BIONIC_HAVE_UCONTEXT_T) && \
++ (defined(__arm__) || defined(__aarch64__)) && \
++ !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
++#include <asm/sigcontext.h> // NOLINT
++#endif
++
++#if defined(LEAK_SANITIZER)
++#include <sanitizer/lsan_interface.h>
++#endif
++
+ #include <cmath>
+
+ #undef MAP_TYPE
+@@ -29,26 +44,87 @@
+ #include "src/base/macros.h"
+ #include "src/base/platform/platform.h"
+
++#if V8_OS_NACL
++#if !defined(MAP_NORESERVE)
++// PNaCL doesn't have this, so we always grab all of the memory, which is bad.
++#define MAP_NORESERVE 0
++#endif
++#else
++#include <sys/syscall.h>
++#endif
+
+ namespace v8 {
+ namespace base {
+
+
++#ifdef __arm__
++
++bool OS::ArmUsingHardFloat() {
++ // GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify
++ // the Floating Point ABI used (PCS stands for Procedure Call Standard).
++ // We use these as well as a couple of other defines to statically determine
++ // what FP ABI used.
++ // GCC versions 4.4 and below don't support hard-fp.
++ // GCC versions 4.5 may support hard-fp without defining __ARM_PCS or
++ // __ARM_PCS_VFP.
++
++#define GCC_VERSION (__GNUC__ * 10000 \
++ + __GNUC_MINOR__ * 100 \
++ + __GNUC_PATCHLEVEL__)
++#if GCC_VERSION >= 40600
++#if defined(__ARM_PCS_VFP)
++ return true;
++#else
++ return false;
++#endif
++
++#elif GCC_VERSION < 40500
++ return false;
++
++#else
++#if defined(__ARM_PCS_VFP)
++ return true;
++#elif defined(__ARM_PCS) || defined(__SOFTFP__) || defined(__SOFTFP) || \
++ !defined(__VFP_FP__)
++ return false;
++#else
++#error "Your version of GCC does not report the FP ABI compiled for." \
++ "Please report it on this issue" \
++ "http://code.google.com/p/v8/issues/detail?id=2140"
++
++#endif
++#endif
++#undef GCC_VERSION
++}
++
++#endif // def __arm__
++
++
+ const char* OS::LocalTimezone(double time, TimezoneCache* cache) {
++#if V8_OS_NACL
++ // Missing support for tm_zone field.
++ return "";
++#else
+ if (std::isnan(time)) return "";
+ time_t tv = static_cast<time_t>(std::floor(time/msPerSecond));
+ struct tm* t = localtime(&tv); // NOLINT(runtime/threadsafe_fn)
+- if (NULL == t) return "";
++ if (!t || !t->tm_zone) return "";
+ return t->tm_zone;
++#endif
+ }
+
+
+ double OS::LocalTimeOffset(TimezoneCache* cache) {
++#if V8_OS_NACL
++ // Missing support for tm_zone field.
++ return 0;
++#else
+ time_t tv = time(NULL);
+ struct tm* t = localtime(&tv); // NOLINT(runtime/threadsafe_fn)
+ // tm_gmtoff includes any daylight savings offset, so subtract it.
+ return static_cast<double>(t->tm_gmtoff * msPerSecond -
+ (t->tm_isdst > 0 ? 3600 * msPerSecond : 0));
++#endif
+ }
+
+
+@@ -58,7 +134,7 @@ void* OS::Allocate(const size_t requested,
+ const size_t msize = RoundUp(requested, AllocateAlignment());
+ int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
+ void* addr = OS::GetRandomMmapAddr();
+- void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0);
++ void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
+ if (mbase == MAP_FAILED) return NULL;
+ *allocated = msize;
+ return mbase;
+@@ -91,19 +167,20 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
+ // the beginning of the filename or the end of the line.
+ do {
+ c = getc(fp);
+- } while ((c != EOF) && (c != '\n') && (c != '/'));
++ } while ((c != EOF) && (c != '\n') && (c != '/') && (c != '['));
+ if (c == EOF) break; // EOF: Was unexpected, just exit.
+
+ // Process the filename if found.
+- if (c == '/') {
+- ungetc(c, fp); // Push the '/' back into the stream to be read below.
++ if ((c == '/') || (c == '[')) {
++ // Push the '/' or '[' back into the stream to be read below.
++ ungetc(c, fp);
+
+ // Read to the end of the line. Exit if the read fails.
+ if (fgets(lib_name, kLibNameLen, fp) == NULL) break;
+
+ // Drop the newline character read by fgets. We do not need to check
+ // for a zero-length string because we know that we at least read the
+- // '/' character.
++ // '/' or '[' character.
+ lib_name[strlen(lib_name) - 1] = '\0';
+ } else {
+ // No library name found, just record the raw address range.
+@@ -135,21 +212,27 @@ void OS::SignalCodeMovingGC() {
+ // it. This injects a GC marker into the stream of events generated
+ // by the kernel and allows us to synchronize V8 code log and the
+ // kernel log.
+- int size = sysconf(_SC_PAGESIZE);
++ long size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int)
+ FILE* f = fopen(OS::GetGCFakeMMapFile(), "w+");
+ if (f == NULL) {
+ OS::PrintError("Failed to open %s\n", OS::GetGCFakeMMapFile());
+ OS::Abort();
+ }
+- void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE,
+- fileno(f), 0);
+- DCHECK(addr != MAP_FAILED);
++ void* addr = mmap(OS::GetRandomMmapAddr(), size,
++#if V8_OS_NACL
++ // The Native Client port of V8 uses an interpreter,
++ // so code pages don't need PROT_EXEC.
++ PROT_READ,
++#else
++ PROT_READ | PROT_EXEC,
++#endif
++ MAP_PRIVATE, fileno(f), 0);
++ DCHECK_NE(MAP_FAILED, addr);
+ OS::Free(addr, size);
+ fclose(f);
+ }
+
+
+-
+ // Constants used for mmap.
+ static const int kMmapFd = -1;
+ static const int kMmapFdOffset = 0;
+@@ -170,7 +253,7 @@ VirtualMemory::VirtualMemory(size_t size, size_t align
+ void* reservation = mmap(OS::GetRandomMmapAddr(),
+ request_size,
+ PROT_NONE,
+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE,
+ kMmapFd,
+ kMmapFdOffset);
+ if (reservation == MAP_FAILED) return;
+@@ -199,6 +282,9 @@ VirtualMemory::VirtualMemory(size_t size, size_t align
+
+ address_ = static_cast<void*>(aligned_base);
+ size_ = aligned_size;
++#if defined(LEAK_SANITIZER)
++ __lsan_register_root_region(address_, size_);
++#endif
+ }
+
+
+@@ -223,16 +309,19 @@ void VirtualMemory::Reset() {
+
+
+ bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) {
++ CHECK(InVM(address, size));
+ return CommitRegion(address, size, is_executable);
+ }
+
+
+ bool VirtualMemory::Uncommit(void* address, size_t size) {
++ CHECK(InVM(address, size));
+ return UncommitRegion(address, size);
+ }
+
+
+ bool VirtualMemory::Guard(void* address) {
++ CHECK(InVM(address, OS::CommitPageSize()));
+ OS::Guard(address, OS::CommitPageSize());
+ return true;
+ }
+@@ -242,26 +331,36 @@ void* VirtualMemory::ReserveRegion(size_t size) {
+ void* result = mmap(OS::GetRandomMmapAddr(),
+ size,
+ PROT_NONE,
+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE,
+ kMmapFd,
+ kMmapFdOffset);
+
+ if (result == MAP_FAILED) return NULL;
+
++#if defined(LEAK_SANITIZER)
++ __lsan_register_root_region(result, size);
++#endif
+ return result;
+ }
+
+
+ bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) {
++#if V8_OS_NACL
++ // The Native Client port of V8 uses an interpreter,
++ // so code pages don't need PROT_EXEC.
++ int prot = PROT_READ | PROT_WRITE;
++#else
+ int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
++#endif
+ if (MAP_FAILED == mmap(base,
+ size,
+ prot,
+- MAP_PRIVATE | MAP_ANON | MAP_FIXED,
++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
+ kMmapFd,
+ kMmapFdOffset)) {
+ return false;
+ }
++
+ return true;
+ }
+
+@@ -270,20 +369,22 @@ bool VirtualMemory::UncommitRegion(void* base, size_t
+ return mmap(base,
+ size,
+ PROT_NONE,
+- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED,
++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED,
+ kMmapFd,
+ kMmapFdOffset) != MAP_FAILED;
+ }
+
+
+ bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
++#if defined(LEAK_SANITIZER)
++ __lsan_unregister_root_region(base, size);
++#endif
+ return munmap(base, size) == 0;
+ }
+
+
+ bool VirtualMemory::HasLazyCommits() {
+- // TODO(alph): implement for the platform.
+- return false;
++ return true;
+ }
+
+ } // namespace base
diff --git a/chromium-new/patches/patch-v8_src_base_platform_platform-posix_cc b/chromium-new/patches/patch-v8_src_base_platform_platform-posix_cc
new file mode 100644
index 0000000..0bf05a4
--- /dev/null
+++ b/chromium-new/patches/patch-v8_src_base_platform_platform-posix_cc
@@ -0,0 +1,12 @@
+$OpenBSD: patch-v8_src_base_platform_platform-posix_cc,v 1.7 2015/07/23 13:44:04 robert Exp $
+--- v8/src/base/platform/platform-posix.cc.orig.port Wed Jul 15 22:32:20 2015
++++ v8/src/base/platform/platform-posix.cc Wed Jul 22 08:37:30 2015
+@@ -333,6 +333,8 @@ int OS::GetCurrentThreadId() {
+ return static_cast<int>(thread_self());
+ #elif V8_OS_SOLARIS
+ return static_cast<int>(pthread_self());
++#elif V8_OS_OPENBSD
++ return reinterpret_cast<uint64_t>(pthread_self());
+ #else
+ return static_cast<int>(reinterpret_cast<intptr_t>(pthread_self()));
+ #endif
diff --git a/chromium-new/patches/patch-v8_src_globals_h b/chromium-new/patches/patch-v8_src_globals_h
new file mode 100644
index 0000000..71235e4
--- /dev/null
+++ b/chromium-new/patches/patch-v8_src_globals_h
@@ -0,0 +1,18 @@
+$OpenBSD: patch-v8_src_globals_h,v 1.9 2015/10/14 16:42:07 robert Exp $
+
+Try to pre-allocate less memory on OpenBSD in the v8 engine.
+
+--- v8/src/globals.h.orig.port Tue Oct 13 21:04:45 2015
++++ v8/src/globals.h Wed Oct 14 07:41:14 2015
+@@ -141,7 +141,11 @@ const bool kRequiresCodeRange = true;
+ // region. Used only for large object space.
+ const size_t kMaximalCodeRangeSize = 256 * MB;
+ #else
++#if defined(__OpenBSD__)
++const size_t kMaximalCodeRangeSize = 256 * MB;
++#else
+ const size_t kMaximalCodeRangeSize = 512 * MB;
++#endif
+ #endif
+ #if V8_OS_WIN
+ const size_t kMinimumCodeRangeSize = 4 * MB;
diff --git a/chromium-new/patches/patch-v8_src_log-utils_h b/chromium-new/patches/patch-v8_src_log-utils_h
new file mode 100644
index 0000000..54436ab
--- /dev/null
+++ b/chromium-new/patches/patch-v8_src_log-utils_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-v8_src_log-utils_h,v 1.3 2016/01/23 18:49:31 robert Exp $
+--- v8/src/log-utils.h.orig.port Wed Jan 20 21:02:45 2016
++++ v8/src/log-utils.h Fri Jan 22 19:58:59 2016
+@@ -13,6 +13,8 @@
+ #include "src/base/platform/mutex.h"
+ #include "src/flags.h"
+
++#include <stdarg.h>
++
+ namespace v8 {
+ namespace internal {
+
Home |
Main Index |
Thread Index |
Old Index