gecko-dev/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

112 строки
4.0 KiB
TOML
Исходник Обычный вид История

[workspace]
# These are the "root" crates, which we build and test as top-level targets.
# Their transitive dependencies and dev-dependencies are included automatically
# and do not need to be listed here. Their external dependencies are vendored
# into `third_party/rust` by `mach vendor rust`.
members = [
"js/src/frontend/smoosh",
"js/src/rust",
"js/src/wasm/cranelift",
"netwerk/test/http3server",
"security/manager/ssl/osclientcerts",
"testing/geckodriver",
"toolkit/crashreporter/rust_minidump_writer_linux",
Bug 1682509 - Add a Windows Error Reporting exception module capable of writing out crash reports r=dmajor This is a minimal implementation of a WER exception module that can intercept crashes of Firefox processes and write out a fully formed crash report, that is a minidump, an .extra file containing the minimum annotations required by Socorro and an event file. The module in and by itself is not functional: an entry needs to be added to the registry and the processes which want to be monitored need to register it at runtime. With this patch applied it will only be built but it won't be packaged with Firefox nor it will be used when doing local development. The module implementation has a few notable properties: * We use an empty C++ shim (mozwer) to build the module DLL. This is because the build system doesn't support building DLLs directly from Rust. * The actual implementation is written in Rust (mozwer-rust) and exposes the callbacks that will be invoked by the WER service. * We use the winapi crate to access Windows native functionality but given it is missing some bits (including upstream!) we declare them in our crate for the time being. * The minidump uses the same options we use in Firefox and should be of similar size. I manually tested different type of crashes including __fastail() ones and they're all reliably captured. * The .extra file contains only the annotations that are strictly required for submitting the crash to crash-stats.mozilla.org. More should be added in the future. The existing annotations are all extracted from within the module code because we have no way to access the ones that were stored in Firefox' crashed processes (nor should we, since we hope to catch crashes that happen even before Firefox sets up crash reporting internally). * The module does not distinguish between main process and content process crashes at the moment. This will need to be implemented when we hook it up with the crash reporting code within Firefox. * We use libc's time() function to get the crash time in order to be consistent with what the regular exception handler does. Differential Revision: https://phabricator.services.mozilla.com/D101708
2021-04-07 10:55:23 +03:00
"toolkit/crashreporter/mozwer-rust",
"toolkit/library/gtest/rust",
"toolkit/library/rust/",
Bug 1636539 - Part 2: Add defaultagent-static Rust crate fetching remote disabled flag. r=bytesized This lays out a Rust crate and statically links it into `windows-default-agent.exe`. It declares a single-method API (which will be invoked in the next commit). Strings cross the C/C++ <-> Rust FFI boundary as null-terminated UTF-8. (This will matter more if and when we use ETag and If-None-Match to get 304 results.) Errors are reported as Windows result codes, with the "customer" bit set to encode certain classes of failure. The bulk of the work is in implementing a [Viaduct](https://github.com/mozilla/application-services/tree/master/components/viaduct) backend built on top of `wininet.dll`. The motivation is that if and when this Remote Settings Rust client grows features (say, Content-Signature: verification), then by using Viaduct there is a smooth path to consume the client inside Firefox itself, because Viaduct already has a backend on top of Necko. That makes this abstraction relatively low friction: it exists, is in-tree already, and has a path to use in Gecko proper. It is expected that the layer above this will handle "gracefully failing", either open or closed; and will mirror Remote Settings configuration to the registry so that testers can use prod/stage/dev easily. For follow-up: - Configure logging to use the Windows event logger. See [Bug 1648617](https://bugzilla.mozilla.org/show_bug.cgi?id=1648617). - Consider propagating errors into the Telemetry we send. Differential Revision: https://phabricator.services.mozilla.com/D78579
2020-07-22 01:17:26 +03:00
"toolkit/mozapps/defaultagent/rust",
]
# Excluded crates may be built as dependencies, but won't be considered members
# of the workspace and their dev-dependencies won't be included.
exclude = [
# Excluded because it's for a toolchain task
"build/liblowercase",
# Exclude third-party code vendored into mozilla-central.
"servo",
"third_party/rust",
# Excluded because these crates have their own Cargo workspaces so they can't
# be included in the top-level one.
Bug 1594182 - Move wgpu stuff under gfx/wgpu r=jgilbert,remote-protocol-reviewers This change moves wgpu mirror into a dedicated folder and also registers it in a few metadata files for proper treating. Differential Revision: https://phabricator.services.mozilla.com/D51921 --HG-- rename : dom/webgpu/wgpu-native/Cargo.toml => gfx/wgpu/wgpu-native/Cargo.toml rename : dom/webgpu/wgpu-remote/cbindgen.toml => gfx/wgpu/wgpu-native/cbindgen.toml rename : dom/webgpu/wgpu-native/src/binding_model.rs => gfx/wgpu/wgpu-native/src/binding_model.rs rename : dom/webgpu/wgpu-native/src/command/allocator.rs => gfx/wgpu/wgpu-native/src/command/allocator.rs rename : dom/webgpu/wgpu-native/src/command/bind.rs => gfx/wgpu/wgpu-native/src/command/bind.rs rename : dom/webgpu/wgpu-native/src/command/compute.rs => gfx/wgpu/wgpu-native/src/command/compute.rs rename : dom/webgpu/wgpu-native/src/command/mod.rs => gfx/wgpu/wgpu-native/src/command/mod.rs rename : dom/webgpu/wgpu-native/src/command/render.rs => gfx/wgpu/wgpu-native/src/command/render.rs rename : dom/webgpu/wgpu-native/src/command/transfer.rs => gfx/wgpu/wgpu-native/src/command/transfer.rs rename : dom/webgpu/wgpu-native/src/conv.rs => gfx/wgpu/wgpu-native/src/conv.rs rename : dom/webgpu/wgpu-native/src/device.rs => gfx/wgpu/wgpu-native/src/device.rs rename : dom/webgpu/wgpu-native/src/hub.rs => gfx/wgpu/wgpu-native/src/hub.rs rename : dom/webgpu/wgpu-native/src/id.rs => gfx/wgpu/wgpu-native/src/id.rs rename : dom/webgpu/wgpu-native/src/instance.rs => gfx/wgpu/wgpu-native/src/instance.rs rename : dom/webgpu/wgpu-native/src/lib.rs => gfx/wgpu/wgpu-native/src/lib.rs rename : dom/webgpu/wgpu-native/src/pipeline.rs => gfx/wgpu/wgpu-native/src/pipeline.rs rename : dom/webgpu/wgpu-native/src/resource.rs => gfx/wgpu/wgpu-native/src/resource.rs rename : dom/webgpu/wgpu-native/src/swap_chain.rs => gfx/wgpu/wgpu-native/src/swap_chain.rs rename : dom/webgpu/wgpu-native/src/track/buffer.rs => gfx/wgpu/wgpu-native/src/track/buffer.rs rename : dom/webgpu/wgpu-native/src/track/mod.rs => gfx/wgpu/wgpu-native/src/track/mod.rs rename : dom/webgpu/wgpu-native/src/track/range.rs => gfx/wgpu/wgpu-native/src/track/range.rs rename : dom/webgpu/wgpu-native/src/track/texture.rs => gfx/wgpu/wgpu-native/src/track/texture.rs rename : dom/webgpu/wgpu-remote/Cargo.toml => gfx/wgpu/wgpu-remote/Cargo.toml rename : dom/webgpu/wgpu-remote/cbindgen.toml => gfx/wgpu/wgpu-remote/cbindgen.toml rename : dom/webgpu/wgpu-remote/src/lib.rs => gfx/wgpu/wgpu-remote/src/lib.rs rename : dom/webgpu/wgpu-remote/src/server.rs => gfx/wgpu/wgpu-remote/src/server.rs extra : moz-landing-system : lando
2019-11-15 03:29:53 +03:00
"gfx/wgpu",
Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel This patch copies the webrender repository contents into gfx/wr. The existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are moved, and the remaining files are added. The revision being used is the same as before. In addition, the mozilla-central top-level Cargo.toml and the gfx/webrender_bindings/Cargo.toml files are updated to reflect the new structure. Differential Revision: https://phabricator.services.mozilla.com/D12059 --HG-- rename : gfx/webrender/src/device/mod.rs => gfx/wr/direct-composition/src/main.rs rename : gfx/webrender/Cargo.toml => gfx/wr/webrender/Cargo.toml rename : gfx/webrender/build.rs => gfx/wr/webrender/build.rs rename : gfx/webrender/doc/CLIPPING_AND_POSITIONING.md => gfx/wr/webrender/doc/CLIPPING_AND_POSITIONING.md rename : gfx/webrender/doc/blob.md => gfx/wr/webrender/doc/blob.md rename : gfx/webrender/doc/text-rendering.md => gfx/wr/webrender/doc/text-rendering.md rename : gfx/webrender/res/Proggy.ttf => gfx/wr/webrender/res/Proggy.ttf rename : gfx/webrender/res/area-lut.tga => gfx/wr/webrender/res/area-lut.tga rename : gfx/webrender/res/base.glsl => gfx/wr/webrender/res/base.glsl rename : gfx/webrender/res/brush.glsl => gfx/wr/webrender/res/brush.glsl rename : gfx/webrender/res/brush_blend.glsl => gfx/wr/webrender/res/brush_blend.glsl rename : gfx/webrender/res/brush_image.glsl => gfx/wr/webrender/res/brush_image.glsl rename : gfx/webrender/res/brush_linear_gradient.glsl => gfx/wr/webrender/res/brush_linear_gradient.glsl rename : gfx/webrender/res/brush_mix_blend.glsl => gfx/wr/webrender/res/brush_mix_blend.glsl rename : gfx/webrender/res/brush_radial_gradient.glsl => gfx/wr/webrender/res/brush_radial_gradient.glsl rename : gfx/webrender/res/brush_solid.glsl => gfx/wr/webrender/res/brush_solid.glsl rename : gfx/webrender/res/brush_yuv_image.glsl => gfx/wr/webrender/res/brush_yuv_image.glsl rename : gfx/webrender/res/clip_shared.glsl => gfx/wr/webrender/res/clip_shared.glsl rename : gfx/webrender/res/cs_blur.glsl => gfx/wr/webrender/res/cs_blur.glsl rename : gfx/webrender/res/cs_border_segment.glsl => gfx/wr/webrender/res/cs_border_segment.glsl rename : gfx/webrender/res/cs_border_solid.glsl => gfx/wr/webrender/res/cs_border_solid.glsl rename : gfx/webrender/res/cs_clip_box_shadow.glsl => gfx/wr/webrender/res/cs_clip_box_shadow.glsl rename : gfx/webrender/res/cs_clip_image.glsl => gfx/wr/webrender/res/cs_clip_image.glsl rename : gfx/webrender/res/cs_clip_rectangle.glsl => gfx/wr/webrender/res/cs_clip_rectangle.glsl rename : gfx/webrender/res/cs_line_decoration.glsl => gfx/wr/webrender/res/cs_line_decoration.glsl rename : gfx/webrender/res/cs_scale.glsl => gfx/wr/webrender/res/cs_scale.glsl rename : gfx/webrender/res/debug_color.glsl => gfx/wr/webrender/res/debug_color.glsl rename : gfx/webrender/res/debug_font.glsl => gfx/wr/webrender/res/debug_font.glsl rename : gfx/webrender/res/ellipse.glsl => gfx/wr/webrender/res/ellipse.glsl rename : gfx/webrender/res/gpu_cache.glsl => gfx/wr/webrender/res/gpu_cache.glsl rename : gfx/webrender/res/gpu_cache_update.glsl => gfx/wr/webrender/res/gpu_cache_update.glsl rename : gfx/webrender/res/pf_vector_cover.glsl => gfx/wr/webrender/res/pf_vector_cover.glsl rename : gfx/webrender/res/pf_vector_stencil.glsl => gfx/wr/webrender/res/pf_vector_stencil.glsl rename : gfx/webrender/res/prim_shared.glsl => gfx/wr/webrender/res/prim_shared.glsl rename : gfx/webrender/res/ps_split_composite.glsl => gfx/wr/webrender/res/ps_split_composite.glsl rename : gfx/webrender/res/ps_text_run.glsl => gfx/wr/webrender/res/ps_text_run.glsl rename : gfx/webrender/res/rect.glsl => gfx/wr/webrender/res/rect.glsl rename : gfx/webrender/res/render_task.glsl => gfx/wr/webrender/res/render_task.glsl rename : gfx/webrender/res/shared.glsl => gfx/wr/webrender/res/shared.glsl rename : gfx/webrender/res/shared_other.glsl => gfx/wr/webrender/res/shared_other.glsl rename : gfx/webrender/res/snap.glsl => gfx/wr/webrender/res/snap.glsl rename : gfx/webrender/res/transform.glsl => gfx/wr/webrender/res/transform.glsl rename : gfx/webrender/src/batch.rs => gfx/wr/webrender/src/batch.rs rename : gfx/webrender/src/border.rs => gfx/wr/webrender/src/border.rs rename : gfx/webrender/src/box_shadow.rs => gfx/wr/webrender/src/box_shadow.rs rename : gfx/webrender/src/capture.rs => gfx/wr/webrender/src/capture.rs rename : gfx/webrender/src/clip.rs => gfx/wr/webrender/src/clip.rs rename : gfx/webrender/src/clip_scroll_tree.rs => gfx/wr/webrender/src/clip_scroll_tree.rs rename : gfx/webrender/src/debug_colors.rs => gfx/wr/webrender/src/debug_colors.rs rename : gfx/webrender/src/debug_font_data.rs => gfx/wr/webrender/src/debug_font_data.rs rename : gfx/webrender/src/debug_render.rs => gfx/wr/webrender/src/debug_render.rs rename : gfx/webrender/src/debug_server.rs => gfx/wr/webrender/src/debug_server.rs rename : gfx/webrender/src/device/gl.rs => gfx/wr/webrender/src/device/gl.rs rename : gfx/webrender/src/device/mod.rs => gfx/wr/webrender/src/device/mod.rs rename : gfx/webrender/src/device/query_gl.rs => gfx/wr/webrender/src/device/query_gl.rs rename : gfx/webrender/src/display_list_flattener.rs => gfx/wr/webrender/src/display_list_flattener.rs rename : gfx/webrender/src/ellipse.rs => gfx/wr/webrender/src/ellipse.rs rename : gfx/webrender/src/frame_builder.rs => gfx/wr/webrender/src/frame_builder.rs rename : gfx/webrender/src/freelist.rs => gfx/wr/webrender/src/freelist.rs rename : gfx/webrender/src/gamma_lut.rs => gfx/wr/webrender/src/gamma_lut.rs rename : gfx/webrender/src/glyph_cache.rs => gfx/wr/webrender/src/glyph_cache.rs rename : gfx/webrender/src/glyph_rasterizer/mod.rs => gfx/wr/webrender/src/glyph_rasterizer/mod.rs rename : gfx/webrender/src/glyph_rasterizer/no_pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/no_pathfinder.rs rename : gfx/webrender/src/glyph_rasterizer/pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/pathfinder.rs rename : gfx/webrender/src/gpu_cache.rs => gfx/wr/webrender/src/gpu_cache.rs rename : gfx/webrender/src/gpu_glyph_renderer.rs => gfx/wr/webrender/src/gpu_glyph_renderer.rs rename : gfx/webrender/src/gpu_types.rs => gfx/wr/webrender/src/gpu_types.rs rename : gfx/webrender/src/hit_test.rs => gfx/wr/webrender/src/hit_test.rs rename : gfx/webrender/src/image.rs => gfx/wr/webrender/src/image.rs rename : gfx/webrender/src/intern.rs => gfx/wr/webrender/src/intern.rs rename : gfx/webrender/src/internal_types.rs => gfx/wr/webrender/src/internal_types.rs rename : gfx/webrender/src/lib.rs => gfx/wr/webrender/src/lib.rs rename : gfx/webrender/src/picture.rs => gfx/wr/webrender/src/picture.rs rename : gfx/webrender/src/platform/macos/font.rs => gfx/wr/webrender/src/platform/macos/font.rs rename : gfx/webrender/src/platform/unix/font.rs => gfx/wr/webrender/src/platform/unix/font.rs rename : gfx/webrender/src/platform/windows/font.rs => gfx/wr/webrender/src/platform/windows/font.rs rename : gfx/webrender/src/prim_store.rs => gfx/wr/webrender/src/prim_store.rs rename : gfx/webrender/src/print_tree.rs => gfx/wr/webrender/src/print_tree.rs rename : gfx/webrender/src/profiler.rs => gfx/wr/webrender/src/profiler.rs rename : gfx/webrender/src/record.rs => gfx/wr/webrender/src/record.rs rename : gfx/webrender/src/render_backend.rs => gfx/wr/webrender/src/render_backend.rs rename : gfx/webrender/src/render_task.rs => gfx/wr/webrender/src/render_task.rs rename : gfx/webrender/src/renderer.rs => gfx/wr/webrender/src/renderer.rs rename : gfx/webrender/src/resource_cache.rs => gfx/wr/webrender/src/resource_cache.rs rename : gfx/webrender/src/scene.rs => gfx/wr/webrender/src/scene.rs rename : gfx/webrender/src/scene_builder.rs => gfx/wr/webrender/src/scene_builder.rs rename : gfx/webrender/src/segment.rs => gfx/wr/webrender/src/segment.rs rename : gfx/webrender/src/shade.rs => gfx/wr/webrender/src/shade.rs rename : gfx/webrender/src/spatial_node.rs => gfx/wr/webrender/src/spatial_node.rs rename : gfx/webrender/src/surface.rs => gfx/wr/webrender/src/surface.rs rename : gfx/webrender/src/texture_allocator.rs => gfx/wr/webrender/src/texture_allocator.rs rename : gfx/webrender/src/texture_cache.rs => gfx/wr/webrender/src/texture_cache.rs rename : gfx/webrender/src/tiling.rs => gfx/wr/webrender/src/tiling.rs rename : gfx/webrender/src/util.rs => gfx/wr/webrender/src/util.rs rename : gfx/webrender/tests/angle_shader_validation.rs => gfx/wr/webrender/tests/angle_shader_validation.rs rename : gfx/webrender/tests/bug_124.html => gfx/wr/webrender/tests/bug_124.html rename : gfx/webrender/tests/bug_134.html => gfx/wr/webrender/tests/bug_134.html rename : gfx/webrender/tests/bug_137.html => gfx/wr/webrender/tests/bug_137.html rename : gfx/webrender/tests/bug_143.html => gfx/wr/webrender/tests/bug_143.html rename : gfx/webrender/tests/bug_159.html => gfx/wr/webrender/tests/bug_159.html rename : gfx/webrender/tests/bug_166.html => gfx/wr/webrender/tests/bug_166.html rename : gfx/webrender/tests/bug_176.html => gfx/wr/webrender/tests/bug_176.html rename : gfx/webrender/tests/bug_177.html => gfx/wr/webrender/tests/bug_177.html rename : gfx/webrender/tests/bug_178.html => gfx/wr/webrender/tests/bug_178.html rename : gfx/webrender/tests/bug_203a.html => gfx/wr/webrender/tests/bug_203a.html rename : gfx/webrender/tests/bug_203b.html => gfx/wr/webrender/tests/bug_203b.html rename : gfx/webrender/tests/bug_servo_10136.html => gfx/wr/webrender/tests/bug_servo_10136.html rename : gfx/webrender/tests/bug_servo_10164.html => gfx/wr/webrender/tests/bug_servo_10164.html rename : gfx/webrender/tests/bug_servo_10307.html => gfx/wr/webrender/tests/bug_servo_10307.html rename : gfx/webrender/tests/bug_servo_11358.html => gfx/wr/webrender/tests/bug_servo_11358.html rename : gfx/webrender/tests/bug_servo_9983a.html => gfx/wr/webrender/tests/bug_servo_9983a.html rename : gfx/webrender/tests/color_pattern_1.png => gfx/wr/webrender/tests/color_pattern_1.png rename : gfx/webrender/tests/color_pattern_2.png => gfx/wr/webrender/tests/color_pattern_2.png rename : gfx/webrender/tests/fixed-position.html => gfx/wr/webrender/tests/fixed-position.html rename : gfx/webrender/tests/mix-blend-mode-2.html => gfx/wr/webrender/tests/mix-blend-mode-2.html rename : gfx/webrender/tests/mix-blend-mode.html => gfx/wr/webrender/tests/mix-blend-mode.html rename : gfx/webrender/tests/nav-1.html => gfx/wr/webrender/tests/nav-1.html rename : gfx/webrender/tests/nav-2.html => gfx/wr/webrender/tests/nav-2.html rename : gfx/webrender_api/Cargo.toml => gfx/wr/webrender_api/Cargo.toml rename : gfx/webrender_api/src/api.rs => gfx/wr/webrender_api/src/api.rs rename : gfx/webrender_api/src/channel.rs => gfx/wr/webrender_api/src/channel.rs rename : gfx/webrender_api/src/channel_ipc.rs => gfx/wr/webrender_api/src/channel_ipc.rs rename : gfx/webrender_api/src/channel_mpsc.rs => gfx/wr/webrender_api/src/channel_mpsc.rs rename : gfx/webrender_api/src/color.rs => gfx/wr/webrender_api/src/color.rs rename : gfx/webrender_api/src/display_item.rs => gfx/wr/webrender_api/src/display_item.rs rename : gfx/webrender_api/src/display_list.rs => gfx/wr/webrender_api/src/display_list.rs rename : gfx/webrender_api/src/font.rs => gfx/wr/webrender_api/src/font.rs rename : gfx/webrender_api/src/gradient_builder.rs => gfx/wr/webrender_api/src/gradient_builder.rs rename : gfx/webrender_api/src/image.rs => gfx/wr/webrender_api/src/image.rs rename : gfx/webrender_api/src/lib.rs => gfx/wr/webrender_api/src/lib.rs rename : gfx/webrender_api/src/units.rs => gfx/wr/webrender_api/src/units.rs rename : gfx/wrench/.gitignore => gfx/wr/wrench/.gitignore rename : gfx/wrench/Cargo.toml => gfx/wr/wrench/Cargo.toml rename : gfx/wrench/README.md => gfx/wr/wrench/README.md rename : gfx/wrench/build.rs => gfx/wr/wrench/build.rs rename : gfx/webrender/res/Proggy.ttf => gfx/wr/wrench/reftests/text/Proggy.ttf rename : gfx/wrench/res/wrench.exe.manifest => gfx/wr/wrench/res/wrench.exe.manifest rename : gfx/wrench/src/angle.rs => gfx/wr/wrench/src/angle.rs rename : gfx/wrench/src/args.yaml => gfx/wr/wrench/src/args.yaml rename : gfx/wrench/src/binary_frame_reader.rs => gfx/wr/wrench/src/binary_frame_reader.rs rename : gfx/wrench/src/blob.rs => gfx/wr/wrench/src/blob.rs rename : gfx/wrench/src/cgfont_to_data.rs => gfx/wr/wrench/src/cgfont_to_data.rs rename : gfx/wrench/src/egl.rs => gfx/wr/wrench/src/egl.rs rename : gfx/wrench/src/json_frame_writer.rs => gfx/wr/wrench/src/json_frame_writer.rs rename : gfx/wrench/src/main.rs => gfx/wr/wrench/src/main.rs rename : gfx/wrench/src/parse_function.rs => gfx/wr/wrench/src/parse_function.rs rename : gfx/wrench/src/perf.rs => gfx/wr/wrench/src/perf.rs rename : gfx/wrench/src/png.rs => gfx/wr/wrench/src/png.rs rename : gfx/wrench/src/premultiply.rs => gfx/wr/wrench/src/premultiply.rs rename : gfx/wrench/src/rawtest.rs => gfx/wr/wrench/src/rawtest.rs rename : gfx/wrench/src/reftest.rs => gfx/wr/wrench/src/reftest.rs rename : gfx/wrench/src/ron_frame_writer.rs => gfx/wr/wrench/src/ron_frame_writer.rs rename : gfx/wrench/src/scene.rs => gfx/wr/wrench/src/scene.rs rename : gfx/wrench/src/wrench.rs => gfx/wr/wrench/src/wrench.rs rename : gfx/wrench/src/yaml_frame_reader.rs => gfx/wr/wrench/src/yaml_frame_reader.rs rename : gfx/wrench/src/yaml_frame_writer.rs => gfx/wr/wrench/src/yaml_frame_writer.rs rename : gfx/wrench/src/yaml_helper.rs => gfx/wr/wrench/src/yaml_helper.rs extra : moz-landing-system : lando
2018-11-23 00:47:48 +03:00
"gfx/wr",
# Excluded because they are used only as dependencies, not top-level targets,
# so we don't need to vendor their dev-dependencies.
Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel This patch copies the webrender repository contents into gfx/wr. The existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are moved, and the remaining files are added. The revision being used is the same as before. In addition, the mozilla-central top-level Cargo.toml and the gfx/webrender_bindings/Cargo.toml files are updated to reflect the new structure. Differential Revision: https://phabricator.services.mozilla.com/D12059 --HG-- rename : gfx/webrender/src/device/mod.rs => gfx/wr/direct-composition/src/main.rs rename : gfx/webrender/Cargo.toml => gfx/wr/webrender/Cargo.toml rename : gfx/webrender/build.rs => gfx/wr/webrender/build.rs rename : gfx/webrender/doc/CLIPPING_AND_POSITIONING.md => gfx/wr/webrender/doc/CLIPPING_AND_POSITIONING.md rename : gfx/webrender/doc/blob.md => gfx/wr/webrender/doc/blob.md rename : gfx/webrender/doc/text-rendering.md => gfx/wr/webrender/doc/text-rendering.md rename : gfx/webrender/res/Proggy.ttf => gfx/wr/webrender/res/Proggy.ttf rename : gfx/webrender/res/area-lut.tga => gfx/wr/webrender/res/area-lut.tga rename : gfx/webrender/res/base.glsl => gfx/wr/webrender/res/base.glsl rename : gfx/webrender/res/brush.glsl => gfx/wr/webrender/res/brush.glsl rename : gfx/webrender/res/brush_blend.glsl => gfx/wr/webrender/res/brush_blend.glsl rename : gfx/webrender/res/brush_image.glsl => gfx/wr/webrender/res/brush_image.glsl rename : gfx/webrender/res/brush_linear_gradient.glsl => gfx/wr/webrender/res/brush_linear_gradient.glsl rename : gfx/webrender/res/brush_mix_blend.glsl => gfx/wr/webrender/res/brush_mix_blend.glsl rename : gfx/webrender/res/brush_radial_gradient.glsl => gfx/wr/webrender/res/brush_radial_gradient.glsl rename : gfx/webrender/res/brush_solid.glsl => gfx/wr/webrender/res/brush_solid.glsl rename : gfx/webrender/res/brush_yuv_image.glsl => gfx/wr/webrender/res/brush_yuv_image.glsl rename : gfx/webrender/res/clip_shared.glsl => gfx/wr/webrender/res/clip_shared.glsl rename : gfx/webrender/res/cs_blur.glsl => gfx/wr/webrender/res/cs_blur.glsl rename : gfx/webrender/res/cs_border_segment.glsl => gfx/wr/webrender/res/cs_border_segment.glsl rename : gfx/webrender/res/cs_border_solid.glsl => gfx/wr/webrender/res/cs_border_solid.glsl rename : gfx/webrender/res/cs_clip_box_shadow.glsl => gfx/wr/webrender/res/cs_clip_box_shadow.glsl rename : gfx/webrender/res/cs_clip_image.glsl => gfx/wr/webrender/res/cs_clip_image.glsl rename : gfx/webrender/res/cs_clip_rectangle.glsl => gfx/wr/webrender/res/cs_clip_rectangle.glsl rename : gfx/webrender/res/cs_line_decoration.glsl => gfx/wr/webrender/res/cs_line_decoration.glsl rename : gfx/webrender/res/cs_scale.glsl => gfx/wr/webrender/res/cs_scale.glsl rename : gfx/webrender/res/debug_color.glsl => gfx/wr/webrender/res/debug_color.glsl rename : gfx/webrender/res/debug_font.glsl => gfx/wr/webrender/res/debug_font.glsl rename : gfx/webrender/res/ellipse.glsl => gfx/wr/webrender/res/ellipse.glsl rename : gfx/webrender/res/gpu_cache.glsl => gfx/wr/webrender/res/gpu_cache.glsl rename : gfx/webrender/res/gpu_cache_update.glsl => gfx/wr/webrender/res/gpu_cache_update.glsl rename : gfx/webrender/res/pf_vector_cover.glsl => gfx/wr/webrender/res/pf_vector_cover.glsl rename : gfx/webrender/res/pf_vector_stencil.glsl => gfx/wr/webrender/res/pf_vector_stencil.glsl rename : gfx/webrender/res/prim_shared.glsl => gfx/wr/webrender/res/prim_shared.glsl rename : gfx/webrender/res/ps_split_composite.glsl => gfx/wr/webrender/res/ps_split_composite.glsl rename : gfx/webrender/res/ps_text_run.glsl => gfx/wr/webrender/res/ps_text_run.glsl rename : gfx/webrender/res/rect.glsl => gfx/wr/webrender/res/rect.glsl rename : gfx/webrender/res/render_task.glsl => gfx/wr/webrender/res/render_task.glsl rename : gfx/webrender/res/shared.glsl => gfx/wr/webrender/res/shared.glsl rename : gfx/webrender/res/shared_other.glsl => gfx/wr/webrender/res/shared_other.glsl rename : gfx/webrender/res/snap.glsl => gfx/wr/webrender/res/snap.glsl rename : gfx/webrender/res/transform.glsl => gfx/wr/webrender/res/transform.glsl rename : gfx/webrender/src/batch.rs => gfx/wr/webrender/src/batch.rs rename : gfx/webrender/src/border.rs => gfx/wr/webrender/src/border.rs rename : gfx/webrender/src/box_shadow.rs => gfx/wr/webrender/src/box_shadow.rs rename : gfx/webrender/src/capture.rs => gfx/wr/webrender/src/capture.rs rename : gfx/webrender/src/clip.rs => gfx/wr/webrender/src/clip.rs rename : gfx/webrender/src/clip_scroll_tree.rs => gfx/wr/webrender/src/clip_scroll_tree.rs rename : gfx/webrender/src/debug_colors.rs => gfx/wr/webrender/src/debug_colors.rs rename : gfx/webrender/src/debug_font_data.rs => gfx/wr/webrender/src/debug_font_data.rs rename : gfx/webrender/src/debug_render.rs => gfx/wr/webrender/src/debug_render.rs rename : gfx/webrender/src/debug_server.rs => gfx/wr/webrender/src/debug_server.rs rename : gfx/webrender/src/device/gl.rs => gfx/wr/webrender/src/device/gl.rs rename : gfx/webrender/src/device/mod.rs => gfx/wr/webrender/src/device/mod.rs rename : gfx/webrender/src/device/query_gl.rs => gfx/wr/webrender/src/device/query_gl.rs rename : gfx/webrender/src/display_list_flattener.rs => gfx/wr/webrender/src/display_list_flattener.rs rename : gfx/webrender/src/ellipse.rs => gfx/wr/webrender/src/ellipse.rs rename : gfx/webrender/src/frame_builder.rs => gfx/wr/webrender/src/frame_builder.rs rename : gfx/webrender/src/freelist.rs => gfx/wr/webrender/src/freelist.rs rename : gfx/webrender/src/gamma_lut.rs => gfx/wr/webrender/src/gamma_lut.rs rename : gfx/webrender/src/glyph_cache.rs => gfx/wr/webrender/src/glyph_cache.rs rename : gfx/webrender/src/glyph_rasterizer/mod.rs => gfx/wr/webrender/src/glyph_rasterizer/mod.rs rename : gfx/webrender/src/glyph_rasterizer/no_pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/no_pathfinder.rs rename : gfx/webrender/src/glyph_rasterizer/pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/pathfinder.rs rename : gfx/webrender/src/gpu_cache.rs => gfx/wr/webrender/src/gpu_cache.rs rename : gfx/webrender/src/gpu_glyph_renderer.rs => gfx/wr/webrender/src/gpu_glyph_renderer.rs rename : gfx/webrender/src/gpu_types.rs => gfx/wr/webrender/src/gpu_types.rs rename : gfx/webrender/src/hit_test.rs => gfx/wr/webrender/src/hit_test.rs rename : gfx/webrender/src/image.rs => gfx/wr/webrender/src/image.rs rename : gfx/webrender/src/intern.rs => gfx/wr/webrender/src/intern.rs rename : gfx/webrender/src/internal_types.rs => gfx/wr/webrender/src/internal_types.rs rename : gfx/webrender/src/lib.rs => gfx/wr/webrender/src/lib.rs rename : gfx/webrender/src/picture.rs => gfx/wr/webrender/src/picture.rs rename : gfx/webrender/src/platform/macos/font.rs => gfx/wr/webrender/src/platform/macos/font.rs rename : gfx/webrender/src/platform/unix/font.rs => gfx/wr/webrender/src/platform/unix/font.rs rename : gfx/webrender/src/platform/windows/font.rs => gfx/wr/webrender/src/platform/windows/font.rs rename : gfx/webrender/src/prim_store.rs => gfx/wr/webrender/src/prim_store.rs rename : gfx/webrender/src/print_tree.rs => gfx/wr/webrender/src/print_tree.rs rename : gfx/webrender/src/profiler.rs => gfx/wr/webrender/src/profiler.rs rename : gfx/webrender/src/record.rs => gfx/wr/webrender/src/record.rs rename : gfx/webrender/src/render_backend.rs => gfx/wr/webrender/src/render_backend.rs rename : gfx/webrender/src/render_task.rs => gfx/wr/webrender/src/render_task.rs rename : gfx/webrender/src/renderer.rs => gfx/wr/webrender/src/renderer.rs rename : gfx/webrender/src/resource_cache.rs => gfx/wr/webrender/src/resource_cache.rs rename : gfx/webrender/src/scene.rs => gfx/wr/webrender/src/scene.rs rename : gfx/webrender/src/scene_builder.rs => gfx/wr/webrender/src/scene_builder.rs rename : gfx/webrender/src/segment.rs => gfx/wr/webrender/src/segment.rs rename : gfx/webrender/src/shade.rs => gfx/wr/webrender/src/shade.rs rename : gfx/webrender/src/spatial_node.rs => gfx/wr/webrender/src/spatial_node.rs rename : gfx/webrender/src/surface.rs => gfx/wr/webrender/src/surface.rs rename : gfx/webrender/src/texture_allocator.rs => gfx/wr/webrender/src/texture_allocator.rs rename : gfx/webrender/src/texture_cache.rs => gfx/wr/webrender/src/texture_cache.rs rename : gfx/webrender/src/tiling.rs => gfx/wr/webrender/src/tiling.rs rename : gfx/webrender/src/util.rs => gfx/wr/webrender/src/util.rs rename : gfx/webrender/tests/angle_shader_validation.rs => gfx/wr/webrender/tests/angle_shader_validation.rs rename : gfx/webrender/tests/bug_124.html => gfx/wr/webrender/tests/bug_124.html rename : gfx/webrender/tests/bug_134.html => gfx/wr/webrender/tests/bug_134.html rename : gfx/webrender/tests/bug_137.html => gfx/wr/webrender/tests/bug_137.html rename : gfx/webrender/tests/bug_143.html => gfx/wr/webrender/tests/bug_143.html rename : gfx/webrender/tests/bug_159.html => gfx/wr/webrender/tests/bug_159.html rename : gfx/webrender/tests/bug_166.html => gfx/wr/webrender/tests/bug_166.html rename : gfx/webrender/tests/bug_176.html => gfx/wr/webrender/tests/bug_176.html rename : gfx/webrender/tests/bug_177.html => gfx/wr/webrender/tests/bug_177.html rename : gfx/webrender/tests/bug_178.html => gfx/wr/webrender/tests/bug_178.html rename : gfx/webrender/tests/bug_203a.html => gfx/wr/webrender/tests/bug_203a.html rename : gfx/webrender/tests/bug_203b.html => gfx/wr/webrender/tests/bug_203b.html rename : gfx/webrender/tests/bug_servo_10136.html => gfx/wr/webrender/tests/bug_servo_10136.html rename : gfx/webrender/tests/bug_servo_10164.html => gfx/wr/webrender/tests/bug_servo_10164.html rename : gfx/webrender/tests/bug_servo_10307.html => gfx/wr/webrender/tests/bug_servo_10307.html rename : gfx/webrender/tests/bug_servo_11358.html => gfx/wr/webrender/tests/bug_servo_11358.html rename : gfx/webrender/tests/bug_servo_9983a.html => gfx/wr/webrender/tests/bug_servo_9983a.html rename : gfx/webrender/tests/color_pattern_1.png => gfx/wr/webrender/tests/color_pattern_1.png rename : gfx/webrender/tests/color_pattern_2.png => gfx/wr/webrender/tests/color_pattern_2.png rename : gfx/webrender/tests/fixed-position.html => gfx/wr/webrender/tests/fixed-position.html rename : gfx/webrender/tests/mix-blend-mode-2.html => gfx/wr/webrender/tests/mix-blend-mode-2.html rename : gfx/webrender/tests/mix-blend-mode.html => gfx/wr/webrender/tests/mix-blend-mode.html rename : gfx/webrender/tests/nav-1.html => gfx/wr/webrender/tests/nav-1.html rename : gfx/webrender/tests/nav-2.html => gfx/wr/webrender/tests/nav-2.html rename : gfx/webrender_api/Cargo.toml => gfx/wr/webrender_api/Cargo.toml rename : gfx/webrender_api/src/api.rs => gfx/wr/webrender_api/src/api.rs rename : gfx/webrender_api/src/channel.rs => gfx/wr/webrender_api/src/channel.rs rename : gfx/webrender_api/src/channel_ipc.rs => gfx/wr/webrender_api/src/channel_ipc.rs rename : gfx/webrender_api/src/channel_mpsc.rs => gfx/wr/webrender_api/src/channel_mpsc.rs rename : gfx/webrender_api/src/color.rs => gfx/wr/webrender_api/src/color.rs rename : gfx/webrender_api/src/display_item.rs => gfx/wr/webrender_api/src/display_item.rs rename : gfx/webrender_api/src/display_list.rs => gfx/wr/webrender_api/src/display_list.rs rename : gfx/webrender_api/src/font.rs => gfx/wr/webrender_api/src/font.rs rename : gfx/webrender_api/src/gradient_builder.rs => gfx/wr/webrender_api/src/gradient_builder.rs rename : gfx/webrender_api/src/image.rs => gfx/wr/webrender_api/src/image.rs rename : gfx/webrender_api/src/lib.rs => gfx/wr/webrender_api/src/lib.rs rename : gfx/webrender_api/src/units.rs => gfx/wr/webrender_api/src/units.rs rename : gfx/wrench/.gitignore => gfx/wr/wrench/.gitignore rename : gfx/wrench/Cargo.toml => gfx/wr/wrench/Cargo.toml rename : gfx/wrench/README.md => gfx/wr/wrench/README.md rename : gfx/wrench/build.rs => gfx/wr/wrench/build.rs rename : gfx/webrender/res/Proggy.ttf => gfx/wr/wrench/reftests/text/Proggy.ttf rename : gfx/wrench/res/wrench.exe.manifest => gfx/wr/wrench/res/wrench.exe.manifest rename : gfx/wrench/src/angle.rs => gfx/wr/wrench/src/angle.rs rename : gfx/wrench/src/args.yaml => gfx/wr/wrench/src/args.yaml rename : gfx/wrench/src/binary_frame_reader.rs => gfx/wr/wrench/src/binary_frame_reader.rs rename : gfx/wrench/src/blob.rs => gfx/wr/wrench/src/blob.rs rename : gfx/wrench/src/cgfont_to_data.rs => gfx/wr/wrench/src/cgfont_to_data.rs rename : gfx/wrench/src/egl.rs => gfx/wr/wrench/src/egl.rs rename : gfx/wrench/src/json_frame_writer.rs => gfx/wr/wrench/src/json_frame_writer.rs rename : gfx/wrench/src/main.rs => gfx/wr/wrench/src/main.rs rename : gfx/wrench/src/parse_function.rs => gfx/wr/wrench/src/parse_function.rs rename : gfx/wrench/src/perf.rs => gfx/wr/wrench/src/perf.rs rename : gfx/wrench/src/png.rs => gfx/wr/wrench/src/png.rs rename : gfx/wrench/src/premultiply.rs => gfx/wr/wrench/src/premultiply.rs rename : gfx/wrench/src/rawtest.rs => gfx/wr/wrench/src/rawtest.rs rename : gfx/wrench/src/reftest.rs => gfx/wr/wrench/src/reftest.rs rename : gfx/wrench/src/ron_frame_writer.rs => gfx/wr/wrench/src/ron_frame_writer.rs rename : gfx/wrench/src/scene.rs => gfx/wr/wrench/src/scene.rs rename : gfx/wrench/src/wrench.rs => gfx/wr/wrench/src/wrench.rs rename : gfx/wrench/src/yaml_frame_reader.rs => gfx/wr/wrench/src/yaml_frame_reader.rs rename : gfx/wrench/src/yaml_frame_writer.rs => gfx/wr/wrench/src/yaml_frame_writer.rs rename : gfx/wrench/src/yaml_helper.rs => gfx/wr/wrench/src/yaml_helper.rs extra : moz-landing-system : lando
2018-11-23 00:47:48 +03:00
"gfx/webrender_bindings",
"media/mp4parse-rust/mp4parse",
"media/mp4parse-rust/mp4parse_capi",
"xpcom/rust/gkrust_utils",
"tools/lint/test/files/clippy",
"tools/fuzzing/rust",
]
# Explicitly specify what our profiles use. The opt-level setting here is
# a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
# opt-level setting will be as a result of various other configure flags.
[profile.dev]
opt-level = 1
rpath = false
lto = false
debug-assertions = true
panic = "abort"
[profile.release]
opt-level = 2
rpath = false
debug-assertions = false
panic = "abort"
# Optimize build dependencies, because bindgen and proc macros / style
# compilation take more to run than to build otherwise.
[profile.dev.build-override]
opt-level = 1
[profile.release.build-override]
opt-level = 1
# optimizing glsl more makes a big difference in swgl build times
[profile.dev.package.glsl]
opt-level = 2
[profile.release.package.glsl]
opt-level = 2
[patch.crates-io]
chardetng = { git = "https://github.com/hsivonen/chardetng", rev="39f95e2f7cd6e632a379cdeee62c68e8cedd7810" }
chardetng_c = { git = "https://github.com/hsivonen/chardetng_c", rev="ed8a4c6f900a90d4dbc1d64b856e61490a1c3570" }
libudev-sys = { path = "dom/webauthn/libudev-sys" }
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="0917fe780032a6bbb23d71be545f9c1834128d75" }
rlbox_lucet_sandbox = { git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/", rev="f3cace4fb8b53db0849c62af4fa62bade5a620f7" }
nix = { git = "https://github.com/shravanrn/nix/", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" }
spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu5" }
minidump_writer_linux = { git = "https://github.com/msirringhaus/minidump_writer_linux.git", rev = "47cba046aabef76233942a09f31e6ef7a8a4eda9" }
xmldecl = { git = "https://github.com/hsivonen/xmldecl", rev="a74f7df5bf6cb11194fb74daa0c3cf42f326fd90" }
[patch.crates-io.cranelift-codegen]
git = "https://github.com/bytecodealliance/wasmtime"
rev = "6b77786a6e758e91da9484a1c80b6fa5f88e1b3d"
[patch.crates-io.cranelift-wasm]
git = "https://github.com/bytecodealliance/wasmtime"
rev = "6b77786a6e758e91da9484a1c80b6fa5f88e1b3d"
# Patch autocfg to hide rustc output. Workaround for https://github.com/cuviper/autocfg/issues/30
[patch.crates-io.autocfg]
path = "third_party/rust/autocfg"
[patch.crates-io.autocfg01]
path = "third_party/rust/autocfg-0.1.6"
package = "autocfg"
# Patch mio 0.6 to use winapi 0.3 and miow 0.3, getting rid of winapi 0.2.
# There is not going to be new version of mio 0.6, mio now being >= 0.7.11.
[patch.crates-io.mio]
path = "third_party/rust/mio"
# Patch failure 0.1.8 to disable the backtrace feature by default. See bug 1608157.
[patch.crates-io.failure]
path = "third_party/rust/failure"