Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[fuchsia] Bump Fuchsia's API level to 16 #50358

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,14 @@ bool DartComponentController::CreateAndBindNamespace() {
fdio_service_connect_at(dart_outgoing_dir_ptr_.channel().get(), "svc",
dart_public_dir.NewRequest().TakeChannel().release());

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

auto composed_service_dir = std::make_unique<vfs::ComposedServiceDir>();
composed_service_dir->set_fallback(std::move(dart_public_dir));

#pragma clang diagnostic pop

// Clone and check if client is servicing the directory.
dart_outgoing_dir_ptr_->Clone(
fuchsia::io::OpenFlags::DESCRIBE |
Expand Down
5 changes: 5 additions & 0 deletions shell/platform/fuchsia/flutter/component_v2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,14 @@ ComponentV2::ComponentV2(
fdio_service_connect_at(directory_ptr_.channel().get(), "svc",
request.release());

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

auto composed_service_dir = std::make_unique<vfs::ComposedServiceDir>();
composed_service_dir->set_fallback(std::move(flutter_public_dir));

#pragma clang diagnostic pop

// Clone and check if client is servicing the directory.
directory_ptr_->Clone(fuchsia::io::OpenFlags::DESCRIBE |
fuchsia::io::OpenFlags::CLONE_SAME_RIGHTS,
Expand Down
5 changes: 5 additions & 0 deletions shell/platform/fuchsia/runtime/dart/utils/vmservice_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace dart_utils {

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

class VMServiceObject : public vfs::LazyDir {
public:
static constexpr const char* kDirName = "DartVM";
Expand All @@ -21,6 +24,8 @@ class VMServiceObject : public vfs::LazyDir {
std::string name) const override;
};

#pragma clang diagnostic pop

} // namespace dart_utils

#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMSERVICE_OBJECT_H_
2 changes: 1 addition & 1 deletion tools/fuchsia/target_api_level
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15
16