diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-01-29 16:35:13 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-01 15:33:35 +0000 |
commit | c8c2d1901aec01e934adf561a9fdf0cc776cdef8 (patch) | |
tree | 9157c3d9815e5870799e070b113813bec53e0535 /chromium/third_party/protobuf | |
parent | abefd5095b41dac94ca451d784ab6e27372e981a (diff) | |
download | qtwebengine-chromium-c8c2d1901aec01e934adf561a9fdf0cc776cdef8.tar.gz |
BASELINE: Update Chromium to 64.0.3282.139
Change-Id: I1cae68fe9c94ff7608b26b8382fc19862cdb293a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/third_party/protobuf')
-rw-r--r-- | chromium/third_party/protobuf/BUILD.gn | 102 | ||||
-rw-r--r-- | chromium/third_party/protobuf/mirclient.cc | 392 | ||||
-rw-r--r-- | chromium/third_party/protobuf/mirclient.map | 5 | ||||
-rw-r--r-- | chromium/third_party/protobuf/proto_library.gni | 8 |
4 files changed, 500 insertions, 7 deletions
diff --git a/chromium/third_party/protobuf/BUILD.gn b/chromium/third_party/protobuf/BUILD.gn index 93bfd5d2925..f05455e6c68 100644 --- a/chromium/third_party/protobuf/BUILD.gn +++ b/chromium/third_party/protobuf/BUILD.gn @@ -1,6 +1,7 @@ # 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. +import("//build/config/sanitizers/sanitizers.gni") config("protobuf_config") { include_dirs = [ "src" ] @@ -151,8 +152,9 @@ if (is_component_build && is_desktop_linux) { sources = [ "mirclient.cc", ] - ldflags = [ "-Wl,--version-script=" + - rebase_path("//third_party/protobuf/mirclient.map") ] + ldflags = + [ "-Wl,--version-script=" + + rebase_path("//third_party/protobuf/mirclient.map", root_build_dir) ] output_extension = "so.9" } } @@ -169,6 +171,12 @@ component("protobuf_lite") { ":protobuf_warnings", ] + # Remove Sanitizers and coverage for a performance boost when fuzzing. This is + # OK because the only fuzzers that use protobuf are libprotobuf-mutator based + # fuzzers, and they don't actually target the protobuf code, they just use it. + configs -= not_fuzzed_remove_configs + configs += [ "//build/config/sanitizers:not_fuzzed" ] + if (is_win) { configs -= [ "//build/config/win:lean_and_mean" ] } @@ -215,6 +223,9 @@ static_library("protobuf_full") { # The traffic_annotation tool is not part of Chrome itself, and needs to # parse human-readable protobufs. "//tools/traffic_annotation/*", + + # Chromecast requires descriptors and reflection. + "//chromecast/*", ] sources = protobuf_lite_sources + [ @@ -248,11 +259,8 @@ static_library("protobuf_full") { "src/google/protobuf/generated_message_reflection.cc", "src/google/protobuf/generated_message_reflection.h", - # gzip_stream.cc pulls in zlib, but it's not actually used by protoc, just - # by test code, so instead of compiling zlib for the host, let's just - # exclude this. - # "src/google/protobuf/io/gzip_stream.cc", - # "src/google/protobuf/io/gzip_stream.h", + "src/google/protobuf/io/gzip_stream.cc", + "src/google/protobuf/io/gzip_stream.h", "src/google/protobuf/io/printer.cc", "src/google/protobuf/io/printer.h", @@ -347,6 +355,7 @@ static_library("protobuf_full") { deps = [ "//build/config:exe_and_shlib_deps", + "//third_party/zlib", ] if (is_android) { @@ -361,6 +370,13 @@ static_library("protobuf_full") { # correctly. ":protobuf_warnings", ] + + # Remove coverage and Sanitizers other than ASan for a performance boost when + # fuzzing. ASan can't be removed here because of a bug preventing unsanitized + # code from using libc++, which protobuf_full uses. + configs -= not_fuzzed_remove_nonasan_configs + configs += [ "//build/config/sanitizers:not_fuzzed" ] + if (is_win) { configs -= [ "//build/config/win:lean_and_mean" ] } @@ -372,6 +388,8 @@ static_library("protobuf_full") { ] cflags = protobuf_lite_cflags + + defines = [ "HAVE_ZLIB" ] } # Only compile the compiler for the host architecture. @@ -602,6 +620,13 @@ if (current_toolchain == host_toolchain) { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] + if (is_win) { + # Work around incremental linking randomly creating corrupt binaries, + # crbug.com/644525. + configs -= [ "//build/config/win:default_incremental_linking" ] + configs += [ "//build/config/win:no_incremental_linking" ] + } + cflags = protobuf_lite_cflags deps = [ @@ -622,6 +647,13 @@ if (current_toolchain == host_toolchain) { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] + + if (is_win) { + # Work around incremental linking randomly creating corrupt binaries, + # crbug.com/644525. + configs -= [ "//build/config/win:default_incremental_linking" ] + configs += [ "//build/config/win:no_incremental_linking" ] + } } } @@ -708,3 +740,59 @@ group("py_proto") { data += get_target_outputs(":copy_google_protobuf") data += get_target_outputs(":copy_google_protobuf_internal") } + +if (is_android) { + import("//build/config/android/rules.gni") + + android_library("protobuf_lite_javalib") { + chromium_code = false + java_files = [ + "java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java", + "java/core/src/main/java/com/google/protobuf/AbstractParser.java", + "java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java", + "java/core/src/main/java/com/google/protobuf/BooleanArrayList.java", + "java/core/src/main/java/com/google/protobuf/ByteBufferWriter.java", + "java/core/src/main/java/com/google/protobuf/ByteOutput.java", + "java/core/src/main/java/com/google/protobuf/ByteString.java", + "java/core/src/main/java/com/google/protobuf/CodedInputStream.java", + "java/core/src/main/java/com/google/protobuf/CodedOutputStream.java", + "java/core/src/main/java/com/google/protobuf/DoubleArrayList.java", + "java/core/src/main/java/com/google/protobuf/ExperimentalApi.java", + "java/core/src/main/java/com/google/protobuf/ExtensionLite.java", + "java/core/src/main/java/com/google/protobuf/ExtensionRegistryFactory.java", + "java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java", + "java/core/src/main/java/com/google/protobuf/FieldSet.java", + "java/core/src/main/java/com/google/protobuf/FloatArrayList.java", + "java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java", + "java/core/src/main/java/com/google/protobuf/IntArrayList.java", + "java/core/src/main/java/com/google/protobuf/Internal.java", + "java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java", + "java/core/src/main/java/com/google/protobuf/LazyField.java", + "java/core/src/main/java/com/google/protobuf/LazyFieldLite.java", + "java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java", + "java/core/src/main/java/com/google/protobuf/LazyStringList.java", + "java/core/src/main/java/com/google/protobuf/LongArrayList.java", + "java/core/src/main/java/com/google/protobuf/MapEntryLite.java", + "java/core/src/main/java/com/google/protobuf/MapFieldLite.java", + "java/core/src/main/java/com/google/protobuf/MessageLite.java", + "java/core/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java", + "java/core/src/main/java/com/google/protobuf/MessageLiteToString.java", + "java/core/src/main/java/com/google/protobuf/MutabilityOracle.java", + "java/core/src/main/java/com/google/protobuf/NioByteString.java", + "java/core/src/main/java/com/google/protobuf/Parser.java", + "java/core/src/main/java/com/google/protobuf/PrimitiveNonBoxingCollection.java", + "java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java", + "java/core/src/main/java/com/google/protobuf/ProtocolStringList.java", + "java/core/src/main/java/com/google/protobuf/RopeByteString.java", + "java/core/src/main/java/com/google/protobuf/SmallSortedMap.java", + "java/core/src/main/java/com/google/protobuf/TextFormatEscaper.java", + "java/core/src/main/java/com/google/protobuf/UninitializedMessageException.java", + "java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java", + "java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java", + "java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java", + "java/core/src/main/java/com/google/protobuf/UnsafeUtil.java", + "java/core/src/main/java/com/google/protobuf/Utf8.java", + "java/core/src/main/java/com/google/protobuf/WireFormat.java", + ] + } +} diff --git a/chromium/third_party/protobuf/mirclient.cc b/chromium/third_party/protobuf/mirclient.cc index 09b45166ead..5ec0b9a80e4 100644 --- a/chromium/third_party/protobuf/mirclient.cc +++ b/chromium/third_party/protobuf/mirclient.cc @@ -2,69 +2,375 @@ extern "C" { MIR_EXPORT void mir_arrow_cursor_name() {} +MIR_EXPORT void mir_blob_data() {} +MIR_EXPORT void mir_blob_from_display_config() {} +MIR_EXPORT void mir_blob_from_display_configuration() {} +MIR_EXPORT void mir_blob_onto_buffer() {} +MIR_EXPORT void mir_blob_release() {} +MIR_EXPORT void mir_blob_size() {} +MIR_EXPORT void mir_blob_to_display_config() {} +MIR_EXPORT void mir_blob_to_display_configuration() {} +MIR_EXPORT void mir_buffer_get_buffer_package() {} +MIR_EXPORT void mir_buffer_get_egl_image_parameters() {} +MIR_EXPORT void mir_buffer_get_error_message() {} +MIR_EXPORT void mir_buffer_get_height() {} +MIR_EXPORT void mir_buffer_get_pixel_format() {} +MIR_EXPORT void mir_buffer_get_width() {} +MIR_EXPORT void mir_buffer_is_valid() {} +MIR_EXPORT void mir_buffer_map() {} +MIR_EXPORT void mir_buffer_release() {} +MIR_EXPORT void mir_buffer_stream_get_current_buffer() {} MIR_EXPORT void mir_buffer_stream_get_egl_native_window() {} +MIR_EXPORT void mir_buffer_stream_get_error_message() {} MIR_EXPORT void mir_buffer_stream_get_graphics_region() {} +MIR_EXPORT void mir_buffer_stream_get_microseconds_till_vblank() {} +MIR_EXPORT void mir_buffer_stream_get_platform_type() {} +MIR_EXPORT void mir_buffer_stream_get_size() {} +MIR_EXPORT void mir_buffer_stream_get_swapinterval() {} +MIR_EXPORT void mir_buffer_stream_is_valid() {} +MIR_EXPORT void mir_buffer_stream_release() {} +MIR_EXPORT void mir_buffer_stream_release_sync() {} +MIR_EXPORT void mir_buffer_stream_set_scale() {} +MIR_EXPORT void mir_buffer_stream_set_scale_sync() {} +MIR_EXPORT void mir_buffer_stream_set_size() {} +MIR_EXPORT void mir_buffer_stream_set_swapinterval() {} +MIR_EXPORT void mir_buffer_stream_swap_buffers() {} MIR_EXPORT void mir_buffer_stream_swap_buffers_sync() {} +MIR_EXPORT void mir_buffer_unmap() {} MIR_EXPORT void mir_busy_cursor_name() {} MIR_EXPORT void mir_caret_cursor_name() {} MIR_EXPORT void mir_closed_hand_cursor_name() {} +MIR_EXPORT void mir_connect() {} +MIR_EXPORT void mir_connection_allocate_buffer() {} +MIR_EXPORT void mir_connection_allocate_buffer_sync() {} +MIR_EXPORT void mir_connection_apply_display_config() {} +MIR_EXPORT void mir_connection_apply_session_display_config() {} +MIR_EXPORT void mir_connection_apply_session_input_config() {} +MIR_EXPORT void mir_connection_cancel_base_display_configuration_preview() {} +MIR_EXPORT void mir_connection_confirm_base_display_configuration() {} +MIR_EXPORT void mir_connection_create_buffer_stream() {} +MIR_EXPORT void mir_connection_create_buffer_stream_sync() {} MIR_EXPORT void mir_connection_create_display_config() {} +MIR_EXPORT void mir_connection_create_display_configuration() {} +MIR_EXPORT void mir_connection_create_input_config() {} +MIR_EXPORT void mir_connection_create_prompt_session_sync() {} +MIR_EXPORT void mir_connection_create_render_surface() {} +MIR_EXPORT void mir_connection_create_render_surface_sync() {} +MIR_EXPORT void mir_connection_create_screencast_sync() {} +MIR_EXPORT void mir_connection_create_spec_for_changes() {} MIR_EXPORT void mir_connection_create_spec_for_dialog() {} +MIR_EXPORT void mir_connection_create_spec_for_input_method() {} MIR_EXPORT void mir_connection_create_spec_for_menu() {} MIR_EXPORT void mir_connection_create_spec_for_modal_dialog() {} MIR_EXPORT void mir_connection_create_spec_for_normal_surface() {} +MIR_EXPORT void mir_connection_create_spec_for_tip() {} MIR_EXPORT void mir_connection_create_spec_for_tooltip() {} +MIR_EXPORT void mir_connection_enumerate_extensions() {} MIR_EXPORT void mir_connection_get_available_surface_formats() {} MIR_EXPORT void mir_connection_get_egl_native_display() {} +MIR_EXPORT void mir_connection_get_egl_pixel_format() {} MIR_EXPORT void mir_connection_get_error_message() {} +MIR_EXPORT void mir_connection_get_graphics_module() {} +MIR_EXPORT void mir_connection_get_platform() {} MIR_EXPORT void mir_connection_is_valid() {} +MIR_EXPORT void mir_connection_platform_operation() {} +MIR_EXPORT void mir_connection_pong() {} +MIR_EXPORT void mir_connection_present_mode_supported() {} +MIR_EXPORT void mir_connection_preview_base_display_configuration() {} MIR_EXPORT void mir_connection_release() {} +MIR_EXPORT void mir_connection_remove_session_display_config() {} +MIR_EXPORT void mir_connection_request_extension() {} +MIR_EXPORT void mir_connection_set_base_display_config() {} +MIR_EXPORT void mir_connection_set_base_input_config() {} MIR_EXPORT void mir_connection_set_display_config_change_callback() {} +MIR_EXPORT void mir_connection_set_error_callback() {} +MIR_EXPORT void mir_connection_set_input_config_change_callback() {} +MIR_EXPORT void mir_connection_set_lifecycle_event_callback() {} +MIR_EXPORT void mir_connection_set_ping_event_callback() {} MIR_EXPORT void mir_connect_sync() {} +MIR_EXPORT void mir_cookie_buffer_size() {} +MIR_EXPORT void mir_cookie_from_buffer() {} +MIR_EXPORT void mir_cookie_release() {} +MIR_EXPORT void mir_cookie_to_buffer() {} +MIR_EXPORT void mir_create_dialog_window_spec() {} +MIR_EXPORT void mir_create_freestyle_window_spec() {} +MIR_EXPORT void mir_create_gloss_window_spec() {} +MIR_EXPORT void mir_create_input_method_window_spec() {} +MIR_EXPORT void mir_create_menu_window_spec() {} +MIR_EXPORT void mir_create_modal_dialog_window_spec() {} +MIR_EXPORT void mir_create_normal_window_spec() {} +MIR_EXPORT void mir_create_satellite_window_spec() {} +MIR_EXPORT void mir_create_screencast_spec() {} +MIR_EXPORT void mir_create_surface_spec() {} +MIR_EXPORT void mir_create_tip_window_spec() {} +MIR_EXPORT void mir_create_utility_window_spec() {} +MIR_EXPORT void mir_create_window() {} +MIR_EXPORT void mir_create_window_spec() {} +MIR_EXPORT void mir_create_window_sync() {} +MIR_EXPORT void mir_crosshair_cursor_name() {} MIR_EXPORT void mir_cursor_configuration_destroy() {} +MIR_EXPORT void mir_cursor_configuration_from_buffer_stream() {} MIR_EXPORT void mir_cursor_configuration_from_name() {} +MIR_EXPORT void mir_cursor_configuration_from_render_surface() {} MIR_EXPORT void mir_default_cursor_name() {} MIR_EXPORT void mir_diagonal_resize_bottom_to_top_cursor_name() {} MIR_EXPORT void mir_diagonal_resize_top_to_bottom_cursor_name() {} MIR_EXPORT void mir_disabled_cursor_name() {} MIR_EXPORT void mir_display_config_destroy() {} +MIR_EXPORT void mir_display_config_get_max_simultaneous_outputs() {} +MIR_EXPORT void mir_display_config_get_mutable_output() {} +MIR_EXPORT void mir_display_config_get_num_outputs() {} +MIR_EXPORT void mir_display_config_get_output() {} +MIR_EXPORT void mir_display_config_release() {} +MIR_EXPORT void mir_display_output_type_name() {} +MIR_EXPORT void mir_error_get_code() {} +MIR_EXPORT void mir_error_get_domain() {} MIR_EXPORT void mir_event_get_close_surface_event() {} +MIR_EXPORT void mir_event_get_input_configuration_event() {} +MIR_EXPORT void mir_event_get_input_device_state_event() {} MIR_EXPORT void mir_event_get_input_event() {} +MIR_EXPORT void mir_event_get_keymap_event() {} +MIR_EXPORT void mir_event_get_orientation_event() {} +MIR_EXPORT void mir_event_get_prompt_session_event() {} MIR_EXPORT void mir_event_get_resize_event() {} MIR_EXPORT void mir_event_get_surface_event() {} +MIR_EXPORT void mir_event_get_surface_output_event() {} +MIR_EXPORT void mir_event_get_surface_placement_event() {} MIR_EXPORT void mir_event_get_type() {} +MIR_EXPORT void mir_event_get_window_event() {} +MIR_EXPORT void mir_event_get_window_output_event() {} +MIR_EXPORT void mir_event_get_window_placement_event() {} MIR_EXPORT void mir_event_ref() {} MIR_EXPORT void mir_event_unref() {} +MIR_EXPORT void mir_get_client_api_version() {} MIR_EXPORT void mir_horizontal_resize_cursor_name() {} MIR_EXPORT void mir_hsplit_resize_cursor_name() {} +MIR_EXPORT void mir_input_config_destroy() {} +MIR_EXPORT void mir_input_config_device_count() {} +MIR_EXPORT void mir_input_config_get_device() {} +MIR_EXPORT void mir_input_config_get_device_by_id() {} +MIR_EXPORT void mir_input_config_get_mutable_device() {} +MIR_EXPORT void mir_input_config_get_mutable_device_by_id() {} +MIR_EXPORT void mir_input_config_release() {} +MIR_EXPORT void mir_input_configuration_event_get_action() {} +MIR_EXPORT void mir_input_configuration_event_get_device_id() {} +MIR_EXPORT void mir_input_configuration_event_get_time() {} +MIR_EXPORT void mir_input_device_get_capabilities() {} +MIR_EXPORT void mir_input_device_get_id() {} +MIR_EXPORT void mir_input_device_get_keyboard_config() {} +MIR_EXPORT void mir_input_device_get_mutable_keyboard_config() {} +MIR_EXPORT void mir_input_device_get_mutable_pointer_config() {} +MIR_EXPORT void mir_input_device_get_mutable_touchpad_config() {} +MIR_EXPORT void mir_input_device_get_mutable_touchscreen_config() {} +MIR_EXPORT void mir_input_device_get_name() {} +MIR_EXPORT void mir_input_device_get_pointer_config() {} +MIR_EXPORT void mir_input_device_get_touchpad_config() {} +MIR_EXPORT void mir_input_device_get_touchscreen_config() {} +MIR_EXPORT void mir_input_device_get_unique_id() {} +MIR_EXPORT void mir_input_device_state_event_device_count() {} +MIR_EXPORT void mir_input_device_state_event_device_id() {} +MIR_EXPORT void mir_input_device_state_event_device_pointer_buttons() {} +MIR_EXPORT void mir_input_device_state_event_device_pressed_keys_count() {} +MIR_EXPORT void mir_input_device_state_event_device_pressed_keys_for_index() {} +MIR_EXPORT void mir_input_device_state_event_modifiers() {} +MIR_EXPORT void mir_input_device_state_event_pointer_axis() {} +MIR_EXPORT void mir_input_device_state_event_pointer_buttons() {} +MIR_EXPORT void mir_input_device_state_event_time() {} +MIR_EXPORT void mir_input_event_get_cookie() {} MIR_EXPORT void mir_input_event_get_device_id() {} +MIR_EXPORT void mir_input_event_get_event() {} MIR_EXPORT void mir_input_event_get_event_time() {} MIR_EXPORT void mir_input_event_get_keyboard_event() {} MIR_EXPORT void mir_input_event_get_pointer_event() {} MIR_EXPORT void mir_input_event_get_touch_event() {} MIR_EXPORT void mir_input_event_get_type() {} +MIR_EXPORT void mir_input_event_has_cookie() {} +MIR_EXPORT void mir_keyboard_config_get_keymap_layout() {} +MIR_EXPORT void mir_keyboard_config_get_keymap_model() {} +MIR_EXPORT void mir_keyboard_config_get_keymap_options() {} +MIR_EXPORT void mir_keyboard_config_get_keymap_variant() {} +MIR_EXPORT void mir_keyboard_config_set_keymap_layout() {} +MIR_EXPORT void mir_keyboard_config_set_keymap_model() {} +MIR_EXPORT void mir_keyboard_config_set_keymap_options() {} +MIR_EXPORT void mir_keyboard_config_set_keymap_variant() {} MIR_EXPORT void mir_keyboard_event_action() {} +MIR_EXPORT void mir_keyboard_event_input_event() {} MIR_EXPORT void mir_keyboard_event_key_code() {} +MIR_EXPORT void mir_keyboard_event_key_text() {} MIR_EXPORT void mir_keyboard_event_modifiers() {} MIR_EXPORT void mir_keyboard_event_scan_code() {} +MIR_EXPORT void mir_keymap_event_get_device_id() {} +MIR_EXPORT void mir_keymap_event_get_keymap_buffer() {} +MIR_EXPORT void mir_omnidirectional_resize_cursor_name() {} +MIR_EXPORT void mir_open_hand_cursor_name() {} +MIR_EXPORT void mir_orientation_event_get_direction() {} +MIR_EXPORT void mir_output_disable() {} +MIR_EXPORT void mir_output_enable() {} +MIR_EXPORT void mir_output_get_connection_state() {} +MIR_EXPORT void mir_output_get_current_mode() {} +MIR_EXPORT void mir_output_get_current_mode_index() {} +MIR_EXPORT void mir_output_get_current_pixel_format() {} +MIR_EXPORT void mir_output_get_edid() {} +MIR_EXPORT void mir_output_get_edid_size() {} +MIR_EXPORT void mir_output_get_form_factor() {} +MIR_EXPORT void mir_output_get_gamma() {} +MIR_EXPORT void mir_output_get_gamma_size() {} +MIR_EXPORT void mir_output_get_id() {} +MIR_EXPORT void mir_output_get_logical_height() {} +MIR_EXPORT void mir_output_get_logical_width() {} +MIR_EXPORT void mir_output_get_mode() {} +MIR_EXPORT void mir_output_get_model() {} +MIR_EXPORT void mir_output_get_num_modes() {} +MIR_EXPORT void mir_output_get_num_pixel_formats() {} +MIR_EXPORT void mir_output_get_orientation() {} +MIR_EXPORT void mir_output_get_physical_height_mm() {} +MIR_EXPORT void mir_output_get_physical_width_mm() {} +MIR_EXPORT void mir_output_get_pixel_format() {} +MIR_EXPORT void mir_output_get_position_x() {} +MIR_EXPORT void mir_output_get_position_y() {} +MIR_EXPORT void mir_output_get_power_mode() {} +MIR_EXPORT void mir_output_get_preferred_mode() {} +MIR_EXPORT void mir_output_get_preferred_mode_index() {} +MIR_EXPORT void mir_output_get_scale_factor() {} +MIR_EXPORT void mir_output_get_subpixel_arrangement() {} +MIR_EXPORT void mir_output_get_type() {} +MIR_EXPORT void mir_output_has_custom_logical_size() {} +MIR_EXPORT void mir_output_is_enabled() {} +MIR_EXPORT void mir_output_is_gamma_supported() {} +MIR_EXPORT void mir_output_mode_get_height() {} +MIR_EXPORT void mir_output_mode_get_refresh_rate() {} +MIR_EXPORT void mir_output_mode_get_width() {} +MIR_EXPORT void mir_output_set_current_mode() {} +MIR_EXPORT void mir_output_set_gamma() {} +MIR_EXPORT void mir_output_set_logical_size() {} +MIR_EXPORT void mir_output_set_orientation() {} +MIR_EXPORT void mir_output_set_pixel_format() {} +MIR_EXPORT void mir_output_set_position() {} +MIR_EXPORT void mir_output_set_power_mode() {} +MIR_EXPORT void mir_output_set_scale_factor() {} +MIR_EXPORT void mir_output_type_name() {} +MIR_EXPORT void mir_persistent_id_as_string() {} +MIR_EXPORT void mir_persistent_id_from_string() {} +MIR_EXPORT void mir_persistent_id_is_valid() {} +MIR_EXPORT void mir_persistent_id_release() {} +MIR_EXPORT void mir_platform_message_create() {} +MIR_EXPORT void mir_platform_message_get_data() {} +MIR_EXPORT void mir_platform_message_get_fds() {} +MIR_EXPORT void mir_platform_message_get_opcode() {} +MIR_EXPORT void mir_platform_message_release() {} +MIR_EXPORT void mir_platform_message_set_data() {} +MIR_EXPORT void mir_platform_message_set_fds() {} +MIR_EXPORT void mir_pointer_config_get_acceleration() {} +MIR_EXPORT void mir_pointer_config_get_acceleration_bias() {} +MIR_EXPORT void mir_pointer_config_get_handedness() {} +MIR_EXPORT void mir_pointer_config_get_horizontal_scroll_scale() {} +MIR_EXPORT void mir_pointer_config_get_vertical_scroll_scale() {} +MIR_EXPORT void mir_pointer_config_set_acceleration() {} +MIR_EXPORT void mir_pointer_config_set_acceleration_bias() {} +MIR_EXPORT void mir_pointer_config_set_handedness() {} +MIR_EXPORT void mir_pointer_config_set_horizontal_scroll_scale() {} +MIR_EXPORT void mir_pointer_config_set_vertical_scroll_scale() {} MIR_EXPORT void mir_pointer_event_action() {} MIR_EXPORT void mir_pointer_event_axis_value() {} +MIR_EXPORT void mir_pointer_event_buttons() {} MIR_EXPORT void mir_pointer_event_button_state() {} +MIR_EXPORT void mir_pointer_event_input_event() {} MIR_EXPORT void mir_pointer_event_modifiers() {} MIR_EXPORT void mir_pointing_hand_cursor_name() {} +MIR_EXPORT void mir_presentation_chain_get_error_message() {} +MIR_EXPORT void mir_presentation_chain_is_valid() {} +MIR_EXPORT void mir_presentation_chain_set_dropping_mode() {} +MIR_EXPORT void mir_presentation_chain_set_mode() {} +MIR_EXPORT void mir_presentation_chain_set_queueing_mode() {} +MIR_EXPORT void mir_presentation_chain_submit_buffer() {} +MIR_EXPORT void mir_prompt_session_error_message() {} +MIR_EXPORT void mir_prompt_session_event_get_state() {} +MIR_EXPORT void mir_prompt_session_is_valid() {} +MIR_EXPORT void mir_prompt_session_new_fds_for_prompt_providers() {} +MIR_EXPORT void mir_prompt_session_new_fds_for_prompt_providers_sync() {} +MIR_EXPORT void mir_prompt_session_release_sync() {} +MIR_EXPORT void mir_render_surface_get_buffer_stream() {} +MIR_EXPORT void mir_render_surface_get_error_message() {} +MIR_EXPORT void mir_render_surface_get_presentation_chain() {} +MIR_EXPORT void mir_render_surface_get_size() {} +MIR_EXPORT void mir_render_surface_is_valid() {} +MIR_EXPORT void mir_render_surface_release() {} +MIR_EXPORT void mir_render_surface_set_size() {} MIR_EXPORT void mir_resize_event_get_height() {} MIR_EXPORT void mir_resize_event_get_width() {} +MIR_EXPORT void mir_screencast_capture_to_buffer() {} +MIR_EXPORT void mir_screencast_capture_to_buffer_sync() {} +MIR_EXPORT void mir_screencast_create_sync() {} +MIR_EXPORT void mir_screencast_get_buffer_stream() {} +MIR_EXPORT void mir_screencast_get_error_message() {} +MIR_EXPORT void mir_screencast_is_valid() {} +MIR_EXPORT void mir_screencast_release_sync() {} +MIR_EXPORT void mir_screencast_spec_release() {} +MIR_EXPORT void mir_screencast_spec_set_capture_region() {} +MIR_EXPORT void mir_screencast_spec_set_height() {} +MIR_EXPORT void mir_screencast_spec_set_mirror_mode() {} +MIR_EXPORT void mir_screencast_spec_set_number_of_buffers() {} +MIR_EXPORT void mir_screencast_spec_set_pixel_format() {} +MIR_EXPORT void mir_screencast_spec_set_width() {} +MIR_EXPORT void mir_surface_apply_spec() {} MIR_EXPORT void mir_surface_configure_cursor() {} +MIR_EXPORT void mir_surface_create() {} MIR_EXPORT void mir_surface_create_sync() {} MIR_EXPORT void mir_surface_event_get_attribute() {} MIR_EXPORT void mir_surface_event_get_attribute_value() {} MIR_EXPORT void mir_surface_get_buffer_stream() {} +MIR_EXPORT void mir_surface_get_dpi() {} +MIR_EXPORT void mir_surface_get_error_message() {} +MIR_EXPORT void mir_surface_get_focus() {} +MIR_EXPORT void mir_surface_get_orientation() {} +MIR_EXPORT void mir_surface_get_parameters() {} +MIR_EXPORT void mir_surface_get_preferred_orientation() {} +MIR_EXPORT void mir_surface_get_state() {} +MIR_EXPORT void mir_surface_get_swapinterval() {} +MIR_EXPORT void mir_surface_get_type() {} +MIR_EXPORT void mir_surface_get_visibility() {} +MIR_EXPORT void mir_surface_is_valid() {} +MIR_EXPORT void mir_surface_output_event_get_dpi() {} +MIR_EXPORT void mir_surface_output_event_get_form_factor() {} +MIR_EXPORT void mir_surface_output_event_get_output_id() {} +MIR_EXPORT void mir_surface_output_event_get_refresh_rate() {} +MIR_EXPORT void mir_surface_output_event_get_scale() {} +MIR_EXPORT void mir_surface_placement_get_relative_position() {} +MIR_EXPORT void mir_surface_raise() {} +MIR_EXPORT void mir_surface_release() {} MIR_EXPORT void mir_surface_release_sync() {} +MIR_EXPORT void mir_surface_request_persistent_id() {} +MIR_EXPORT void mir_surface_request_persistent_id_sync() {} MIR_EXPORT void mir_surface_set_event_handler() {} +MIR_EXPORT void mir_surface_set_preferred_orientation() {} MIR_EXPORT void mir_surface_set_state() {} +MIR_EXPORT void mir_surface_set_swapinterval() {} +MIR_EXPORT void mir_surface_spec_attach_to_foreign_parent() {} MIR_EXPORT void mir_surface_spec_release() {} MIR_EXPORT void mir_surface_spec_set_buffer_usage() {} +MIR_EXPORT void mir_surface_spec_set_event_handler() {} +MIR_EXPORT void mir_surface_spec_set_fullscreen_on_output() {} +MIR_EXPORT void mir_surface_spec_set_height() {} +MIR_EXPORT void mir_surface_spec_set_height_increment() {} +MIR_EXPORT void mir_surface_spec_set_input_shape() {} +MIR_EXPORT void mir_surface_spec_set_max_aspect_ratio() {} +MIR_EXPORT void mir_surface_spec_set_max_height() {} +MIR_EXPORT void mir_surface_spec_set_max_width() {} +MIR_EXPORT void mir_surface_spec_set_min_aspect_ratio() {} +MIR_EXPORT void mir_surface_spec_set_min_height() {} +MIR_EXPORT void mir_surface_spec_set_min_width() {} MIR_EXPORT void mir_surface_spec_set_name() {} +MIR_EXPORT void mir_surface_spec_set_parent() {} +MIR_EXPORT void mir_surface_spec_set_pixel_format() {} +MIR_EXPORT void mir_surface_spec_set_placement() {} +MIR_EXPORT void mir_surface_spec_set_pointer_confinement() {} +MIR_EXPORT void mir_surface_spec_set_preferred_orientation() {} +MIR_EXPORT void mir_surface_spec_set_shell_chrome() {} +MIR_EXPORT void mir_surface_spec_set_state() {} +MIR_EXPORT void mir_surface_spec_set_streams() {} +MIR_EXPORT void mir_surface_spec_set_type() {} +MIR_EXPORT void mir_surface_spec_set_width() {} +MIR_EXPORT void mir_surface_spec_set_width_increment() {} MIR_EXPORT void mir_touch_event_action() {} MIR_EXPORT void mir_touch_event_axis_value() {} MIR_EXPORT void mir_touch_event_id() {} @@ -72,6 +378,92 @@ MIR_EXPORT void mir_touch_event_input_event() {} MIR_EXPORT void mir_touch_event_modifiers() {} MIR_EXPORT void mir_touch_event_point_count() {} MIR_EXPORT void mir_touch_event_tooltype() {} +MIR_EXPORT void mir_touchpad_config_get_button_down_scroll_button() {} +MIR_EXPORT void mir_touchpad_config_get_click_modes() {} +MIR_EXPORT void mir_touchpad_config_get_disable_while_typing() {} +MIR_EXPORT void mir_touchpad_config_get_disable_with_mouse() {} +MIR_EXPORT void mir_touchpad_config_get_middle_mouse_button_emulation() {} +MIR_EXPORT void mir_touchpad_config_get_scroll_modes() {} +MIR_EXPORT void mir_touchpad_config_get_tap_to_click() {} +MIR_EXPORT void mir_touchpad_config_set_button_down_scroll_button() {} +MIR_EXPORT void mir_touchpad_config_set_click_modes() {} +MIR_EXPORT void mir_touchpad_config_set_disable_while_typing() {} +MIR_EXPORT void mir_touchpad_config_set_disable_with_mouse() {} +MIR_EXPORT void mir_touchpad_config_set_middle_mouse_button_emulation() {} +MIR_EXPORT void mir_touchpad_config_set_scroll_modes() {} +MIR_EXPORT void mir_touchpad_config_set_tap_to_click() {} +MIR_EXPORT void mir_touchscreen_config_get_mapping_mode() {} +MIR_EXPORT void mir_touchscreen_config_get_output_id() {} +MIR_EXPORT void mir_touchscreen_config_set_mapping_mode() {} +MIR_EXPORT void mir_touchscreen_config_set_output_id() {} MIR_EXPORT void mir_vertical_resize_cursor_name() {} MIR_EXPORT void mir_vsplit_resize_cursor_name() {} +MIR_EXPORT void mir_wait_for() {} +MIR_EXPORT void mir_wait_for_one() {} +MIR_EXPORT void mir_window_apply_spec() {} +MIR_EXPORT void mir_window_configure_cursor() {} +MIR_EXPORT void mir_window_event_get_attribute() {} +MIR_EXPORT void mir_window_event_get_attribute_value() {} +MIR_EXPORT void mir_window_get_buffer_stream() {} +MIR_EXPORT void mir_window_get_connection() {} +MIR_EXPORT void mir_window_get_dpi() {} +MIR_EXPORT void mir_window_get_error_message() {} +MIR_EXPORT void mir_window_get_focus_state() {} +MIR_EXPORT void mir_window_get_orientation() {} +MIR_EXPORT void mir_window_get_parameters() {} +MIR_EXPORT void mir_window_get_preferred_orientation() {} +MIR_EXPORT void mir_window_get_state() {} +MIR_EXPORT void mir_window_get_type() {} +MIR_EXPORT void mir_window_get_visibility() {} +MIR_EXPORT void mir_window_id_as_string() {} +MIR_EXPORT void mir_window_id_from_string() {} +MIR_EXPORT void mir_window_id_is_valid() {} +MIR_EXPORT void mir_window_id_release() {} +MIR_EXPORT void mir_window_is_valid() {} +MIR_EXPORT void mir_window_output_event_get_dpi() {} +MIR_EXPORT void mir_window_output_event_get_form_factor() {} +MIR_EXPORT void mir_window_output_event_get_output_id() {} +MIR_EXPORT void mir_window_output_event_get_refresh_rate() {} +MIR_EXPORT void mir_window_output_event_get_scale() {} +MIR_EXPORT void mir_window_placement_get_relative_position() {} +MIR_EXPORT void mir_window_raise() {} +MIR_EXPORT void mir_window_release() {} +MIR_EXPORT void mir_window_release_sync() {} +MIR_EXPORT void mir_window_request_persistent_id() {} +MIR_EXPORT void mir_window_request_persistent_id_sync() {} +MIR_EXPORT void mir_window_request_user_move() {} +MIR_EXPORT void mir_window_request_window_id() {} +MIR_EXPORT void mir_window_request_window_id_sync() {} +MIR_EXPORT void mir_window_set_event_handler() {} +MIR_EXPORT void mir_window_set_preferred_orientation() {} +MIR_EXPORT void mir_window_set_state() {} +MIR_EXPORT void mir_window_spec_add_render_surface() {} +MIR_EXPORT void mir_window_spec_attach_to_foreign_parent() {} +MIR_EXPORT void mir_window_spec_release() {} +MIR_EXPORT void mir_window_spec_set_buffer_usage() {} +MIR_EXPORT void mir_window_spec_set_cursor_name() {} +MIR_EXPORT void mir_window_spec_set_cursor_render_surface() {} +MIR_EXPORT void mir_window_spec_set_event_handler() {} +MIR_EXPORT void mir_window_spec_set_fullscreen_on_output() {} +MIR_EXPORT void mir_window_spec_set_height() {} +MIR_EXPORT void mir_window_spec_set_height_increment() {} +MIR_EXPORT void mir_window_spec_set_input_shape() {} +MIR_EXPORT void mir_window_spec_set_max_aspect_ratio() {} +MIR_EXPORT void mir_window_spec_set_max_height() {} +MIR_EXPORT void mir_window_spec_set_max_width() {} +MIR_EXPORT void mir_window_spec_set_min_aspect_ratio() {} +MIR_EXPORT void mir_window_spec_set_min_height() {} +MIR_EXPORT void mir_window_spec_set_min_width() {} +MIR_EXPORT void mir_window_spec_set_name() {} +MIR_EXPORT void mir_window_spec_set_parent() {} +MIR_EXPORT void mir_window_spec_set_pixel_format() {} +MIR_EXPORT void mir_window_spec_set_placement() {} +MIR_EXPORT void mir_window_spec_set_pointer_confinement() {} +MIR_EXPORT void mir_window_spec_set_preferred_orientation() {} +MIR_EXPORT void mir_window_spec_set_shell_chrome() {} +MIR_EXPORT void mir_window_spec_set_state() {} +MIR_EXPORT void mir_window_spec_set_streams() {} +MIR_EXPORT void mir_window_spec_set_type() {} +MIR_EXPORT void mir_window_spec_set_width() {} +MIR_EXPORT void mir_window_spec_set_width_increment() {} } diff --git a/chromium/third_party/protobuf/mirclient.map b/chromium/third_party/protobuf/mirclient.map index 45715a5e667..e9e40316a46 100644 --- a/chromium/third_party/protobuf/mirclient.map +++ b/chromium/third_party/protobuf/mirclient.map @@ -5,20 +5,25 @@ MIR_CLIENT_9 { MIR_CLIENT_0.21 {}; MIR_CLIENT_0.22 {}; +MIR_CLIENT_0.23 {}; MIR_CLIENT_0.24 {}; MIR_CLIENT_0.25 {}; MIR_CLIENT_0.26 {}; MIR_CLIENT_0.26.1 {}; +MIR_CLIENT_0.27 {}; MIR_CLIENT_9.1 {}; MIR_CLIENT_9.2 {}; MIR_CLIENT_9v17 {}; MIR_CLIENT_9v18 {}; MIR_CLIENT_9v19 {}; MIR_CLIENT_DETAIL_0.21 {}; +MIR_CLIENT_DETAIL_0.22 {}; +MIR_CLIENT_DETAIL_0.23 {}; MIR_CLIENT_DETAIL_0.24 {}; MIR_CLIENT_DETAIL_0.25 {}; MIR_CLIENT_DETAIL_0.26 {}; MIR_CLIENT_DETAIL_0.26.1 {}; +MIR_CLIENT_DETAIL_0.27 {}; MIR_CLIENT_DETAIL_9 {}; MIR_CLIENT_DETAIL_9v18 {}; MIR_CLIENT_DETAIL_9v19 {}; diff --git a/chromium/third_party/protobuf/proto_library.gni b/chromium/third_party/protobuf/proto_library.gni index 880a5af48dc..9e0ababcef4 100644 --- a/chromium/third_party/protobuf/proto_library.gni +++ b/chromium/third_party/protobuf/proto_library.gni @@ -93,6 +93,8 @@ # ] # } +import("//build/config/sanitizers/sanitizers.gni") + template("proto_library") { assert(defined(invoker.sources), "Need sources for proto_library") proto_sources = invoker.sources @@ -349,6 +351,12 @@ template("proto_library") { configs += invoker.extra_configs } + # Remove Sanitizer and coverage instrumentation for a performance boost when + # fuzzing, since the only fuzzers that use protobuf are libprotobuf-mutator + # based fuzzers, and they don't actually target protobuf code. + configs -= not_fuzzed_remove_configs + configs += [ "//build/config/sanitizers:not_fuzzed" ] + public_configs = [ "//third_party/protobuf:using_proto" ] if (generate_cc || generate_with_plugin) { |